[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread Iraê
> i dont see how it can work like livequery I ment how you use it, not how it functions internaly. Both of them receive 2 params, eventType and callbackFunction. I just wanted to point out that anyone familiar with $(sel).livequery(type,fn) shoud be confortable with $(sel).live(type,fn). Sorry fo

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread kangax
On Jan 12, 10:01 pm, Diego Perini wrote: [...] > My suggestion is to start including these two constants in the process > of removing the others, they will never go away: > > IE = typeof document.fileSize != 'undefined', // IE6 / IE7 / IE8 > S2 = top !== top.document.defaultView, // Safari 2 T

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread dbergey
jQuery UI 1.6rc4 isn't working properly with jQuery 1.3rc2 in Safari 3 & Firefox 3 (haven't tested IE). I'm not sure whether it's 1.3's fault, or whether UI just needs to be updated for it. I have an example page here: http://danielbergey.com/jquery/jquery_droppable_bug_broken_using_13rc

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Diego Perini
Wrong again, that's what happen in the late nights with no sleep // Safari 2 doesn't implement View on window S2 = top.document.defaultView && top !== top.document.defaultView, sorry for the spam, wrong info is worst... :-) Diego On 13 Gen, 04:52, Diego Perini wrote: > A correction

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Diego Perini
A correction in the above two lines: // detect IE any version IE = typeof context.fileSize !== 'undefined', // Safari 2 doesn't implement View on window S2 = top.defaultView && top !== top.document.defaultView, I left out part of the Safari check... Diego On 13 Gen, 04:01, Diego Peri

[jquery-dev] Re: $().remove() generate error in IE6.

2009-01-12 Thread sglai
Thanks David pointed out the line. Need help on resolving this problem. On Jan 12, 7:38 pm, "David Zhou" wrote: > He said at: > > id = elem[ expando ] = ++uuid; > > so I think: > > http://dev.jquery.com/browser/trunk/jquery/src/data.js#L15 > > > > On Mon, Jan 12, 2009 at 6:33 AM, Ariel Flesler

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread John Resig
> the only way to delegate without specifying a container would probably > be to implicitly bind any event handlers to or , is that > what happens in $.live? Yes. .live() binds on document and captures bubbled events. --John --~--~-~--~~~---~--~~ You received th

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread Leeoniya
i dont see how it can work like livequery, since all livequery seems to do is bind on a timer. delegation requires binding to a parent container and filtering out events/element targets. something like Ariel's $.listen was $("#container").listen("click", "p, span", function(e){alert("callback")})

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Diego Perini
John, even if you didn't completely removed $.browser it is great to see most of them are gone. Next move is to go for feature testing, plugin writers should already start using it to speed-up the complete removal. At least they should have a direction to follow from the team in the process of re

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread Iraê
AFAIK there is no docs yet, but I learned a lot from the sourcecode, as aways. One featured that I'm already using is the event delegation functions. They are similar to the functionality provided by the widely known livequery plugin. jQuery.live(type, fn) is ment to be similar to jQuery.livequer

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread Leeoniya
if anyone has stumbled upon a link to the new v1.3 API doc, s/he will be rewarded with royalty-free bug reports... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, sen

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread John Resig
> Another one: http://jquery.glyphix.com/1.3/ > In ie7, I get: > > Line 2159: "object doesn't support this property or method" > Line 29: "object doesn't support this property or method" Hmm, ok - this is due to expandos being assigned to an XML node. I'll check in to this. Thanks for the test ca

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread Briz
Another one: http://jquery.glyphix.com/1.3/ In ie7, I get: - Line 2159: "object doesn't support this property or method" - Line 29: "object doesn't support this property or method" Everything's working great in FF (as long as there are no spaces in attribute selectors). I updated my test p

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread malsup
> jQuery 1.3rc2 is ready. It certainly is! It's rockin' for me - all my plugins are running w/o a hitch. Great work, everybody! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to

[jquery-dev] Re: jQuery 1.3rc2 Ready

2009-01-12 Thread Leeoniya
everything's working for me now, as of RC2. i'll get busy porting my whole webapp to v1.3, but if you want any kind of decent bug reports, it would be nice to know where and how to use all the new functionality introduced, any place to see an updated API doc before final release? otherwise all u'

[jquery-dev] jQuery 1.3rc2 Ready

2009-01-12 Thread John Resig
Hey Everyone - jQuery 1.3rc2 is ready. This means that 1.3 is effectively finished barring a horrible bug between now and the final release on Wednesday (the 14th). You can grab the source here: http://code.jquery.com/jquery-1.3rc2.js Please let me know, personally, if you find some bad new bug

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Alex Rabarts
On 13/01/2009, at 7:04 AM, Dan G. Switzer, II wrote: > > Boy, I'm not looking forward to $.browser.msie being removed. I use > that all the time to add class definitions to fix CSS issues in IE. > I maintain a plugin that deals with this without relying on $.browser.msie. I'll be supporti

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread David Zhou
If it's only for CSS stuff, don't forget you can also just use standard conditional includes for IE. On Mon, Jan 12, 2009 at 3:04 PM, Dan G. Switzer, II wrote: > > Boy, I'm not looking forward to $.browser.msie being removed. I use > that all the time to add class definitions to fix CSS issues in

