aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-05-07 14:49:04 -0400
committertimmywil <tim.willison@thisismedium.com>2011-05-07 14:49:04 -0400
commitc08556327032daa21493f2b3a77f2138352fadf8 (patch)
tree0fbee4abe5b90104ea9bb8b7fed7c1d0b6effab4 /test/unit
parent09c0cf995b84e0cff6d86c9f63bdad2b0440466a (diff)
downloadjquery-c08556327032daa21493f2b3a77f2138352fadf8.tar.gz
jquery-c08556327032daa21493f2b3a77f2138352fadf8.zip
Reduce the boolean list only to those that have corresponding IDLs that don't require being added to propFix; only set the IDL if it exists
- See http://jsfiddle.net/timmywil/u5NLn/ for how boolean attributes are handled in every browser.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/attributes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js
index e01982364..3724f360d 100644
--- a/test/unit/attributes.js
+++ b/test/unit/attributes.js
@@ -502,7 +502,7 @@ test("removeProp(String)", function() {
strictEqual( ele.nonexisting, undefined, "removeProp works correctly on non DOM element nodes (bug #7500)." );
});
jQuery.each( [commentNode, textNode, attributeNode], function( i, ele ) {
- $ele = jQuery( ele );
+ var $ele = jQuery( ele );
$ele.prop( "nonexisting", "foo" ).removeProp( "nonexisting" );
strictEqual( ele.nonexisting, undefined, "removeProp works correctly on non DOM element nodes (bug #7500)." );
});