mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 16:44:12 +01:00
More bootstrap work.
--HG-- branch : bootstrapped
This commit is contained in:
@@ -530,9 +530,9 @@ const CompletionContext = Class("CompletionContext", {
|
||||
// of the given string which also matches the current
|
||||
// item's text.
|
||||
let len = substring.length;
|
||||
let i = 0, m, n = len;
|
||||
let i = 0, n = len;
|
||||
while (n) {
|
||||
m = Math.floor(n / 2);
|
||||
let m = Math.floor(n / 2);
|
||||
let keep = compare(fixCase(item.text), substring.substring(0, i + m));
|
||||
if (!keep)
|
||||
len = i + m - 1;
|
||||
|
||||
@@ -391,7 +391,6 @@ const Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
|
||||
|
||||
focus: function focus(elem, flags) {
|
||||
flags = flags || services.focus.FLAG_BYMOUSE;
|
||||
util.dumpStack();
|
||||
try {
|
||||
if (elem instanceof Document)
|
||||
elem = elem.defaultView;
|
||||
|
||||
@@ -286,7 +286,6 @@ const Modes = Module("modes", {
|
||||
},
|
||||
|
||||
push: function push(mainMode, extendedMode, params) {
|
||||
util.dumpStack();
|
||||
this.set(mainMode, extendedMode, params, { push: this.topOfStack });
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user