.hgignore
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 08 Mar 2010 19:11:47 +0100
changeset 4830 10e8bc190695
parent 3990 14e14fef4460
child 7078 bad26a22fe29
permissions -rw-r--r--
[javascript] fix #736185: add_onload / jQuery.bind() vs. jQuery.one() This patch introduces a new 'server-response' event and deprecates the 'ajax-loaded' event. - 'server-response' is triggered by postAjaxLoad() (instead of 'ajax-loaded'). - 'server-response' is also triggered on document.ready(). - The add_onload() method binds the javascript code the 'server-response' event whether or not it's an ajax request, thus removing the need of the jsoncall hackish parameter. The binding is done with jQuery.one() instead of jQuery.bind(). - The javascript callbacks will be passed two extra parameters : a boolean to indicate if it's an ajax request or not, the DOM node (result of the HTTP query). As javascript is what it is, callbacks can safely ignore those two parameters if they don't need them. Backward compatibility is maintained by triggerring an 'ajax-loaded' event when a 'server-response' is emitted.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3116
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     1
\.svn
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     2
^build$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     3
^dist$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     4
\.pyc$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     5
\.pyo$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     6
\.bak$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     7
\.old$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     8
\~$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     9
\#.*?\#$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
    10
\.swp$
3990
14e14fef4460 hide en apidoc in .hgignore
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 3116
diff changeset
    11
^doc/book/en/apidoc$