WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #21170, comment 86


Ignore:
Timestamp:
01/27/2014 05:34:29 PM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21170, comment 86

    v1 v2  
    2323> ...it would be nice if subscribers could easily clean up references to the event bus. This is the reason that Backbone added the listenTo and stopListening
    2424
    25 Yes, I see this rather as supporting removing hooks in "bulk" like jQuery's `$(document').off('.my-hooks')`.
     25Yes, I see this rather as supporting removing hooks in "bulk" like jQuery's `$(document).off('.my-hooks')`.