1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-27 22:32:28 +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>
<p>
Abbreviate a key sequence for Command Line mode. Same as
<ex>:ab<oa>breviate</oa></ex>, but for
<t>Command Line</t> mode only.
<ex>:ab<oa>breviate</oa></ex>, but for &mode.command-line; mode
only.
</p>
</description>
</item>
@@ -506,8 +506,8 @@
<description>
<p>
Remove abbreviation(s) for Command Line mode. Same as
<ex>:una<oa>bbreviate</oa></ex>, but for
<t>Command Line</t> mode only.
<ex>:una<oa>bbreviate</oa></ex>, but for &mode.command-line; mode
only.
</p>
</description>
</item>

View File

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

View File

@@ -324,7 +324,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
*
* @see #withContext
*/
pushContext: function () {
pushContext: function pushContext() {
this._prefContexts.push({});
},
@@ -333,7 +333,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
*
* @see #withContext
*/
popContext: function () {
popContext: function popContext() {
for (let [k, v] in Iterator(this._prefContexts.pop()))
this.set(k, v);
},
@@ -348,7 +348,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
* @see #pushContext
* @see #popContext
*/
withContext: function (func, self) {
withContext: function withContext(func, self) {
try {
this.pushContext();
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) {
context.anchored = false;
context.title = [config.host + " Preference", "Value"];
@@ -367,7 +367,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
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],
[function (context) (context.anchored=false, this.getNames().map(function (pref) [pref, ""]))]);
}