More changes to get jQuery in line with JSLint.
This commit is contained in:
parent
8c8f685a91
commit
dcf0fa5048
9 changed files with 195 additions and 190 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue