Permalink
Browse files

Fixed a bug with the init script to make it work in IE.

  • Loading branch information...
1 parent 5ff0915 commit f90c8d093812c5dc2f73c4ac6055097abb76c4e2 @jeresig jeresig committed Oct 16, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/init.js
View
2 examples/init.js
@@ -21,7 +21,7 @@ if ( window.addEventListener ) {
}
if ( canvas ) {
- Processing(canvas, scripts[i].textContent);
+ Processing(canvas, scripts[i].text);
}
}
}

0 comments on commit f90c8d0

Please sign in to comment.