diff options
author | Kris Maglione <maglione.k@gmail.com> | 2014-02-24 19:03:49 -0800 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2014-02-24 19:03:49 -0800 |
commit | 5b38465a1c0437af9e01e7e3fa2790a1cef2268a (patch) | |
tree | e14a13ea8f908e03d9c31ead259442240ab331f8 /common/modules/main.jsm | |
parent | 78a6de9c3adac6906f0a469ddfe5f18bc9091880 (diff) | |
download | pentadactyl-5b38465a1c0437af9e01e7e3fa2790a1cef2268a.tar.gz |
Death to `for each`.
Diffstat (limited to 'common/modules/main.jsm')
-rw-r--r-- | common/modules/main.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/main.jsm b/common/modules/main.jsm index fb02a5fe..6043d5e4 100644 --- a/common/modules/main.jsm +++ b/common/modules/main.jsm @@ -237,7 +237,7 @@ overlay.overlayWindow(Object.keys(config.overlays), }, unload: function unload(window) { - for each (let mod in this.modules.moduleList.reverse()) { + for (let mod of this.modules.moduleList.reverse()) { mod.stale = true; if ("destroy" in mod) |