git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3527e8f
)
I had to put the check for 'typeof console != "undefined"' back in, otherwise IE...
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Tue, 3 Oct 2006 10:54:55 +0000
(10:54 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Tue, 3 Oct 2006 10:54:55 +0000
(10:54 +0000)
build/test/data/testrunner.js
patch
|
blob
|
history
diff --git
a/build/test/data/testrunner.js
b/build/test/data/testrunner.js
index
0b6e08d
..
ea73127
100644
(file)
--- a/
build/test/data/testrunner.js
+++ b/
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());