More changes to get jQuery in line with JSLint.
[jquery.git] / src / support.js
index 5821301..f9429f9 100644 (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;
        }