Merge pull request #1726 from ether/fix/html10n.js-console-log-shim

Update html10n.js to correctly use the console.log shim
pull/1723/merge
John McLear 2013-04-10 08:57:42 -07:00
commit df8a31f241
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++) { 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()