Merge pull request #913 from Wikinaut/fix-for-issue-890
fix #890 test if console is available before writing to console.logpull/872/merge
commit
aa73cf9956
|
@ -310,7 +310,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){
|
||||||
console.log([key, value])
|
if (window.console) console.log([key, value])
|
||||||
return [key, value];
|
return [key, value];
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue