houdini/client/js/common/polyfills.js

11 lines
199 B
JavaScript
Raw Normal View History

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