add dist files
This commit is contained in:
parent
033b881106
commit
93d26c05fd
@ -8,3 +8,4 @@ CURRENT_DIR=$(cd $(dirname $0); pwd)
|
|||||||
|
|
||||||
cd $CURRENT_DIR/doric-js && npm run build
|
cd $CURRENT_DIR/doric-js && npm run build
|
||||||
cd $CURRENT_DIR/doric-demo && npm run build
|
cd $CURRENT_DIR/doric-demo && npm run build
|
||||||
|
cd $CURRENT_DIR/doric-web && npm run build
|
8
doric-web/dist/index.js
vendored
8
doric-web/dist/index.js
vendored
@ -3396,12 +3396,12 @@ function navbar(context) {
|
|||||||
|
|
||||||
function navigator(context) {
|
function navigator(context) {
|
||||||
return {
|
return {
|
||||||
push: (scheme, config) => {
|
push: (source, config) => {
|
||||||
if (config && config.extra) {
|
if (config && config.extra) {
|
||||||
config.extra = JSON.stringify(config.extra);
|
config.extra = JSON.stringify(config.extra);
|
||||||
}
|
}
|
||||||
return context.callNative('navigator', 'push', {
|
return context.callNative('navigator', 'push', {
|
||||||
scheme, config
|
source, config
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
pop: (animated = true) => {
|
pop: (animated = true) => {
|
||||||
@ -4811,8 +4811,8 @@ var doric_web = (function (exports, axios, sandbox) {
|
|||||||
var _a;
|
var _a;
|
||||||
if (this.navigation) {
|
if (this.navigation) {
|
||||||
const div = new DoricElement;
|
const div = new DoricElement;
|
||||||
div.src = args.scheme;
|
div.src = args.source;
|
||||||
div.alias = ((_a = args.config) === null || _a === void 0 ? void 0 : _a.alias) || args.scheme;
|
div.alias = ((_a = args.config) === null || _a === void 0 ? void 0 : _a.alias) || args.source;
|
||||||
this.navigation.push(div);
|
this.navigation.push(div);
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -10,6 +10,8 @@ CURRENT_VERSION=$(cat $CURRENT_DIR/version)
|
|||||||
|
|
||||||
echo "Current version is "$CURRENT_VERSION
|
echo "Current version is "$CURRENT_VERSION
|
||||||
|
|
||||||
|
cd $CURRENT_DIR && sh bundle.sh
|
||||||
|
|
||||||
# Modify
|
# Modify
|
||||||
|
|
||||||
## JS
|
## JS
|
||||||
|
Reference in New Issue
Block a user