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

Method initButtons

static/compiler-shared.ts:71–80  ·  view source on GitHub ↗
(onChange: () => void)

Source from the content-addressed store, hash-verified

69 }
70
71 private initButtons(onChange: () => void) {
72 this.overridesButton = this.domRoot.find('.btn.show-overrides');
73
74 this.overridesWidget = new CompilerOverridesWidget(this.overridesButton, onChange);
75
76 this.runtimeToolsButton = this.domRoot.find('.btn.show-runtime-tools');
77 if (this.runtimeToolsButton.length > 0) {
78 this.runtimeToolsWidget = new RuntimeToolsWidget(this.runtimeToolsButton, onChange);
79 }
80 }
81
82 private initCallbacks() {
83 this.overridesButton.on('click', () => {

Callers 1

constructorMethod · 0.95

Calls 1

findMethod · 0.80

Tested by

no test coverage detected