{"issue":{"created_at":"2011-11-23T12:52:05Z","state":"closed","updated_at":"2011-11-23T20:16:58Z","comments":5,"user":{"gravatar_id":"9dbbb26b19283ce2dd0224d08731686c","id":521390,"url":"https://api.github.com/users/martinlissmyr","login":"martinlissmyr","avatar_url":"https://secure.gravatar.com/avatar/9dbbb26b19283ce2dd0224d08731686c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Uses the new $.on event handler (if available) rather than $.live. This should hopefully lead to better performance and less problems related to bubbling (as sometimes seen with $.live). It still uses $.live for jQuery versions < 1.7. For more information on $.on see http://blog.jquery.com/2011/11/03/jquery-1-7-released/.","assignee":null,"id":2329324,"number":224,"pull_request":{"patch_url":"https://github.com/rails/jquery-ujs/pull/224.patch","html_url":"https://github.com/rails/jquery-ujs/pull/224","diff_url":"https://github.com/rails/jquery-ujs/pull/224.diff"},"labels":[],"title":"Using jQuery 1.7 $.on if available","closed_at":"2011-11-23T20:16:58Z","html_url":"https://github.com/rails/jquery-ujs/issues/224","milestone":null,"url":"https://api.github.com/repos/rails/jquery-ujs/issues/224"},"action":"created","comment":{"created_at":"2011-11-23T20:16:58Z","updated_at":"2011-11-23T20:16:58Z","user":{"gravatar_id":"ca46a3d7ca39aae7b2b27526d0ad64f0","id":93607,"url":"https://api.github.com/users/JangoSteve","login":"JangoSteve","avatar_url":"https://secure.gravatar.com/avatar/ca46a3d7ca39aae7b2b27526d0ad64f0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"@wycats, that's a good point. I prefer to user `delegate` anyway because it's more explicit, and more people are likely to know what it does.\r\n\r\nI was planning on dropping support for jquery 1.6 soon, but until there's a pressing 1.6-specific problem, it's no extra effort to maintain 1.6 support.\r\n\r\n@martinlissmyr, let me know if you want to change it to use `delegate`, otherwise, I'll probably do it soon.","id":2854276,"url":"https://api.github.com/repos/rails/jquery-ujs/issues/comments/2854276"}}