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

Update html10n.js to correctly use the console.log shim
This commit is contained in:
John McLear 2013-04-10 08:57:42 -07:00
commit df8a31f241

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()
@ -934,4 +934,4 @@ window.html10n = (function(window, document, undefined) {
window._ = html10n.get;
return html10n
})(window, document)
})(window, document)