MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

static/sharing.ts:94–97  ·  view source on GitHub ↗
(layout: GoldenLayout)

Source from the content-addressed store, hash-verified

92 protected lastState: string | null = null;
93
94 constructor(layout: GoldenLayout) {
95 this.layout = layout;
96 this.initCallbacks();
97 }
98
99 protected initCallbacks(): void {
100 this.layout.on('stateChanged', this.onStateChanged.bind(this));

Callers

nothing calls this directly

Calls 1

initCallbacksMethod · 0.95

Tested by

no test coverage detected