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):
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.
Well we can also override jQuery.get to do what we want (basically just wrapper around original code to do compose the URL correctly. That might be cleaner approach.
Thanks for this very interesting feedback ! I found this : http://www.bennadel.com/blog/1624-ask-ben-overriding-core-jquery-methods.htm
I'll try to override the $.get method by this way.
Hugues.