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

Method setTarget

static/widgets/fontscale.ts:145–149  ·  view source on GitHub ↗
(target: JQuery | string | IEditor)

Source from the content-addressed store, hash-verified

143 }
144
145 setTarget(target: JQuery | string | IEditor) {
146 this.fontSelectorOrEditor = target;
147 this.isFontOfStr = typeof this.fontSelectorOrEditor === 'string';
148 this.apply();
149 }
150}

Callers 2

constructorMethod · 0.95
setLanguageMethod · 0.80

Calls 1

applyMethod · 0.95

Tested by

no test coverage detected