在入口文件中为glob添加没有声明的属性
// There are no console bugs in the browser.
window.console = window.console || (
function() {
var c = {}; c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile =
c.clear = c.exception = c.trace = c.assert =
function() { }
return c
})()