[jquery-dev] Re: Will the live() method be improved in 1.4?

2009-11-15 Thread stephb...@googlemail.com
> The only drawback when using the this method is that users will not be
> able to support multiple event names within the same bind call:

And as I pointed out, you can't expect this to work:

$(context).bind('a.menu:first:click.namespace', fn);

Whereas this would work, as well as allowing multiple events (and
multiple namespaces):

$(context).bind('event.namespace(selector)', fn);

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=.




Re: [jquery-dev] Re: [OT] Fixing IE's CSS with jQuery

2009-11-15 Thread Scott Sauyet
On Sat, Nov 14, 2009 at 4:41 PM, weepy  wrote:
> I plan to add these in - should be fairly straight forward. I think
> i'll change the API to use a selector to target the relevant document
> nodes that require parsing.

It might make sense to add a custom selector, so that either the
plug-in or it's user could call

$("link:stylesheet, style:stylesheet").fixCSS();

I think as this is a one-off call for IE, it really doesn't need much
of an API, although perhaps the ability to recall it on a stylesheet
switch would be in order.

  -- Scott

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=.




[jquery-dev] Re: $140(Array) twice as fast as $126(Array) ?

2009-11-15 Thread Robert Katić
Thanks to http://dev.jquery.com/ticket/3995

On 15 stu, 11:22, DBJDBJ  wrote:
> I noticed this by accident (I had a bug in some speed tests)
> If i give them  both  an array of size 1e5, the latest one is twice as
> fast as 1.2.6 ?
>
> var A[1e5], j=1e5; while(j--) A[j] = j ;
>
> $140(A), exits (on average) twice as fast as $126(A) ...
>
> --DBJ
>
> PS:
> $126 --- jQuery 1.2.6
> $140 -- jQuery  1.4.pre

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=.




[jquery-dev] $140(Array) twice as fast as $126(Array) ?

2009-11-15 Thread DBJDBJ
I noticed this by accident (I had a bug in some speed tests)
If i give them  both  an array of size 1e5, the latest one is twice as
fast as 1.2.6 ?

var A[1e5], j=1e5; while(j--) A[j] = j ;

$140(A), exits (on average) twice as fast as $126(A) ...

--DBJ

PS:
$126 --- jQuery 1.2.6
$140 -- jQuery  1.4.pre


--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=.