MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / EventEmitter

Function EventEmitter

docs/static/js/bulma-carousel.js:280–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278
279var EventEmitter = function () {
280 function EventEmitter() {
281 var events = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
282
283 _classCallCheck(this, EventEmitter);
284
285 this.events = new Map(events);
286 }
287
288 _createClass(EventEmitter, [{
289 key: "on",

Callers

nothing calls this directly

Calls 1

_classCallCheckFunction · 0.70

Tested by

no test coverage detected