add some semicoolons to prevent chrome warning

This commit is contained in:
John McLear 2015-04-13 10:52:15 +01:00
parent 431c55811f
commit 629f909d57

View file

@ -681,9 +681,9 @@ window.html10n = (function(window, document, undefined) {
// Expand two-part locale specs
var i=0
langs.forEach(function(lang) {
if(!lang) return
langs[i++] = lang
if(~lang.indexOf('-')) langs[i++] = lang.substr(0, lang.indexOf('-'))
if(!lang) return;
langs[i++] = lang;
if(~lang.indexOf('-')) langs[i++] = lang.substr(0, lang.indexOf('-'));
})
this.build(langs, function(er, translations) {