##// END OF EJS Templates
extensions: extract partial application into a bind() function...
extensions: extract partial application into a bind() function We use partial function application for wrapping existing Mercurial functions, and it's implemented separately each time. This patch extracts the partial application into a new bind() function that can be used on its own by extensions when appropriate. In particular, the evolve extension needs to wrap functions in the various bundle2 processing dictionaries, which the pre-existing methods don't support.
Eric Sumner -
r24734:fb6cb1b8 default
Show More
Name Size Modified Last Commit Author
/ mercurial / templates / static
background.png Loading ...
coal-file.png Loading ...
coal-folder.png Loading ...
excanvas.js Loading ...
feed-icon-14x14.png Loading ...
hgicon.png Loading ...
hglogo.png Loading ...
mercurial.js Loading ...
style-coal.css Loading ...
style-gitweb.css Loading ...
style-monoblue.css Loading ...
style-paper.css Loading ...
style.css Loading ...