all eslint errors fixed
This commit is contained in:
parent
1912150149
commit
3fd7f376e3
|
@ -45,7 +45,13 @@ export const loadBudibase = async opts => {
|
||||||
|
|
||||||
componentLibraries[builtinLibName] = builtins(_window)
|
componentLibraries[builtinLibName] = builtins(_window)
|
||||||
|
|
||||||
const { initialisePage, screenStore, pageStore, routeTo, rootNode } = createApp(
|
const {
|
||||||
|
initialisePage,
|
||||||
|
screenStore,
|
||||||
|
pageStore,
|
||||||
|
routeTo,
|
||||||
|
rootNode,
|
||||||
|
} = createApp(
|
||||||
componentLibraries,
|
componentLibraries,
|
||||||
frontendDefinition,
|
frontendDefinition,
|
||||||
backendDefinition,
|
backendDefinition,
|
||||||
|
@ -59,16 +65,13 @@ export const loadBudibase = async opts => {
|
||||||
? _window.location.pathname.replace(frontendDefinition.appRootPath, "")
|
? _window.location.pathname.replace(frontendDefinition.appRootPath, "")
|
||||||
: ""
|
: ""
|
||||||
|
|
||||||
|
initialisePage(frontendDefinition.page, _window.document.body, route)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
rootNode: initialisePage(
|
|
||||||
frontendDefinition.page,
|
|
||||||
_window.document.body,
|
|
||||||
route
|
|
||||||
),
|
|
||||||
screenStore,
|
screenStore,
|
||||||
pageStore,
|
pageStore,
|
||||||
routeTo,
|
routeTo,
|
||||||
rootNode
|
rootNode,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue