https://bugzilla.wikimedia.org/show_bug.cgi?id=67107

            Bug ID: 67107
           Summary: Merge Mantle event emitter and OO.EventEmitter
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Mantle
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to