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

Method updateButtons

static/panes/editor.ts:696–708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

694 }
695
696 updateButtons(): void {
697 if (options.thirdPartyIntegrationEnabled) {
698 if (this.currentLanguage?.id === 'c++') {
699 this.cppInsightsButton.show();
700 this.quickBenchButton.show();
701 } else {
702 this.cppInsightsButton.hide();
703 this.quickBenchButton.hide();
704 }
705 }
706
707 this.addExecutorButton.prop('disabled', !this.currentLanguage?.supportsExecute);
708 }
709
710 b64UTFEncode(str: string): string {
711 return Buffer.from(

Callers 1

updateStateMethod · 0.95

Calls 2

showMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected