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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user