projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad4eae8
)
IE8 quirks: improve check for missing console.log object
author
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 25 Jun 2013 12:26:58 +0000
(12:26 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 25 Jun 2013 12:26:58 +0000
(12:26 +0000)
experiments/spclient/mkws.js
patch
|
blob
|
history
diff --git
a/experiments/spclient/mkws.js
b/experiments/spclient/mkws.js
index
cad3ede
..
6dde7ad
100644
(file)
--- a/
experiments/spclient/mkws.js
+++ b/
experiments/spclient/mkws.js
@@
-690,9
+690,8
@@
jQuery.extend({
function debug(string) {
if (!mkws_debug)
return;
-
- var console; // IE8 quirks
- if (!console) { /* ARGH!!! */
+
+ if (typeof console === "undefined" || typeof console.log === "undefined") { /* ARGH!!! */
return;
}