MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / setSettings

Method setSettings

static/settings.ts:252–255  ·  view source on GitHub ↗
(newSettings: SiteSettings)

Source from the content-addressed store, hash-verified

250 }
251
252 public setSettings(newSettings: SiteSettings) {
253 this.onSettingsChange(newSettings);
254 this.onChange(newSettings);
255 }
256
257 private onUiChange() {
258 for (const setting of this.settingsObjs) {

Callers 2

setupSettingsFunction · 0.95
constructorMethod · 0.95

Calls 2

onSettingsChangeMethod · 0.95
onChangeMethod · 0.80

Tested by

no test coverage detected