Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clearing listeners #693

Closed
pkra opened this issue Dec 12, 2013 · 5 comments

Comments

Projects
None yet
2 participants
@pkra
Copy link
Member

commented Dec 12, 2013

This feature request came up on the user group, cf. https://github.com/mathjax/MathJax-docs/wiki/How-to-stop-listening-or-un-register-from-a-messagehook

As per Davide: "there probably should be an API".

@dpvc dpvc modified the milestone: Bugfix Version Feb 13, 2014

dpvc pushed a commit to dpvc/MathJax that referenced this issue Feb 13, 2014

dpvc pushed a commit to dpvc/MathJax that referenced this issue Aug 18, 2014

@dpvc dpvc added Merged and removed Ready for Development labels Aug 18, 2014

@dpvc dpvc added this to the Next Release milestone Aug 18, 2014

@dpvc

This comment has been minimized.

Copy link
Member

commented Aug 18, 2014

==> Merged.

@dpvc

This comment has been minimized.

Copy link
Member

commented Aug 18, 2014

This will need to be documented.

@dpvc dpvc closed this Aug 18, 2014

@pkra pkra referenced this issue Jan 14, 2015

Closed

2.5 release work #78

16 of 16 tasks complete
@pkra

This comment has been minimized.

Copy link
Member Author

commented Jan 14, 2015

I'm not sure where and how this should be documented. @dpvc can you make a suggestion?

@dpvc

This comment has been minimized.

Copy link
Member

commented Jan 14, 2015

It probably belongs in hub/api.rst where the Register commands are documented. There are now UnRegister commands that correspond to each. Note that the Register commands now return an object to be passed to the UnRegister commands.

There is also a new RemoveHook() method in api/signal.rst, and there is a new removeHook() in api/ajax.rst, though that one is intended for internal use (like addHook()), but I could see including it since LoadHook() is already there, and removeHook() undoes that.

@pkra pkra self-assigned this Jan 16, 2015

@pkra pkra removed their assignment Jan 20, 2015

dpvc pushed a commit to mathjax/MathJax-test that referenced this issue Jan 21, 2015

@dpvc dpvc added Test Available and removed Test Needed labels Jan 21, 2015

@dpvc

This comment has been minimized.

Copy link
Member

commented Jan 21, 2015

==> In Testsuite

API/Hub/remove-hooks.html

@pkra pkra self-assigned this Jan 21, 2015

@dpvc dpvc added Fixed v2.5 and removed Merged labels Jan 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.