pome-ui 2.0.0-preview6 → 2.0.0-preview7
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/package.json +1 -1
- package/pome-ui.dev.js +10 -0
- package/pome-ui.dev.min.js +1 -1
- package/pome-ui.js +10 -0
- package/pome-ui.min.js +1 -1
package/pome-ui.js
CHANGED
|
@@ -1499,6 +1499,15 @@ function build(options, exports) {
|
|
|
1499
1499
|
eval(js);
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
|
+
|
|
1503
|
+
function UseInlineAddin(script) {
|
|
1504
|
+
var Addin = function (view, opt) {
|
|
1505
|
+
exports._addins.push({ view, opt });
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
eval(script);
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1502
1511
|
exports.root = root;
|
|
1503
1512
|
exports.useConfig = UseConfig;
|
|
1504
1513
|
exports.mapRoute = MapRoute;
|
|
@@ -1510,6 +1519,7 @@ function build(options, exports) {
|
|
|
1510
1519
|
exports.mount = mount;
|
|
1511
1520
|
exports.useRoutes = useRoutes;
|
|
1512
1521
|
exports.useAddin = UseAddin;
|
|
1522
|
+
exports.useInlineAddin = UseInlineAddin;
|
|
1513
1523
|
|
|
1514
1524
|
return exports;
|
|
1515
1525
|
};
|