##// END OF EJS Templates
Remove EventManager reset methods, because they violate encapsulation....
Remove EventManager reset methods, because they violate encapsulation. The whole idea of the EventManager is that you can register hooks without worrying about what hooks other pieces of code might be registering. The reset methods violate this separation of concerns, since they will blow away everyone else's hooks too. (See gh-6680 for an example of this breaking things.) Since there is never any safe way to use them, we simply remove them entirely.
Nathaniel J. Smith -
r18547:4043b271
Show More
Name Size Modified Last Commit Author
/ git-hooks
README.md Loading ...
install-hooks.sh Loading ...
post-checkout Loading ...
post-merge Loading ...

git hooks for IPython

add these to your .git/hooks

For now, we just have post-checkout and post-merge,
both of which update submodules and attempt to rebuild css sourcemaps,
so make sure that you have a fully synced repo whenever you checkout or pull.

To use these hooks, run ./install-hooks.sh.
If you havn't initialised and updated the submodules manually, you will then need to run git checkout master to activate the hooks (even if you already have master checked out).