[jquery-dev] jQuery-like smooth animate

2009-01-12 Thread meneldor
Hi, group. Im trying to make animation using jquery, but thats controlled server side using XMLSocket. When jQuery receive coordinates from server it moving my DIV across the browser but its too fast(my server spit all the coordinates at once). I cant understand how to do smooth animation. My ser

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread John Resig
Just to clarify: $.browser is not being removed in 1.3 - and not for the foreseeable future - but it is deprecated. --John On Mon, Jan 12, 2009 at 3:04 PM, Dan G. Switzer, II wrote: > > Boy, I'm not looking forward to $.browser.msie being removed. I use > that all the time to add class defini

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Dan G. Switzer, II
Boy, I'm not looking forward to $.browser.msie being removed. I use that all the time to add class definitions to fix CSS issues in IE. On Mon, Jan 12, 2009 at 9:03 AM, Jörn Zaefferer wrote: > Nevermind, got it all fixed. > > Jörn > > On Mon, Jan 12, 2009 at 1:14 PM, Jörn Zaefferer > wrote: >>

[jquery-dev] Re: enhancement proposal for .animate()

2009-01-12 Thread Richard D. Worth
On Mon, Jan 12, 2009 at 7:19 AM, blinds wrote: > > Hi there, > > The last year I had to make a lot of animation with jquery and I ended > up including custom plugins and extensions for adding support to > animate from one class to another and to have a delay. All the plugins > in the jquery plugi

[jquery-dev] Re: 1.3b2 selector engine *much* slower than 1.3b1 under FF 3.0.5

2009-01-12 Thread lhwpa...@googlemail.com
ok thanks for your explanation john. On 12 Jan., 16:42, "John Resig" wrote: > Yeah, I figured that's what was happening. An older version of Sizzle > used caching to improve performance - but that ended up negatively > affecting the performance of normal DOM manipulation, so it was > removed. >

[jquery-dev] Re: enhance .toggleClass

2009-01-12 Thread Cloudream
Good job, thanks a lot. ^^ On Jan 12, 1:25 pm, Iraê wrote: > I tooke some time to implement this functionality and also included > unit tests in my patch proposal. > > http://dev.jquery.com/attachment/ticket/3825/toggleClass.diff > > Hope it helps! =) > > On Jan 11, 2:59 pm, Cloudream wrote: >

[jquery-dev] Re: 1.3b2 selector engine *much* slower than 1.3b1 under FF 3.0.5

2009-01-12 Thread John Resig
Yeah, I figured that's what was happening. An older version of Sizzle used caching to improve performance - but that ended up negatively affecting the performance of normal DOM manipulation, so it was removed. No need to upload your suite - I can see what was happening now! But thanks for the cla

[jquery-dev] Re: 1.3b2 selector engine *much* slower than 1.3b1 under FF 3.0.5

2009-01-12 Thread lhwpa...@googlemail.com
thanks for your answer john, i used an older sizzle version v0.9 now i replaced it with newest sizzle and now its nearly as fast as jquery 1.3rc1 sizzle: 315ms / jquery 1.3: 328ms are there any changes in sizzle which make sizzle 0.9.1 about 3x slower then version 0.9 in ff 3.0 and 2.x ? slickspee

[jquery-dev] Re: 1.3b2 selector engine *much* slower than 1.3b1 under FF 3.0.5

2009-01-12 Thread John Resig
What version of Sizzle are you using? What version of SlickSpeed? Do you have a URL somewhere? --John On Mon, Jan 12, 2009 at 3:57 AM, lhwpa...@googlemail.com wrote: > > mh i have nearly the same issue on ff 3.05 and ff 2.0.20. > > i have tested it against single-sizzle (and other frameworks)

[jquery-dev] Re: jQuery 1.3rc1 : Error with :not()

2009-01-12 Thread Enrique Meléndez Estrada
No I'm not using length() (it was a typo), in fact, I'm not using length either, only: $('table:not(:first)') thanxs, El 12/01/2009 15:09, Karl Swedberg escribió: > On Jan 12, 2009, at 6:19 AM, emelendez wrote: > >> >> Hi, >> I have 3 html TABLEs in my DOM >> >> $("table:not(:first)").length() >

[jquery-dev] Re: jQuery 1.3rc1 : Error with :not()

