WordPress.org

Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #23875


Ignore:
Timestamp:
04/16/2013 06:02:17 PM (5 years ago)
Author:
lancewillett
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23875

    • Property Keywords needs-refresh added
    • Property Summary changed from Twenty Thirteen: Replace deprecated jQuery code to Twenty Thirteen: improve jQuery code: remove deprecated functions, namespace events, and more
  • Ticket #23875 – Description

    initial v3  
    1 The syntax `$(document).on("ready", handler)` is deprecated as of jQuery 1.8.
    2 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.
     11. The syntax `$(document).on("ready", handler)` is deprecated as of jQuery 1.8.
     2It 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/
    33
    4 See: http://api.jquery.com/ready/
     42. We should namespace events: http://docs.jquery.com/Namespaced_Events
     5
     63. The scroll event should be throttled for performance.