mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
More changes to get jQuery in line with JSLint.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user