Twenty Thirteen: improve jQuery code: remove deprecated functions, namespace events, and more — at Version 3
|Reported by:||obenland||Owned by:|
Description (last modified by lancewillett)
- The syntax $(document).on("ready", handler) is deprecated as of jQuery 1.8.
It behaves similarly to the ready method but if the ready event has already fired and you try to .on("ready") the bound handler will not be executed. See: http://api.jquery.com/ready/
- We should namespace events: http://docs.jquery.com/Namespaced_Events
- The scroll event should be throttled for performance.
Change History (4)
Note: See TracTickets for help on using tickets.