kupriyanenko / jbone

JavaScript Library for Events and DOM manipulation. Replaces jQuery for Backbone (2.5kb gzipped)
http://jbone.js.org
MIT License
279 stars 35 forks source link

Add selector parameter for .off() method #50

Closed kupriyanenko closed 8 years ago

kupriyanenko commented 9 years ago

Interface: .off( events [, selector ] [, handler ] )

events Type: String One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".

selector Type: String A selector which should match the one originally passed to .on() when attaching event handlers.

handler Type: Function A handler function previously attached for the event(s), or the special value false.

kupriyanenko commented 8 years ago

Resolved with 62c521c04dbe51f0871aed44fa06ed4f70ec56dc