Update html10n.js to correctly use the console.log shim

fixes #1724
pull/1726/head
Marcel Klehr 2013-04-10 17:56:09 +02:00
parent 4a5e63f105
commit c755633f09
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ window.html10n = (function(window, document, undefined) {
for (var i=0, n=this.resources.length; i < n; i++) {
this.fetch(this.resources[i], lang, function(e) {
reqs++;
if(e) console.warn(e)
if(e) consoleWarn(e)
if (reqs < n) return;// Call back once all reqs are completed
cb && cb()