mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixed minor bug with Safari and the test suite.
This commit is contained in:
parent
301e2b6493
commit
215f785de6
@ -55,7 +55,7 @@ function test(name, callback) {
|
||||
try {
|
||||
callback();
|
||||
} catch(e) {
|
||||
if(typeof console != "undefined") {
|
||||
if( console && console.error ) {
|
||||
console.error("Test " + name + " died, exception and test follows");
|
||||
console.error(e);
|
||||
console.warn(callback.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user