1
0
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:
Kris Maglione
2014-03-16 14:32:04 -07:00
parent 03596bd75d
commit af88d531d0
27 changed files with 113 additions and 119 deletions

View File

@@ -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);
}
})
},