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

add 'jsdebugger' option

for javascript completion
This commit is contained in:
teramako
2009-11-15 00:49:24 +09:00
parent 52749d6722
commit 8be2de8be7
5 changed files with 30 additions and 0 deletions

View File

@@ -1289,6 +1289,20 @@ const Completion = Module("completion", {
}, {
EVAL_TMP: "__liberator_eval_tmp"
})
}, {
options: function () {
options.add(["jsdebugger", "jsd"],
"Switch on/off jsdebugger",
"boolean", false, {
setter: function(value) {
if (value)
services.get("debugger").on();
else
services.get("debugger").off();
},
getter: function () services.get("debugger").isOn
});
},
});
// vim: set fdm=marker sw=4 ts=4 et: