Last modified: 2014-09-19 18:50:38 UTC
Right now, Mantle's event emitter is just a wrapper around jQuery, and its API is an exact subset of OO.EventEmitter's API (apart from the naming of .one() vs .once()). I wrote some ugly code that replaces Mantle's EventEmitter with OO's, and the tests still run. It would be nice if we could have Mantle use OO.EventEmitter, but this isn't entirely trivial to rig up because OOjs's and Mantle's OO models are different.
Change 129336 had a related patch set uploaded by Jdlrobson: Use Mantle version of Class, eventemitter and View https://gerrit.wikimedia.org/r/129336
Change 129336 merged by jenkins-bot: Use Mantle version of Class, eventemitter and View https://gerrit.wikimedia.org/r/129336