1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 05:55:46 +01:00

Rename Class#setTimeout to appease AMO's validation grep.

This commit is contained in:
Kris Maglione
2010-09-17 06:15:13 -04:00
parent 8c0a734e53
commit b8331a1b55
12 changed files with 33 additions and 34 deletions

View File

@@ -74,8 +74,8 @@ const Events = Module("events", {
};
// load all macros
// setTimeout needed since io. is loaded after events.
setTimeout(function () {
// util.timeout needed since io. is loaded after events.
this.timeout(function () {
try {
let dirs = io.getRuntimeDirectories("macros");
@@ -849,7 +849,7 @@ const Events = Module("events", {
events.feedingKeys = false;
if (modes.isReplaying) {
modes.isReplaying = false;
this.setTimeout(function () { dactyl.echomsg("Canceled playback of macro '" + this._lastMacro + "'"); }, 100);
this.timeout(function () { dactyl.echomsg("Canceled playback of macro '" + this._lastMacro + "'"); }, 100);
}
}
else