1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 09:27:58 +01:00

Add wildanchor option.

This commit is contained in:
Kris Maglione
2010-09-23 15:15:09 -04:00
parent db2a6ba0a3
commit 2f30daa09e
6 changed files with 37 additions and 13 deletions

View File

@@ -358,6 +358,7 @@ const JavaScript = Module("javascript", {
offset: key.length
};
context.forceAnchored = true;
// TODO: Make this a generic completion helper function.
for (let [, obj] in Iterator(objects))
this.context.fork(obj[1], this._top.offset, this, this._fill,
@@ -605,10 +606,7 @@ const JavaScript = Module("javascript", {
"Switch on/off jsdebugger",
"boolean", false, {
setter: function (value) {
if (value)
services.get("debugger").on();
else
services.get("debugger").off();
services.get("debugger")[value ? "on" : "off"]();
},
getter: function () services.get("debugger").isOn
});