MCPcopy Create free account
hub / github.com/apitable/apitable / initializer

Function initializer

packages/datasheet/src/pc/common/initializer.ts:89–106  ·  view source on GitHub ↗
(comlink: any)

Source from the content-addressed store, hash-verified

87}
88
89export function initializer(comlink: any) {
90 initAxios(comlink.store);
91
92 if (getBrowserDatabusApiEnabled()) {
93 WasmApi.initializeDatabusWasm().then((r) => {});
94 } else {
95 console.log('web assembly is not supported');
96 }
97
98 window.__global_handle_response = handleResponse;
99
100 // Initialisation Field.bindModel
101 injectStore(comlink.store);
102 initCronjobs(comlink.store);
103 initDayjs(comlink);
104
105 initBugTracker();
106}
107

Callers 1

initWorkerFunction · 0.90

Calls 7

initAxiosFunction · 0.90
injectStoreFunction · 0.90
initCronjobsFunction · 0.90
initDayjsFunction · 0.85
initBugTrackerFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected