More changes to get jQuery in line with JSLint.

This commit is contained in:
jeresig 2010-03-01 21:24:49 -05:00
parent 8c8f685a91
commit dcf0fa5048
9 changed files with 195 additions and 190 deletions

View file

@ -69,7 +69,7 @@
script.type = "text/javascript";
try {
script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
} catch(e) {}
} catch( scriptError ) {}
root.insertBefore( script, root.firstChild );
@ -86,7 +86,7 @@
try {
delete script.test;
} catch(e) {
} catch( expandoError ) {
jQuery.support.deleteExpando = false;
}