[jQuery] .size() no longer works on objects?

[jQuery] .size() no longer works on objects?


ok, so i should have caught this before now, but i just noticed that
it seems $({foo:1,bar:2}).size() no longer works.
I doubt this is unintentional, but i wanted to confirm. i know i used
this in previous versions of jQuery.
I can get the desired value with:
var fooCount = 0;
$.each({foo:1,bar:2},function(){fooCount++;});
not as pretty, but gets the job done; but if this indeed gone then i
will have to go back and refactor some older code before using the
latest rev of the lib :/