@davisty you could always just create the method yourself, it's a pretty simple method.
- $.fn.size = function(){
- return this.length
- }
Yes, a lot has changed over the years with jQuery. Methods have come and gone, bugs have creeped in and been squashed, the size of the library dramatically increased and then dramatically decreased, the speed has improved, etc.
jQuery is now in a phase where older slower less-used methods are being (or have been) removed in favor of using the faster more efficient methods. Before a method is completely removed, it is deprecated for at least one release cycle, then, once it's removed, it's added to the jQuery Migrate plugin so that if you have code that requires said removed methods but is too costly to fix, you can include the migrate plugin and just continue using them as they were.
the Migrate plugin is also a great tool for helping with upgrading older code to move away from the deprecated methods. If you're using the development version of the migrate plugin, it will log warnings to the console informing you of what deprecated/removed methods are being used by the code along with recommendations on how to fix it so that you can find and replace them.
-- Kevin