Index: lib/utils.js |
=================================================================== |
--- a/lib/utils.js |
+++ b/lib/utils.js |
@@ -44,17 +44,17 @@ var Utils = exports.Utils = { |
}, |
checkLocalePrefixMatch: function(prefixes) |
{ |
if (!prefixes) |
return null; |
let list = prefixes.split(","); |
- for each (let prefix in list) |
+ for (let prefix of list) |
if (new RegExp("^" + prefix + "\\b").test(this.appLocale)) |
return prefix; |
return null; |
}, |
chooseFilterSubscription: function(subscriptions) |
{ |
@@ -88,10 +88,14 @@ var Utils = exports.Utils = { |
{ |
selectedItem = subscription; |
selectedPrefix = prefix; |
} |
} |
} |
} |
return selectedItem; |
+ }, |
+ |
+ yield: function() |
+ { |
} |
}; |