--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
17
node_modules/semantic-ui/test/helpers/jasmine-clog.js
generated
vendored
Normal file
17
node_modules/semantic-ui/test/helpers/jasmine-clog.js
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Allow for console.log to not break IE
|
||||
if (typeof window.console == "undefined" || typeof window.console.log == "undefined") {
|
||||
window.console = {
|
||||
log : function() {},
|
||||
info : function(){},
|
||||
warn : function(){}
|
||||
};
|
||||
}
|
||||
if(typeof window.console.group == 'undefined' || typeof window.console.groupEnd == 'undefined' || typeof window.console.groupCollapsed == 'undefined') {
|
||||
window.console.group = function(){};
|
||||
window.console.groupEnd = function(){};
|
||||
window.console.groupCollapsed = function(){};
|
||||
}
|
||||
if(typeof window.console.markTimeline == 'undefined') {
|
||||
window.console.markTimeline = function(){};
|
||||
}
|
||||
window.console.clear = function(){};
|
||||
Loading…
Reference in a new issue