summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/vendor/mitt/dist/mitt.js
diff options
context:
space:
mode:
Diffstat (limited to 'remote/test/puppeteer/vendor/mitt/dist/mitt.js')
-rw-r--r--remote/test/puppeteer/vendor/mitt/dist/mitt.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote/test/puppeteer/vendor/mitt/dist/mitt.js b/remote/test/puppeteer/vendor/mitt/dist/mitt.js
new file mode 100644
index 0000000000..2bd0cf9e44
--- /dev/null
+++ b/remote/test/puppeteer/vendor/mitt/dist/mitt.js
@@ -0,0 +1,2 @@
+module.exports=function(n){return{all:n=n||new Map,on:function(e,t){var i=n.get(e);i&&i.push(t)||n.set(e,[t])},off:function(e,t){var i=n.get(e);i&&i.splice(i.indexOf(t)>>>0,1)},emit:function(e,t){(n.get(e)||[]).slice().map(function(n){n(t)}),(n.get("*")||[]).slice().map(function(n){n(e,t)})}}};
+//# sourceMappingURL=mitt.js.map