X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fmodules%2Fprotocol.jsm;fp=common%2Fmodules%2Fprotocol.jsm;h=d5e6d1a379ca20b28b03223064a3c22db9430363;hb=247daf849abc85f4cfb10fa358c62c8daf8db95b;hp=f73e209247102989d14f113b4518ba3d51ce752e;hpb=354a049cce8415487552ce405cce167b7071fe1f;p=dactyl.git diff --git a/common/modules/protocol.jsm b/common/modules/protocol.jsm index f73e209..d5e6d1a 100644 --- a/common/modules/protocol.jsm +++ b/common/modules/protocol.jsm @@ -1,4 +1,4 @@ -// Copyright (c) 2008-2012 Kris Maglione +// Copyright (c) 2008-2014 Kris Maglione // // This work is licensed for reuse under an MIT license. Details are // given in the LICENSE.txt file included with this file. @@ -143,8 +143,8 @@ ProtocolBase.prototype = { }; function LocaleChannel(pkg, locale, path, orig) { - for each (let locale in [locale, "en-US"]) - for each (let sep in "-/") { + for (let locale of [locale, "en-US"]) + for (let sep of "-/") { var channel = Channel(["resource:/", pkg + sep + locale, path].join("/"), orig, true, true); if (channel) return channel;