Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
Add polyfill for console to fix IE compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskuehl authored and vinodc committed Jan 7, 2015
1 parent 2dab9de commit 016a957
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/loader/js/polyfills.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@
window.Window.prototype.removeEventListener = removeEventListener;
}
}
})();

// simple console.log polyfill
window.console = window.console || {log: function() {}};
})();

0 comments on commit 016a957

Please sign in to comment.