-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Using the 1.1.2 release, listenTo() was able to listen for events from objects that provide the typical on() interface; in our case, an Ace editor session, which emits 'change' events, e.g., EditSession.on('change', function (e)). Under 1.1.2, we've used listenTo() to listen for these events from the editor session.
Using the 1.2.0 release, listenTo() does not appear to be able to listen for these events; they're emitted, and the editor session is present in the View's _listeningTo, but the callback is no longer fired.
We were using listenTo() for automatic cleanup of the listener function. Curious if this was never supposed to work in this manner, or if it's a bug. The changes to listening in 1.2.0 are quite extensive, so it's a bit difficult to see what might be the key difference for one unfamiliar with them.