Permalink
Browse files

fix demos to work in ie because of 'console'

  • Loading branch information...
1 parent 06ed79c commit 83970a65902730ffa57ad9ca08034e01d46c6ea7 @rcarver rcarver committed May 17, 2010
@@ -55,8 +55,8 @@ <h2>JavaScript Event Progress</h2>
e.innerHTML = message;
output.appendChild(e);
}
- if (console && console.log) {
- console.log(message);
+ if (window.console && window.console.log) {
+ window.console.log(message);
}
}
WebFont.load({
@@ -10,8 +10,8 @@
e.innerHTML = message;
output.appendChild(e);
}
- if (console && console.log) {
- console.log(message);
+ if (window.console && window.console.log) {
+ window.console.log(message);
}
}
WebFont.load({
@@ -10,8 +10,8 @@
e.innerHTML = message;
output.appendChild(e);
}
- if (console && console.log) {
- console.log(message);
+ if (window.console && window.console.log) {
+ window.console.log(message);
}
}
WebFont.load({

0 comments on commit 83970a6

Please sign in to comment.