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

Fix broken help links.

--HG--
extra : rebase_source : 0b00734b80c4e60932bfb07567961ffc02c94e53
This commit is contained in:
Kris Maglione
2011-07-29 05:57:11 -04:00
parent 8fd589b4f9
commit edb3d9d85d
3 changed files with 10 additions and 9 deletions

View File

@@ -471,8 +471,8 @@
<description> <description>
<p> <p>
Abbreviate a key sequence for Command Line mode. Same as Abbreviate a key sequence for Command Line mode. Same as
<ex>:ab<oa>breviate</oa></ex>, but for <ex>:ab<oa>breviate</oa></ex>, but for &mode.command-line; mode
<t>Command Line</t> mode only. only.
</p> </p>
</description> </description>
</item> </item>
@@ -506,8 +506,8 @@
<description> <description>
<p> <p>
Remove abbreviation(s) for Command Line mode. Same as Remove abbreviation(s) for Command Line mode. Same as
<ex>:una<oa>bbreviate</oa></ex>, but for <ex>:una<oa>bbreviate</oa></ex>, but for &mode.command-line; mode
<t>Command Line</t> mode only. only.
</p> </p>
</description> </description>
</item> </item>

View File

@@ -217,6 +217,7 @@ var ConfigBase = Class("ConfigBase", {
"tag.command-line": <link topic="command-line">command line</link>, "tag.command-line": <link topic="command-line">command line</link>,
"tag.status-line": <link topic="status-line">status line</link>, "tag.status-line": <link topic="status-line">status line</link>,
"mode.command-line": <link topic="command-line-mode">Command Line</link>,
}, },
dtdStrings: [ dtdStrings: [

View File

@@ -324,7 +324,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
* *
* @see #withContext * @see #withContext
*/ */
pushContext: function () { pushContext: function pushContext() {
this._prefContexts.push({}); this._prefContexts.push({});
}, },
@@ -333,7 +333,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
* *
* @see #withContext * @see #withContext
*/ */
popContext: function () { popContext: function popContext() {
for (let [k, v] in Iterator(this._prefContexts.pop())) for (let [k, v] in Iterator(this._prefContexts.pop()))
this.set(k, v); this.set(k, v);
}, },
@@ -348,7 +348,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
* @see #pushContext * @see #pushContext
* @see #popContext * @see #popContext
*/ */
withContext: function (func, self) { withContext: function withContext(func, self) {
try { try {
this.pushContext(); this.pushContext();
return func.call(self); return func.call(self);
@@ -359,7 +359,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
} }
}, { }, {
}, { }, {
completion: function (dactyl, modules) { completion: function init_completion(dactyl, modules) {
modules.completion.preference = function preference(context) { modules.completion.preference = function preference(context) {
context.anchored = false; context.anchored = false;
context.title = [config.host + " Preference", "Value"]; context.title = [config.host + " Preference", "Value"];
@@ -367,7 +367,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
context.completions = prefs.getNames(); context.completions = prefs.getNames();
}; };
}, },
javascript: function (dactyl, modules) { javascript: function init_javascript(dactyl, modules) {
modules.JavaScript.setCompleter([this.get, this.safeSet, this.set, this.reset, this.toggle], modules.JavaScript.setCompleter([this.get, this.safeSet, this.set, this.reset, this.toggle],
[function (context) (context.anchored=false, this.getNames().map(function (pref) [pref, ""]))]); [function (context) (context.anchored=false, this.getNames().map(function (pref) [pref, ""]))]);
} }