@lytjs/core 6.7.0 → 6.8.0
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/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1556 -0
- package/dist/index.d.ts +1556 -0
- package/dist/index.mjs +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/index.cjs
CHANGED
|
@@ -965,10 +965,7 @@ function createApp(rootComponent, rootProps = null, options) {
|
|
|
965
965
|
if (typeof plugin === "function") {
|
|
966
966
|
plugin(app, ...options2);
|
|
967
967
|
} else if (plugin && typeof plugin.install === "function") {
|
|
968
|
-
plugin.install(
|
|
969
|
-
app,
|
|
970
|
-
...options2
|
|
971
|
-
);
|
|
968
|
+
plugin.install(app, ...options2);
|
|
972
969
|
}
|
|
973
970
|
}
|
|
974
971
|
installedPlugins.add(plugin);
|
|
@@ -3347,7 +3344,11 @@ function getGlobalErrorReporter() {
|
|
|
3347
3344
|
return globalReporter;
|
|
3348
3345
|
}
|
|
3349
3346
|
function createElement(type, props, ...children) {
|
|
3350
|
-
return vdom.createVNode(
|
|
3347
|
+
return vdom.createVNode(
|
|
3348
|
+
type,
|
|
3349
|
+
props,
|
|
3350
|
+
children
|
|
3351
|
+
);
|
|
3351
3352
|
}
|
|
3352
3353
|
function ErrorBoundary(props) {
|
|
3353
3354
|
props.maxRetries ?? 3;
|