2009-01-12 Thread Karl Swedberg
On Jan 12, 2009, at 6:19 AM, emelendez wrote: > > Hi, > I have 3 html TABLEs in my DOM > > $("table:not(:first)").length() > > gave me 2 (correct) tables in 1.2.6 > gives me 5(???) tables in 1.3rc1 > > also, doesn't work the version: > > $('table').not(':first').length() Just to be sure, you aren

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Jörn Zaefferer
Nevermind, got it all fixed. Jörn On Mon, Jan 12, 2009 at 1:14 PM, Jörn Zaefferer wrote: > Forgot to mention: version.txt has RC2 already, I did a local build to > get the latest fixes. > > Anyway, that wasn't my problem anyway. $.browser is deprecated just > now, so I can worry about removing t

[jquery-dev] Re: jQuery 1.3rc1 : Error with :not()

2009-01-12 Thread John Resig
Yep - I've got that one on the list - thanks! --John On Mon, Jan 12, 2009 at 6:19 AM, emelendez wrote: > > Hi, > I have 3 html TABLEs in my DOM > > $("table:not(:first)").length() > > gave me 2 (correct) tables in 1.2.6 > gives me 5(???) tables in 1.3rc1 > > also, doesn't work the version: >

[jquery-dev] Re: $().remove() generate error in IE6.

2009-01-12 Thread David Zhou
He said at: id = elem[ expando ] = ++uuid; so I think: http://dev.jquery.com/browser/trunk/jquery/src/data.js#L15 On Mon, Jan 12, 2009 at 6:33 AM, Ariel Flesler wrote: > > What line ? > > -- > Ariel Flesler > http://flesler.blogspot.com > > On Jan 12, 7:41 am, sglai wrote: >> Hi, following c

[jquery-dev] jQuery 1.3rc1 : Error with :not()

2009-01-12 Thread emelendez
Hi, I have 3 html TABLEs in my DOM $("table:not(:first)").length() gave me 2 (correct) tables in 1.2.6 gives me 5(???) tables in 1.3rc1 also, doesn't work the version: $('table').not(':first').length() --~--~-~--~~~---~--~~ You received this message because you

[jquery-dev] enhancement proposal for .animate()

2009-01-12 Thread blinds
Hi there, The last year I had to make a lot of animation with jquery and I ended up including custom plugins and extensions for adding support to animate from one class to another and to have a delay. All the plugins in the jquery plugin repository to do this are not documented quite well and the

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Jörn Zaefferer
Forgot to mention: version.txt has RC2 already, I did a local build to get the latest fixes. Anyway, that wasn't my problem anyway. $.browser is deprecated just now, so I can worry about removing that later. Jörn On Mon, Jan 12, 2009 at 12:32 PM, Ariel Flesler wrote: > > Isn't it RC1 yet ? > >

[jquery-dev] Re: $().remove() generate error in IE6.

2009-01-12 Thread Ariel Flesler
What line ? -- Ariel Flesler http://flesler.blogspot.com On Jan 12, 7:41 am, sglai wrote: > Hi, following code does not work in IE6 (FF3.0 works), anyone have > this problem? > >             $.debug(true); >             var d = parseXML("yyzz"); >             $.log($("z", d).text()); >        

[jquery-dev] Re: 1.3 RC2, selecting options

2009-01-12 Thread Ariel Flesler
Isn't it RC1 yet ? The $.browser removal is a hard one. I fixed it on one plugin already as "if( document.attachEvent )" of course that doesn't move to feature detection, but sometimes you just want to know if it's IE, no feature related. -- Ariel Flesler http://flesler.blogspot.com On Jan 12,

[jquery-dev] Re: Taconite plugin reveals 1.3b2 regress bug (#3737) : (

2009-01-12 Thread malsup
> cool. is this the same issue identified in #3737 with the script not > having a parentNode or something else, cause my testcase, the script > injected is identical for both the success and failure and i thought > the fix for this ticket was committed before RC1 so i kinda thought it > would work

[jquery-dev] 1.3 RC2, selecting options

2009-01-12 Thread Jörn Zaefferer
I'm currently adapting the validation plugin to 1.3 RC2, aiming for a new release before 1.3 is out. The obvious problem, usage of deprecated [...@attr=val] selectors was easy to fix. Another issue I couldn't fix yet is selecting options. I'm using these lines to validate if enough options have be

[jquery-dev] $().remove() generate error in IE6.

2009-01-12 Thread sglai
Hi, following code does not work in IE6 (FF3.0 works), anyone have this problem? $.debug(true); var d = parseXML("yyzz"); $.log($("z", d).text()); $("z", d).remove(); $.log($("z", d).text()); After some debugging, it seems like the erro

[jquery-dev] Re: 1.3b2 selector engine *much* slower than 1.3b1 under FF 3.0.5

2009-01-12 Thread lhwpa...@googlemail.com
mh i have nearly the same issue on ff 3.05 and ff 2.0.20. i have tested it against single-sizzle (and other frameworks) with the slickspeed selector test. in ff3.1, safari3.1, chrome: jquery 1.3rc1 is only a few ms slower then single sizzle. and much faster then other frameworks, great! in ff2.0.