[jquery-dev] Re: Bug in 1.4rc1 $.extend

2010-01-17 Thread Tyron
Well, I've got your point, and changed my code to var data = jQuery.extend(true, [], arrComp); With that, I wanted to make a copy of "arrComp" into "data", so that deleting something in data won's mess with arrComp, right? Testing like you did (and even if I make arrComp.toSource() , copy the cont

[jquery-dev] Re: Bug in 1.4rc1 $.extend

2010-01-13 Thread Dave Methvin
> x[1] = {twist: 3}; > alert( x.toSource() ); // [{test:1}, {twist:3}] My test case was broken! When I change it to this: var x = [ {test:1}, {toast:2} ]; var y = $.extend(true, [], x); x[1].toast = 3; alert( y.toSource() ); I get the expected output: [{test:1}, {toast:2}] That is, x was deep-

[jquery-dev] Re: Bug in 1.4rc1 $.extend

2010-01-13 Thread Dave Methvin
> var data = jQuery.extend(true, {}, arrComp); You're extending an Array into an empty Object? That would lose the Array-ness of the original object. I don't think this is a use case that was ever anticipated, not sure it makes sense. You could extend into an empty array [] to fix that, but after

[jquery-dev] Re: bug in 1.4rc1

2010-01-13 Thread blizzard
I updated the ticket. I'm not sure why you're getting a 403 error. That's weird. I'll look into that further. ref ticket #5795 http://dev.jquery.com/ticket/5795 On Jan 13, 12:43 pm, Karl Swedberg wrote: > Hi there, > > I wasn't able to find a problem running the Star Rating plugin with   > 1.

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread Scott Sauyet
On Tue, Jan 12, 2010 at 4:46 PM, blizzard wrote: > got it.  that works perfectly now.  will this be fixed in the final > version? Confirmed. I don't get the error either. Great work, John! -- Scott -- You received this message because you are subscribed to the Google Groups "jQuery Develop

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread John Resig
Yep, I just landed it: http://github.com/jquery/jquery/commit/61983cbf176c599687c36ffbf4b64ae8697486a3 --John On Tue, Jan 12, 2010 at 4:46 PM, blizzard wrote: > got it.  that works perfectly now.  will this be fixed in the final > version? > > > > On Jan 12, 2:56 pm, John Resig wrote: >> Oh,

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread blizzard
got it. that works perfectly now. will this be fixed in the final version? On Jan 12, 2:56 pm, John Resig wrote: > Oh, ok - that helps to clear some things up. Try > this:http://ejohn.org/files/tmp-jq14-abort-2.js > > --John > > > > On Tue, Jan 12, 2010 at 3:42 PM, blizzard wrote: > > Ok, I

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread John Resig
Oh, ok - that helps to clear some things up. Try this: http://ejohn.org/files/tmp-jq14-abort-2.js --John On Tue, Jan 12, 2010 at 3:42 PM, blizzard wrote: > Ok, I updated the script.  Now is says that xhr is null at line 4970. > > > On Jan 12, 2:39 pm, John Resig wrote: >> Since I'm having tro

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread Scott Sauyet
On Tue, Jan 12, 2010 at 3:42 PM, blizzard wrote: > Ok, I updated the script.  Now is says that xhr is null at line 4970. Ditto. -- 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-...@go

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread blizzard
Ok, I updated the script. Now is says that xhr is null at line 4970. On Jan 12, 2:39 pm, John Resig wrote: > Since I'm having trouble reproducing the problem can you let me know > what happens when you use this copy of jQuery 1.4rc1 > instead?http://ejohn.org/files/tmp-jq14-abort.js > > Thanks

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread John Resig
Since I'm having trouble reproducing the problem can you let me know what happens when you use this copy of jQuery 1.4rc1 instead? http://ejohn.org/files/tmp-jq14-abort.js Thanks. --John On Tue, Jan 12, 2010 at 3:22 PM, blizzard wrote: > Thank you Scott, that's exactly what I'm seeing. > > >

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread blizzard
Thank you Scott, that's exactly what I'm seeing. On Jan 12, 2:13 pm, Scott Sauyet wrote: > On Tue, Jan 12, 2010 at 2:53 PM, blizzard wrote: > > I tried this on Windows 7  and on Windows 2003 server > > I just posted a screenshot confirming the error, > >    http://dev.jquery.com/attachment/tick

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread Scott Sauyet
On Tue, Jan 12, 2010 at 2:53 PM, blizzard wrote: > I tried this on Windows 7  and on Windows 2003 server I just posted a screenshot confirming the error, http://dev.jquery.com/attachment/ticket/5788/screenshot_scott_sauyet_2010-01-12a.png I get no error unless Firebug is open. This consis

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread blizzard
I tried this on Windows 7 and on Windows 2003 server Here's the 1.4rc1 file that I'm using: http://www.realestatehomepages.com/includes/cachablescripts/js/jquery/1.4rc1/jquery.js On Jan 12, 1:44 pm, DBJDBJ wrote: > @blizzard : where is your rc1 coming from ? what OS are you on ? > > On Jan 12

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread DBJDBJ
@blizzard : where is your rc1 coming from ? what OS are you on ? On Jan 12, 7:22 pm, blizzard wrote: > I promise I'm not going crazy.  I just tried it on IE and Safari, same > thing, then I tried it on another computer - same time. > > Any ideas? > > On Jan 12, 1:10 pm, John Resig wrote: > > > >

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread blizzard
I promise I'm not going crazy. I just tried it on IE and Safari, same thing, then I tried it on another computer - same time. Any ideas? On Jan 12, 1:10 pm, John Resig wrote: > I just did exactly what you said (typed it in, got the validation > message, tabbed down, tabbed back, entered the ri

Re: [jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread John Resig
I just did exactly what you said (typed it in, got the validation message, tabbed down, tabbed back, entered the right email address) but the validation message went away once I entered a correct email address. --John On Tue, Jan 12, 2010 at 2:06 PM, blizzard wrote: > yea, I just tried it agai

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread blizzard
yea, I just tried it again. I typed in deckb...@q then tabbed down then tabbed back and put in deckb...@quantumsite.com and it won't clear the failed validation. On Jan 12, 1:03 pm, blizzard wrote: > If I put in something like deckberg then tab to the password, at this > point it failed validat

[jquery-dev] Re: bug in 1.4rc1

2010-01-12 Thread blizzard
If I put in something like deckberg then tab to the password, at this point it failed validation once, then tab back and put in a correct email and tab to the password it won't clear the failed validation. so I can't submit the form. On Jan 12, 12:54 pm, John Resig wrote: > I'm having a hard tim