Skip to content

Commit

Permalink
3.0.0-beta.19 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jul 3, 2018
1 parent 07f092a commit c869e09
Show file tree
Hide file tree
Showing 33 changed files with 53 additions and 41 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Change Log

# [v3.0.0-beta.19](https://github.com/framework7io/framework7/compare/v3.0.0-beta.18...v3.0.0-beta.19) - July 3, 2018
* Core
* Router
* View/Router parameter `beforeLeave` renamed to `routesBeforeLeave`
* View/Router parameter `beforeEnter` renamed to `routesBeforeEnter`

# [v3.0.0-beta.18](https://github.com/framework7io/framework7/compare/v3.0.0-beta.17...v3.0.0-beta.18) - July 3, 2018
* Core
* Router
Expand Down
3 changes: 3 additions & 0 deletions packages/core/components/view/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ export default {
// Delays
iosPageLoadDelay: 0,
materialPageLoadDelay: 0,
// Routes hooks
routesBeforeEnter: null,
routesBeforeLeave: null,
},
},
static: {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/css/framework7.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/css/framework7.ios.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/css/framework7.ios.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/css/framework7.md.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/css/framework7.md.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/css/framework7.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/css/framework7.rtl.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/css/framework7.rtl.ios.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/css/framework7.rtl.ios.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/css/framework7.rtl.md.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/css/framework7.rtl.md.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/css/framework7.rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/framework7.esm.bundle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/framework7.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/core/framework7.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down
13 changes: 8 additions & 5 deletions packages/core/js/framework7.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 3.0.0-beta.18
* Framework7 3.0.0-beta.19
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
Expand Down Expand Up @@ -5841,11 +5841,11 @@
function processRouteQueue (to, from, resolve, reject) {
var router = this;
function enterNextRoute() {
if (to && to.route && (router.params.beforeEnter || to.route.beforeEnter)) {
if (to && to.route && (router.params.routesBeforeEnter || to.route.beforeEnter)) {
router.allowPageChange = false;
processQueue(
router,
router.params.beforeEnter,
router.params.routesBeforeEnter,
to.route.beforeEnter,
to,
from,
Expand All @@ -5862,11 +5862,11 @@
}
}
function leaveCurrentRoute() {
if (from && from.route && (router.params.beforeLeave || from.route.beforeLeave)) {
if (from && from.route && (router.params.routesBeforeLeave || from.route.beforeLeave)) {
router.allowPageChange = false;
processQueue(
router,
router.params.beforeLeave,
router.params.routesBeforeLeave,
from.route.beforeLeave,
to,
from,
Expand Down Expand Up @@ -9477,6 +9477,9 @@
// Delays
iosPageLoadDelay: 0,
materialPageLoadDelay: 0,
// Routes hooks
routesBeforeEnter: null,
routesBeforeLeave: null,
},
},
static: {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/js/framework7.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core/js/framework7.min.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/core/modules/router/process-route-queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ function processQueue(router, routerQueue, routeQueue, to, from, resolve, reject
export default function (to, from, resolve, reject) {
const router = this;
function enterNextRoute() {
if (to && to.route && (router.params.beforeEnter || to.route.beforeEnter)) {
if (to && to.route && (router.params.routesBeforeEnter || to.route.beforeEnter)) {
router.allowPageChange = false;
processQueue(
router,
router.params.beforeEnter,
router.params.routesBeforeEnter,
to.route.beforeEnter,
to,
from,
Expand All @@ -60,11 +60,11 @@ export default function (to, from, resolve, reject) {
}
}
function leaveCurrentRoute() {
if (from && from.route && (router.params.beforeLeave || from.route.beforeLeave)) {
if (from && from.route && (router.params.routesBeforeLeave || from.route.beforeLeave)) {
router.allowPageChange = false;
processQueue(
router,
router.params.beforeLeave,
router.params.routesBeforeLeave,
from.route.beforeLeave,
to,
from,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework7",
"version": "3.0.0-beta.18",
"version": "3.0.0-beta.19",
"description": "Full featured mobile HTML framework for building iOS & Android apps",
"main": "js/framework7.js",
"jsnext:main": "framework7.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/framework7-react.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 React 3.0.0-beta.18
* Framework7 React 3.0.0-beta.19
* Build full featured iOS & Android apps using Framework7 & React
* http://framework7.io/react/
*
Expand Down
4 changes: 2 additions & 2 deletions packages/react/framework7-react.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 React 3.0.0-beta.18
* Framework7 React 3.0.0-beta.19
* Build full featured iOS & Android apps using Framework7 & React
* http://framework7.io/react/
*
Expand Down Expand Up @@ -10626,7 +10626,7 @@
};

/**
* Framework7 React 3.0.0-beta.18
* Framework7 React 3.0.0-beta.19
* Build full featured iOS & Android apps using Framework7 & React
* http://framework7.io/react/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/react/framework7-react.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react/framework7-react.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework7-react",
"version": "3.0.0-beta.18",
"version": "3.0.0-beta.19",
"description": "Build full featured iOS & Android apps using Framework7 & React",
"main": "framework7-react.js",
"jsnext:main": "framework7-react.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/framework7-vue.esm.bundle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 Vue 3.0.0-beta.18
* Framework7 Vue 3.0.0-beta.19
* Build full featured iOS & Android apps using Framework7 & Vue
* http://framework7.io/vue/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/framework7-vue.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 Vue 3.0.0-beta.18
* Framework7 Vue 3.0.0-beta.19
* Build full featured iOS & Android apps using Framework7 & Vue
* http://framework7.io/vue/
*
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/framework7-vue.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Framework7 Vue 3.0.0-beta.18
* Framework7 Vue 3.0.0-beta.19
* Build full featured iOS & Android apps using Framework7 & Vue
* http://framework7.io/vue/
*
Expand Down Expand Up @@ -9626,7 +9626,7 @@
};

/**
* Framework7 Vue 3.0.0-beta.18
* Framework7 Vue 3.0.0-beta.19
* Build full featured iOS & Android apps using Framework7 & Vue
* http://framework7.io/vue/
*
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/framework7-vue.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/vue/framework7-vue.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework7-vue",
"version": "3.0.0-beta.18",
"version": "3.0.0-beta.19",
"description": "Build full featured iOS & Android apps using Framework7 & Vue",
"main": "framework7-vue.js",
"jsnext:main": "framework7-vue.esm.js",
Expand Down

0 comments on commit c869e09

Please sign in to comment.