11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
|
// Console fallback
|
||
|
if (!window.console) {
|
||
|
window.console = new function() {
|
||
|
this.log = function(str) {}
|
||
|
this.dir = function(str) {}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Promises polyfill
|
||
|
require('es6-promise').polyfill()
|