git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More changes to get jQuery in line with JSLint.
[jquery.git]
/
src
/
support.js
diff --git
a/src/support.js
b/src/support.js
index
5821301
..
f9429f9
100644
(file)
--- a/
src/support.js
+++ b/
src/support.js
@@
-69,7
+69,7
@@
script.type = "text/javascript";
try {
script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
script.type = "text/javascript";
try {
script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
- } catch(e) {}
+ } catch( scriptError ) {}
root.insertBefore( script, root.firstChild );
root.insertBefore( script, root.firstChild );
@@
-86,7
+86,7
@@
try {
delete script.test;
try {
delete script.test;
- } catch(e) {
+ } catch( expandoError ) {
jQuery.support.deleteExpando = false;
}
jQuery.support.deleteExpando = false;
}