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:
@@ -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() ({}),
|
||||
|
||||
Reference in New Issue
Block a user