I feel an idiot now, thanks.

Patch uploaded :D

On Thu, Feb 12, 2009 at 4:02 PM, John Resig <jere...@gmail.com> wrote:

>
> Actually, in order to generate a patch you would generally need to
> diff two files (the old file and the one you've made changes to).
>
> If you have svn you can do "svn diff" and that'll spit out the
> differences in a format that will be easy to consume.
>
> --John
>
>
>
> On Thu, Feb 12, 2009 at 10:42 AM, Andrea Giammarchi
> <andrea.giammar...@gmail.com> wrote:
> > Done, 3 files fixed with RegExp test, if you want I can use indexOf where
> > possible (case sensitive, no different chars) but for me it is already
> > better than before.
> >
> > http://dev.jquery.com/ticket/4113
> >
> > Best Regards
> >
> > On Thu, Feb 12, 2009 at 3:31 PM, John Resig <jere...@gmail.com> wrote:
> >>
> >> Correct. Feel free to upload any patches to the bug, though!
> >>
> >> --John
> >>
> >>
> >>
> >> On Thu, Feb 12, 2009 at 10:21 AM, Andrea Giammarchi
> >> <andrea.giammar...@gmail.com> wrote:
> >> > Actually I was replacing from nightly ... but I guess I cannot commit
> >> > stuff,
> >> > right?
> >> >
> >> > On Thu, Feb 12, 2009 at 2:11 PM, John Resig <jere...@gmail.com>
> wrote:
> >> >>
> >> >> You should add that to this tracking bug:
> >> >> http://dev.jquery.com/ticket/4113
> >> >>
> >> >> --John
> >> >>
> >> >>
> >> >>
> >> >> On Thu, Feb 12, 2009 at 8:50 AM, Andrea Giammarchi
> >> >> <andrea.giammar...@gmail.com> wrote:
> >> >> > Guys, I spot a match in the core of the 1.3.1
> >> >> >
> >> >> > line 3294
> >> >> > s.url += (s.url.match(/\?/) ? "&" : "?") + (s.jsonp || "callback")
> +
> >> >> > "=?";
> >> >> >
> >> >> > in my opinion String.match used as true/false result is useless,
> >> >> > slow,
> >> >> > and
> >> >> > memory greedy
> >> >> >
> >> >> > /\?/.test(s) is about 2X faster
> >> >> >
> >> >> > ~s.indexOf("?") about 4 times faster
> >> >> >
> >> >> > Is anybody replacing these matches? It is widely used in the core:
> >> >> > if(name.match( /float/i ))
> >> >> >     name = styleFloat; // so why create a match in the if?
> >> >> >
> >> >> > Not sure if /float/i.test(name) would be faster than
> >> >> > ~name.toLowerCase().indexOf("float") but I could test if you want
> >> >> >
> >> >> > Regards
> >> >> >
> >> >> >
> >> >> > On Thu, Feb 12, 2009 at 1:39 PM, Andrea Giammarchi
> >> >> > <andrea.giammar...@gmail.com> wrote:
> >> >> >>
> >> >> >> $.ajax({
> >> >> >>     cache:false,
> >> >> >>     ...
> >> >> >> });
> >> >> >>
> >> >> >> On Thu, Feb 12, 2009 at 9:43 AM, squiddy <
> mr.squ...@googlemail.com>
> >> >> >> wrote:
> >> >> >>>
> >> >> >>> Hello,
> >> >> >>>
> >> >> >>> as far as I know, GET requests are far more often cached by the
> >> >> >>> browser than POST requests. So maybe this could be a problem
> here?
> >> >> >>> You
> >> >> >>> could try to use POST instead, or add a random value as parameter
> >> >> >>> to
> >> >> >>> the request, a timestamp for example.
> >> >> >>>
> >> >> >>> Otherwise, can you try to be more specific about "it is not
> >> >> >>> retrieving
> >> >> >>> latest data"? What does the ajax call return? What's your asp
> >> >> >>> script
> >> >> >>> doing?
> >> >> >>>
> >> >> >>> Besides, I'm just curious, are you passing raw sql commands to
> your
> >> >> >>> server from the outside? Seems like a huge security problem.
> >> >> >>>
> >> >> >>> Greets
> >> >> >>>
> >> >> >>> On Feb 11, 11:06 am, SUHAS <suh...@gmail.com> wrote:
> >> >> >>> > 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 =
> "<data><dbname>"+dbname+"</dbname><dbquery>"+qry
> >> >> >>> > +"</
> >> >> >>> > dbquery><maxrecs>"+n+"</maxrecs></data>";
> >> >> >>> >             if(verbose) alert(dbcommand);
> >> >> >>> >             var o = $.ajax({
> >> >> >>> >                                     type: "GET",
> >> >> >>> >                                     url:
> >> >> >>> > "http://localhost:1234/dbqex.aspx";,
> >> >> >>> >                                     data: "dbcmd="+dbcommand,
> >> >> >>> >                                     success: showMessage,
> >> >> >>> >
> >> >> >>> > error:function(req,textStatus,errorThrown){
> >> >> >>> >                                         // if url failes you
> will
> >> >> >>> > get
> >> >> >>> > textStatus = 'error'
> >> >> >>> >                                         // req and errorThrown
> do
> >> >> >>> > not
> >> >> >>> > contain info
> >> >> >>> >                                             alert(textStatus);}
> >> >> >>> >                     });
> >> >> >>> >
> >> >> >>> > }
> >> >> >>> >
> >> >> >>> > please help
> >> >> >>> >
> >> >> >>> > thanks in adv.
> >> >> >>> >
> >> >> >>> > Suhas
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >> > >
> >> >
> >>
> >>
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to