1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-07 00:45: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

@@ -43,14 +43,14 @@ var Group = Class("Group", {
delete this[hive];
if (reason != "shutdown")
this.children.splice(0).forEach(this.contexts.closure.removeGroup);
this.children.splice(0).forEach(this.contexts.bound.removeGroup);
},
destroy: function destroy(reason) {
for (let hive in values(this.hives))
util.trapErrors("destroy", hive);
if (reason != "shutdown")
this.children.splice(0).forEach(this.contexts.closure.removeGroup);
this.children.splice(0).forEach(this.contexts.bound.removeGroup);
},
argsExtra: function argsExtra() ({}),