前端代码
This commit is contained in:
9
node_modules/socket.io-client/build/cjs/on.js
generated
vendored
Normal file
9
node_modules/socket.io-client/build/cjs/on.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.on = on;
|
||||
function on(obj, ev, fn) {
|
||||
obj.on(ev, fn);
|
||||
return function subDestroy() {
|
||||
obj.off(ev, fn);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user