1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 17:15:46 +01:00

Add :map -arg. Document :com -literal.

This commit is contained in:
Kris Maglione
2011-02-03 02:00:47 -05:00
parent 8b6086fb7f
commit edecec56f9
5 changed files with 14 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
Components.utils.import("resource://dactyl/bootstrap.jsm");
defineModule("downloads", {
exports: ["Download", "Downloads", "downloads"],
use: ["io", "prefs", "services", "template", "util"]
use: ["io", "prefs", "services", "util"]
}, this);
Cu.import("resource://gre/modules/DownloadUtils.jsm", this);

View File

@@ -7,7 +7,7 @@
Components.utils.import("resource://dactyl/bootstrap.jsm");
defineModule("finder", {
exports: ["RangeFind", "RangeFinder", "rangefinder"],
use: ["prefs", "services", "util"]
use: ["services", "util"]
}, this);
/** @instance rangefinder */
@@ -242,6 +242,8 @@ var RangeFinder = Module("rangefinder", {
},
options: function (dactyl, modules, window) {
const { options, rangefinder } = modules;
const { prefs } = require("prefs");
// prefs.safeSet("accessibility.typeaheadfind.autostart", false);
// The above should be sufficient, but: https://bugzilla.mozilla.org/show_bug.cgi?id=348187
prefs.safeSet("accessibility.typeaheadfind", false);