Update Semantic
Fixes #40,#24
This commit is contained in:
parent
1715f27f44
commit
2027b94179
621 changed files with 172488 additions and 15939 deletions
17
web/semantic/test/helpers/jasmine-clog.js
Normal file
17
web/semantic/test/helpers/jasmine-clog.js
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(){};
|
Reference in a new issue