Skip to content

Commit 480d600

Browse files
author
Peter
committed
fixing missing console.log for IE
1 parent dd9c8b0 commit 480d600

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

web/src/main/webapp/js/ghrequest.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
// IE fix
2+
if (!window.console) {
3+
var console = {
4+
log: function() {},
5+
warn: function() {},
6+
error: function() {},
7+
time: function() {},
8+
timeEnd: function() {}
9+
};
10+
}
11+
112
GHRequest = function(host) {
213
this.minPathPrecision = 1;
314
this.host = host;

0 commit comments

Comments
 (0)