dom-delegate
Advanced tools
Comparing version 2.0.2 to 2.0.3
/*jshint browser:true, node:true*/ | ||
/*HACK:MA:20140428 Event currently not a browser global in JSHint - https://github.com/jshint/jshint/pull/1645 */ | ||
/*global Event*/ | ||
'use strict'; | ||
@@ -48,6 +45,2 @@ | ||
if (typeof root === 'string') { | ||
root = document.querySelector(root); | ||
} | ||
// Remove master event listeners | ||
@@ -54,0 +47,0 @@ if (this.rootElement) { |
@@ -12,3 +12,2 @@ { | ||
"required": [ | ||
"addeventlistener", | ||
"matches" | ||
@@ -15,0 +14,0 @@ ] |
{ | ||
"name": "dom-delegate", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"author": "FT Labs <enquiries@labs.ft.com> (http://labs.ft.com/)", | ||
@@ -5,0 +5,0 @@ "description": "Create and manage a DOM event delegator.", |
39194
849