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 374dbbe
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.