Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix demos to work in ie because of 'console'

  • Loading branch information...
commit 83970a65902730ffa57ad9ca08034e01d46c6ea7 1 parent 06ed79c
@rcarver rcarver authored
View
4 lib/webfontloader/demo/public/custom.html
@@ -55,8 +55,8 @@ <h1 class="tagesschrift">
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({
View
4 lib/webfontloader/demo/public/events-styles.html
@@ -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({
View
4 lib/webfontloader/demo/public/events.html
@@ -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({
Please sign in to comment.
Something went wrong with that request. Please try again.