MCPcopy Create free account
hub / github.com/Make-md/makemd / constructor

Method constructor

src/shared/utils/inputManager.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3export class InputManager {
4 private events: { [key: string]: Function[] } = {};
5 constructor() {
6 this.addListeners();
7 }
8
9 on(eventName: string, listener: Function) {
10 if (!this.events[eventName]) {

Callers

nothing calls this directly

Calls 1

addListenersMethod · 0.95

Tested by

no test coverage detected