parent
4a5e63f105
commit
c755633f09
|
@ -135,7 +135,7 @@ window.html10n = (function(window, document, undefined) {
|
||||||
for (var i=0, n=this.resources.length; i < n; i++) {
|
for (var i=0, n=this.resources.length; i < n; i++) {
|
||||||
this.fetch(this.resources[i], lang, function(e) {
|
this.fetch(this.resources[i], lang, function(e) {
|
||||||
reqs++;
|
reqs++;
|
||||||
if(e) console.warn(e)
|
if(e) consoleWarn(e)
|
||||||
|
|
||||||
if (reqs < n) return;// Call back once all reqs are completed
|
if (reqs < n) return;// Call back once all reqs are completed
|
||||||
cb && cb()
|
cb && cb()
|
||||||
|
@ -934,4 +934,4 @@ window.html10n = (function(window, document, undefined) {
|
||||||
window._ = html10n.get;
|
window._ = html10n.get;
|
||||||
|
|
||||||
return html10n
|
return html10n
|
||||||
})(window, document)
|
})(window, document)
|
||||||
|
|
Loading…
Reference in New Issue