Skip to content

Use the public on method when listening (rebased ver. of #3615)#4043

Closed
alexbaumgertner wants to merge 4 commits intojashkenas:masterfrom
alexbaumgertner:private-listening-public-on
Closed

Use the public on method when listening (rebased ver. of #3615)#4043
alexbaumgertner wants to merge 4 commits intojashkenas:masterfrom
alexbaumgertner:private-listening-public-on

Conversation

@alexbaumgertner
Copy link
Copy Markdown

Originally from #3615

jridgewell and others added 4 commits June 14, 2016 00:15
This uses a private `listening` var to share state between a Backbone
"listener" and "listenee", instead of using a private `internalOn()` to
share state. This allows `#listenTo` to use the public `#on` method and
keeps interop between Backbone and any other event library.
A more descriptive name for what the property signifies.
@alexbaumgertner
Copy link
Copy Markdown
Author

obsolete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants