Sam Collett schrieb:
> The problem with removing all the helper methods is that some are very
> heavily used (especially val and click). While that may reduce
> jQuery's file size, it will increase the size of many plugins and
> pages that use jQuery.
>   
The basic problem: The API cluttering. There are 2 methods for each attr 
macro and 2 methods for each css macro. They can all be handled by using 
attr and css directly. On the other side, it is easy to add them back 
when really needed, or provided as a compability plugin.
> Moving out of core may be a good idea if file size really is that
> important (many have broadband or fast dialup and you can always use
> gzip compression on the server), but it would still be good if these
> (or at least the most used ones) were still part of the default
> download (i.e. http://jquery.com/src/jquery-latest.js).
>   
This isn't so much about file size, more about a clean API. Currently 
the core has simply to many methods that do pretty much the same.

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to