@symbo.ls/create 2.10.234 → 2.10.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -2
- package/package.json +2 -2
- package/router.js +0 -1
- package/utilImports.js +2 -1
package/index.js
CHANGED
|
@@ -34,8 +34,6 @@ export const create = async (App, options = DEFAULT_CREATE_OPTIONS, optionsExter
|
|
|
34
34
|
const doc = options.parent || options.document || document
|
|
35
35
|
const [scratchSystem, emotion, registry] = initEmotion(key, options)
|
|
36
36
|
|
|
37
|
-
const router = initRouter(App, options) // eslint-disable-line
|
|
38
|
-
|
|
39
37
|
const state = options.state || {}
|
|
40
38
|
const pages = options.pages || {}
|
|
41
39
|
const components = options.components ? { ...uikit, ...options.components } : uikit
|
|
@@ -43,6 +41,7 @@ export const create = async (App, options = DEFAULT_CREATE_OPTIONS, optionsExter
|
|
|
43
41
|
const snippets = { ...utils, ...utils.scratchUtils, ...(options.snippets || {}) }
|
|
44
42
|
const define = options.define || defaultDefine
|
|
45
43
|
|
|
44
|
+
const router = initRouter(App, options) // eslint-disable-line
|
|
46
45
|
const extend = applySyncDebug([App], options)
|
|
47
46
|
|
|
48
47
|
const domqlApp = DOM.create({
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/create",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.235",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"gitHead": "
|
|
5
|
+
"gitHead": "74059cde606e629bc07411cf0ed71cc204056d3a",
|
|
6
6
|
"source": "index.js",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"dependencies": {
|
package/router.js
CHANGED
|
@@ -17,7 +17,6 @@ export const initRouter = (root, options) => {
|
|
|
17
17
|
if (routerOptions === true) routerOptions = DEFAULT_ROUTING_OPTIONS
|
|
18
18
|
|
|
19
19
|
const router = options.snippets && options.snippets.router || defaultRouter
|
|
20
|
-
console.log(options.snippets)
|
|
21
20
|
|
|
22
21
|
const onRender = (el, s) => {
|
|
23
22
|
if (el.routes) router(el, window.location.pathname, {})
|
package/utilImports.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import { scratchUtils, scratchSystem, set } from '@symbo.ls/scratch'
|
|
4
4
|
|
|
5
|
+
export { scratchUtils, scratchSystem, set }
|
|
5
6
|
export * from '@domql/utils'
|
|
6
7
|
export * from '@symbo.ls/utils'
|
|
7
8
|
export { init, updateReset } from '@symbo.ls/init'
|