diff options
author | teramako <teramako@gmail.com> | 2009-11-15 00:49:24 +0900 |
---|---|---|
committer | teramako <teramako@gmail.com> | 2009-11-15 00:49:24 +0900 |
commit | 8be2de8be708cede37d36637a8c8608432219036 (patch) | |
tree | b56ffd733e4a99361d172616004e0f0eb9dfc2ce | |
parent | 52749d67225f056c906a3df43ddcdd4e4db1eeaa (diff) | |
download | pentadactyl-8be2de8be708cede37d36637a8c8608432219036.tar.gz |
add 'jsdebugger' option
for javascript completion
-rw-r--r-- | common/content/completion.js | 14 | ||||
-rw-r--r-- | common/locale/en-US/options.xml | 13 | ||||
-rw-r--r-- | muttator/NEWS | 1 | ||||
-rw-r--r-- | vimperator/NEWS | 1 | ||||
-rw-r--r-- | xulmus/NEWS | 1 |
5 files changed, 30 insertions, 0 deletions
diff --git a/common/content/completion.js b/common/content/completion.js index 5dc83621..ae025167 100644 --- a/common/content/completion.js +++ b/common/content/completion.js @@ -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: diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index 05be799f..eefd2fe7 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -1347,5 +1347,18 @@ </description> </item> +<item> + <tags>'jsd' 'jsdebugger'</tags> + <spec>'jsdebugger' 'jsd'</spec> + <type>boolean</type> + <default>off</default> + <description> + <p> + Use javascript debugger service at the completion list. + More list is shown up when it is on. + </p> + </description> +</item> + </document> <!-- vim:se sts=4 sw=4 et: --> diff --git a/muttator/NEWS b/muttator/NEWS index 2a8710c8..657e2ddd 100644 --- a/muttator/NEWS +++ b/muttator/NEWS @@ -7,6 +7,7 @@ * add the *DOMLoad* autocommand event * add 'online' option * add 'smtpserver' option + * add 'jsdebugger' option - switch on/off javascript debugger service 2009-03-29 * version 0.5 diff --git a/vimperator/NEWS b/vimperator/NEWS index ff97164b..1e203473 100644 --- a/vimperator/NEWS +++ b/vimperator/NEWS @@ -5,6 +5,7 @@ * asciidoc is no longer required to build Vimperator * the help system is newly modularized * remove [c]:edit[c], [c]:tabedit[c], and [c]:winedit[c] + * add 'jsdebugger' option - switch on/off javascript debugger service 2009-10-28: * version 2.2 diff --git a/xulmus/NEWS b/xulmus/NEWS index bfa4abfb..2286e2fe 100644 --- a/xulmus/NEWS +++ b/xulmus/NEWS @@ -12,6 +12,7 @@ * add [c]:displaypane[c] and [c]:dpclose[c] * rename [c]:filter[c] to [c]:queue[c] and [c]:Filter[c] to [c]:filter[c] * add 'repeat' and 'shuffle' + * add 'jsdebugger' option - switch on/off javascript debugger service 2009-03-28: * version 0.1 |