MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / pushExtension

Function pushExtension

src/cm/mainEditorExtensions.ts:17–20  ·  view source on GitHub ↗
(target: Extension[], extension?: Extension)

Source from the content-addressed store, hash-verified

15}
16
17function pushExtension(target: Extension[], extension?: Extension): void {
18 if (extension == null) return;
19 target.push(extension);
20}
21
22export const fixedHeightTheme = EditorView.theme({
23 "&": { height: "100%" },

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected