@symbo.ls/create 3.0.2 → 3.0.3
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/dist/cjs/createDomql.js +2 -0
- package/dist/esm/createDomql.js +2 -0
- package/package.json +2 -2
- package/src/createDomql.js +2 -0
package/dist/cjs/createDomql.js
CHANGED
|
@@ -57,6 +57,8 @@ const prepareContext = (app, context = {}) => {
|
|
|
57
57
|
context.methods = (0, import_prepare.prepareMethods)(context);
|
|
58
58
|
context.routerOptions = (0, import_router.initRouter)(app, context);
|
|
59
59
|
context.defaultExtends = [uikit.Box];
|
|
60
|
+
context.snippets = context.snippets || {};
|
|
61
|
+
context.functions = context.functions || {};
|
|
60
62
|
return context;
|
|
61
63
|
};
|
|
62
64
|
const createDomqlElement = async (app, ctx) => {
|
package/dist/esm/createDomql.js
CHANGED
|
@@ -49,6 +49,8 @@ const prepareContext = (app, context = {}) => {
|
|
|
49
49
|
context.methods = prepareMethods(context);
|
|
50
50
|
context.routerOptions = initRouter(app, context);
|
|
51
51
|
context.defaultExtends = [uikit.Box];
|
|
52
|
+
context.snippets = context.snippets || {};
|
|
53
|
+
context.functions = context.functions || {};
|
|
52
54
|
return context;
|
|
53
55
|
};
|
|
54
56
|
const createDomqlElement = async (app, ctx) => {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/create",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"gitHead": "
|
|
5
|
+
"gitHead": "142563ae8a15136b55c05a48ccd1a138f746b383",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"main": "src/index.js",
|
package/src/createDomql.js
CHANGED
|
@@ -39,6 +39,8 @@ export const prepareContext = (app, context = {}) => {
|
|
|
39
39
|
context.methods = prepareMethods(context)
|
|
40
40
|
context.routerOptions = initRouter(app, context)
|
|
41
41
|
context.defaultExtends = [uikit.Box]
|
|
42
|
+
context.snippets = context.snippets || {}
|
|
43
|
+
context.functions = context.functions || {}
|
|
42
44
|
return context
|
|
43
45
|
}
|
|
44
46
|
|