1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-24 17:01:38 +00:00

Added polyfils for IE console object.

This commit is contained in:
Keivan Beigi 2013-07-12 16:30:52 -07:00
parent e88768d621
commit 0486b610c0

View file

@ -1,15 +1,13 @@
'use strict';
(function () {
if (!window.console) {
window.console = {};
}
if (!window.console.debug) {
window.console.debug = function () {
};
}
window.console = window.console || {};
window.console.log = window.console.log || function(){};
window.console.group = window.console.group || function(){};
window.console.groupEnd = window.console.groupEnd || function(){};
window.console.debug = window.console.debug || function(){};
window.console.warn = window.console.warn || function(){};
window.console.assert = window.console.assert || function(){};
window.alert = function (message) {
window.Messenger().post(message);