summaryrefslogtreecommitdiff
path: root/common/content/dactyl.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/dactyl.js')
-rw-r--r--common/content/dactyl.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/content/dactyl.js b/common/content/dactyl.js
index c93705a7..276fc93b 100644
--- a/common/content/dactyl.js
+++ b/common/content/dactyl.js
@@ -1960,9 +1960,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
args = args[0] || "";
if (args[0] == ":")
- var method = function () commands.execute(args, null, true);
+ var func = function () commands.execute(args, null, false);
else
- method = dactyl.userFunc(args);
+ func = dactyl.userFunc(args);
try {
if (count > 1) {
@@ -1971,7 +1971,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
for (let i in util.interruptibleRange(0, count, 500)) {
let now = Date.now();
- method();
+ func();
total += Date.now() - now;
}
@@ -2006,7 +2006,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
}
else {
let beforeTime = Date.now();
- method();
+ func();
if (special)
return;