mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 18:54:13 +01:00
Small fix for Minefield.
This commit is contained in:
@@ -846,6 +846,8 @@ var Completion = Module("completion", {
|
||||
get setFunctionCompleter() JavaScript.setCompleter, // Backward compatibility
|
||||
|
||||
Local: function (dactyl, modules, window) ({
|
||||
urlCompleters: {},
|
||||
|
||||
get options() modules.options,
|
||||
|
||||
// FIXME
|
||||
@@ -923,8 +925,6 @@ var Completion = Module("completion", {
|
||||
}, this);
|
||||
},
|
||||
|
||||
urlCompleters: {},
|
||||
|
||||
addUrlCompleter: function addUrlCompleter(opt) {
|
||||
let completer = Completion.UrlCompleter.apply(null, Array.slice(arguments));
|
||||
completer.args = Array.slice(arguments, completer.length);
|
||||
|
||||
@@ -264,6 +264,9 @@ var Storage = Module("Storage", {
|
||||
return this._privateMode = Boolean(val);
|
||||
}
|
||||
}, {
|
||||
Replacer: {
|
||||
skipXpcom: function skipXpcom(key, val) val instanceof Ci.nsISupports ? null : val
|
||||
}
|
||||
}, {
|
||||
init: function init(dactyl, modules) {
|
||||
init.superapply(this, arguments);
|
||||
|
||||
Reference in New Issue
Block a user