1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 16:47:59 +01:00

Fix failing tests.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-05 03:37:20 -05:00
parent 3b5f2fc07f
commit 01935dbb64
4 changed files with 11 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ var Group = Class("Group", {
get toStringParams() [this.name],
get builtin() dactyl.builtinGroups.indexOf(this) >= 0,
get builtin() contexts.builtinGroups.indexOf(this) >= 0,
subGroups: {}
@@ -58,8 +58,10 @@ var Contexts = Module("contexts", {
this.groupList = [];
this.groupMap = {};
this.subGroupProto = {};
this.builtinGroups = [this.addGroup("builtin", "Builtin items"),
this.addGroup("user", "User-defined items", null, true)];
this.system = this.addGroup("builtin", "Builtin items");
this.user = this.addGroup("user", "User-defined items", null, true);
this.builtinGroups = [this.system, this.user];
},
context: null,