Stop Event.js from messing with global Event objects.

Fix #1170.
This commit is contained in:
Michael Elsdörfer 2014-02-15 12:52:30 +01:00
parent 0460e4e248
commit 8735f99aab

View file

@ -27,10 +27,10 @@ if (typeof(eventjs) === "undefined") var eventjs = Event;
(function(root) { "use strict";
// Add custom *EventListener commands to HTMLElements (set false to prevent funkiness).
root.modifyEventListener = true;
root.modifyEventListener = false;
// Add bulk *EventListener commands on NodeLists from querySelectorAll and others (set false to prevent funkiness).
root.modifySelectors = true;
root.modifySelectors = false;
// Event maintenance.
root.add = function(target, type, listener, configure) {