mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-11 14:15:46 +01:00
Make .closure a Proxy and rename .bound
This commit is contained in:
@@ -144,7 +144,7 @@ var Template = Module("Template", {
|
||||
events["dactyl-input"] = events["input"];
|
||||
|
||||
for (let [event, handler] in Iterator(events))
|
||||
node.addEventListener(event, util.wrapCallback(obj.closure(handler), true), false);
|
||||
node.addEventListener(event, util.wrapCallback(handler.bind(obj), true), false);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user