We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ac0946 commit bed92d5Copy full SHA for bed92d5
1 file changed
src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js
@@ -1,14 +1,10 @@
1
-import { addScript, addLink, getTheme } from '../BootstrapBlazor/modules/utility.js'
+import { addScript, getTheme } from '../BootstrapBlazor/modules/utility.js'
2
import DataService from './data-service.js'
3
4
-const loadAssets = async lang => {
5
- await addLink('./_content/BootstrapBlazor.UniverSheet/css/univer-sheet.bundle.css');
+export async function createUniverSheetAsync(sheet) {
6
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univer-bundle.js');
7
-}
8
9
-export async function createUniverSheetAsync(sheet) {
10
sheet.lang = sheet.lang ?? 'en-US';
11
- await loadAssets(sheet.lang);
12
const { el } = sheet;
13
const { LocaleType, merge } = UniverCore;
14
const { createUniver } = UniverPresets;
0 commit comments