forked from zhurui/management
2 lines
294 B
JavaScript
2 lines
294 B
JavaScript
|
function n(n){return n=n||Object.create(null),{on:function(t,o){(n[t]||(n[t]=[])).push(o)},off:function(t,o){n[t]&&n[t].splice(n[t].indexOf(o)>>>0,1)},emit:function(t,o){(n[t]||[]).map(function(n){n(o)}),(n["*"]||[]).map(function(n){n(t,o)})}}}module.exports=n;
|
||
|
//# sourceMappingURL=mitt.js.map
|