Skip to content
Permalink
Browse files

I had to put the check for 'typeof console != "undefined"' back in, o…

…therwise IE complains about console not being defined.
  • Loading branch information
jzaefferer committed Oct 3, 2006
1 parent 3527e8f commit 374dbbe80a3df30f52505a9c3ebd31efef711ec0
Showing with 1 addition and 1 deletion.
  1. +1 −1 build/test/data/testrunner.js
@@ -55,7 +55,7 @@ function test(name, callback) {
try {
callback();
} catch(e) {
if( console && console.error ) {
if( typeof console != "undefined" && console.error && console.warn ) {
console.error("Test " + name + " died, exception and test follows");
console.error(e);
console.warn(callback.toString());

0 comments on commit 374dbbe

Please sign in to comment.
You can’t perform that action at this time.