|
|
|
@ -1,3 +1,12 @@
|
|
|
|
|
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(){};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!String.prototype.startsWith) {
|
|
|
|
|
Object.defineProperty(String.prototype, 'startsWith', {
|
|
|
|
|
enumerable: false,
|
|
|
|
|