Open
Description
Why we don't just use the MicroEvent-function instead?
var MicroEvent = function (obj) {
var props = ['on', 'off', 'trigger'],
i = props.length;
// https://github.com/jeromeetienne/microevent.js/issues/14#issuecomment-14873127
obj = typeof obj === "function" ? obj.prototype : obj;
while (i--) obj[props[i]] = Eventer.prototype[props[i]];
};
Metadata
Metadata
Assignees
Labels
No labels