mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-03 15:23:59 +00:00
moved console polyfills to polyfills.js
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
'use strict';
|
||||
(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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user