git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Testcase now logs exceptions if a console is avaiable, makes it easier to find bugs...
[jquery.git]
/
build
/
test
/
js
/
test.js
diff --git
a/build/test/js/test.js
b/build/test/js/test.js
index
82469f7
..
1a47519
100644
(file)
--- a/
build/test/js/test.js
+++ b/
build/test/js/test.js
@@
-51,6
+51,8
@@
function runTest( files, num ) {
try {
eval(js);
} catch(e) {
+ if(typeof console != "undefined")
+ console.error(e);
Test.push( [ false, "Died on test #" + (Test.length+1) + ": " + e ] );
}