diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-04-09 00:18:45 +0200 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-04-08 20:38:20 -0400 |
commit | 52394ba986794423e7855ece3b4f80a1f2fb7398 (patch) | |
tree | 899fb5adb106f37a099b2de7b064b00698e42718 /test/unit/attributes.js | |
parent | bea0d9a49df88e382805df08c5431a5e1a0752c9 (diff) | |
download | jquery-52394ba986794423e7855ece3b4f80a1f2fb7398.tar.gz jquery-52394ba986794423e7855ece3b4f80a1f2fb7398.zip |
Move size() test to deprecated.js and avoid in other tests. Close gh-1237.
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r-- | test/unit/attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 976869780..e7145730b 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -1017,7 +1017,7 @@ var testAddClass = function( valueObj ) { var div = jQuery("#qunit-fixture div"); div.addClass( valueObj("test") ); var pass = true; - for ( var i = 0; i < div.size(); i++ ) { + for ( var i = 0; i < div.length; i++ ) { if ( !~div.get( i ).className.indexOf("test") ) { pass = false; } |