[jquery-dev] Re: setInterval leak in function custom (fx.js)

2009-02-11 Thread John Resig
Good catch! I'll see if I can land this real soon. --John On Wed, Feb 11, 2009 at 10:32 PM, Arrix wrote: > Hi, > I noticed a constant 50% CPU usage in one of my project about 2 weeks ago > and looked into the issue. >> >> jQuery.fx.prototype.custom uses jQuery.timers.push(t) == 1 as a guard

[jquery-dev] Re: And-Selector?

2009-02-11 Thread Dave Methvin
> Couldn't you just do: > > jQuery.fn.and = function(sel){ >    return this.length? this.add(sel) : jQuery([]); > }; You would lose the ability to use .end() to get back to the previous object. Since .add() does a pushStack you would want the other case to do one too to keep the previous object c

[jquery-dev] setInterval leak in function custom (fx.js)

2009-02-11 Thread Arrix
Hi, I noticed a constant 50% CPU usage in one of my project about 2 weeks ago and looked into the issue. jQuery.fx.prototype.custom uses jQuery.timers.push(t) == 1 as a guard > condition for the setInterval call, which is not robust enough. In the test > case, stop, which empties jQuery.timers, i

[jquery-dev] Re: There must be a better way !

2009-02-11 Thread treshug...@gmail.com
Klaus is right. I know older versions of IE (< 6) have had issues with this. The W3C CSS 2.1 specifically states that quotes are optional (http:// www.w3.org/TR/CSS21/syndata.html#uri). IE always was and always will be a leper, it's just too bad it hasn't died yet. -Trey --~--~-~--~---

[jquery-dev] What is the process for becoming a bug fixer?

2009-02-11 Thread Ralph Whitbeck
I've found that I enjoy looking at bugs and trying to replicate them and adding detail to the ticket to help the actual bug fixer with the issue when they can get around to fixing it. Take for example this ticket: http://dev.jquery.com/ticket/4081 I was able to recreate the bug and added some mo

[jquery-dev] Re: 1.3.1: error with custom attribute selection

2009-02-11 Thread Alexandre Plennevaux
super, thanks a great lot! On Tue, Feb 10, 2009 at 2:25 PM, John Resig wrote: > > Alexandre - > > This has already been fixed and will be in 1.3.2 and is in the latest nightly. > http://code.jquery.com/jquery-nightly.js > > --John > > > > On Tue, Feb 10, 2009 at 6:19 AM, Alexandre Plennevaux >

[jquery-dev] Re: Clearup of Rhino and JQuery

2009-02-11 Thread John Resig
That copy of env.js is out of date - you should use the newer one here: http://github.com/jeresig/env-js Or this even better branch here: http://github.com/thatcher/env-js Discussion is going on here: http://groups.google.com/group/envjs --John On Wed, Feb 11, 2009 at 1:37 AM, mattryder wro

[jquery-dev] Re: In UI/Dialog options "shadow: false" show error

2009-02-11 Thread Richard D. Worth
I'm going to assume you mean 1.6rc6 as rc2 didn't have a shadow option. This bug has been fixed in trunk by removing the shadow option completely (for this release). In the future, discussion of jQuery UI bugs should be on the jQuery UI Dev list: http://groups.google.com/group/jquery-ui-dev Here'

[jquery-dev] In UI/Dialog options "shadow: false" show error

2009-02-11 Thread Supratik
Hi, I am using the jQuery UI 1.6rc2, when I use the following sample code I am able to drag my dialog box. $(document).ready(function(){ $("#dialog").dialog({ resizable: false }); }); Now, if I add the option "shadow: false" to hide the shadow of the dialog, t

[jquery-dev] Clearup of Rhino and JQuery

2009-02-11 Thread mattryder
I have included this as a seperate file load("env.js"); window.location = "testfile2.html"; window.onload = function() { load("jquery.js"); print("Newest A List Apart Posts:"); $("h3.ishinfo").each(function(){ print(" - " + this.textContent); }); called testscript.js ran it as java -j

[jquery-dev] $.ajax

2009-02-11 Thread SUHAS
my $.ajax request retriving earlier data. I am retriving data from aspx page passing sql query but it is not retriving latest data. but if I close the brouser and re-open the url it is showing latest data. function saveData(qry) { var dbcommand = ""+dbname+""+qry +""+n+""; if(verbos