2014-04-16 22:16 GMT+02:00 Hugues Peccatte <hugues.peccatte@gmail.com>:
2014-04-14 13:20 GMT+02:00 Michal Čihař <michal@cihar.com>:Hi
Dne Mon, 14 Apr 2014 09:53:52 +0200
Hugues Peccatte <hugues.peccatte@gmail.com> napsal(a):
Well we can also override jQuery.get to do what we want (basically
> I was looking for something more implicit, so we wouldn't have to change
> the calls to $.get. But that seems to be difficult, so your solution might
> be the best.
just wrapper around original code to do compose the URL correctly. That
might be cleaner approach.
Thanks for this very interesting feedback !I'll try to override the $.get method by this way.It's done… I overwrote $.get… But there is many Jquery methods which use the "&" as an URL parameter separator… I would have love that they have a $.getArgSeparator, like pMA, so we could overwrite this method only! :)We can overwrite all methods which use "&". But when we'll want to change the Jquery version, it will be a mess.Shall we continue to search a way to use another separator than "&"?Do you want we to push my work on my repository, so you can see what I've done?