1
0
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:
Kris Maglione
2010-12-24 09:21:14 -05:00
parent 062a2d8ece
commit baecb996c3
12 changed files with 204 additions and 25 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -286,7 +286,6 @@ const Modes = Module("modes", {
},
push: function push(mainMode, extendedMode, params) {
util.dumpStack();
this.set(mainMode, extendedMode, params, { push: this.topOfStack });
},