On Sep 11, 6:06 am, "John Resig" <[EMAIL PROTECTED]> wrote:
> Full release notes and download 
> information:http://docs.jquery.com/Release:jQuery_1.2

[grumble]

1) i've got a philosophical beef with the change in clone()'s
behaviour. Calling clone(false) is not functionally the same as
calling clone().empty(), as clone().empty() can require an arbitrarily
large amount of extra work which will then be discarded by the empty()
call. i rather liked the option to deep- or shallow-clone an object
(though i admittedly only used deep copying once, preferring shallow
clone for most of my use cases to date).

2) i'm at a complete loss to understand why the load/getIfModified()
convenience funcs were removed. To save a few bytes in the core lib?
If so, those bytes have simply moved into client code (in the form of
the more verbose $.ajax() call), possibly multiple times (once per
call point). The end result is probably a net enlargement of included
JS, IMO.

3) eq()/lt()/gt() are dead. Long live eq()/lt()/gt(). Again, the
client-side code doubles from lt(3) to slice(0,3) (5 chars to 10
chars). If i hung out on the developer's list i would probably
understand the reasoning behind deprecating eq/lt/gt, but since i
don't hang out on that list i'll just grumble about the change.

4) $(...).evalScripts() automatically happens now. Does that mean that
if i load the JS code of a script for display (e.g. a "view code" link
which load()s the code), that the loaded code is now executed? If so,
i think that's evil. If not, ignore this item.

[/grumble]

:)

Reply via email to