events-mixin
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -8,2 +8,3 @@ | ||
var delegate = require('delegate-events'); | ||
var forceCaptureEvents = ['focus', 'blur']; | ||
@@ -126,2 +127,3 @@ /** | ||
var bindings = this._events[event]; | ||
var capture = (forceCaptureEvents.indexOf(event) !== -1); | ||
if (!bindings) return; | ||
@@ -133,3 +135,3 @@ | ||
events.unbind(this.el, event, cb); | ||
events.unbind(this.el, event, cb, capture); | ||
}; | ||
@@ -136,0 +138,0 @@ |
{ | ||
"name": "events-mixin", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"component": { | ||
@@ -5,0 +5,0 @@ "scripts": { |
9597
168