Do not assume window object exists
parent
429651874f
commit
8199bf8377
|
@ -311,7 +311,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
|
||||||
['insertorder', 'first']
|
['insertorder', 'first']
|
||||||
].concat(
|
].concat(
|
||||||
_.map(state.lineAttributes,function(value,key){
|
_.map(state.lineAttributes,function(value,key){
|
||||||
if (window.console) console.log([key, value])
|
if (typeof(window)!= 'undefined' && window.console) console.log([key, value])
|
||||||
return [key, value];
|
return [key, value];
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue