1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/mitt/dist/mitt.js

2 lines
294 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
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