framework7-react
Advanced tools
Comparing version 6.0.6 to 6.0.7
/** | ||
* Framework7 React 6.0.6 | ||
* Framework7 React 6.0.7 | ||
* Build full featured iOS & Android apps using Framework7 & React | ||
@@ -10,3 +10,3 @@ * https://framework7.io/react/ | ||
* | ||
* Released on: January 26, 2021 | ||
* Released on: February 5, 2021 | ||
*/ | ||
@@ -13,0 +13,0 @@ "use strict"; |
@@ -45,2 +45,3 @@ "use strict"; | ||
}); | ||
if (typeof params.store !== 'undefined') f7Params.store = params.store; | ||
if (!f7Params.routes) f7Params.routes = []; | ||
@@ -47,0 +48,0 @@ |
@@ -23,3 +23,9 @@ "use strict"; | ||
if (initialRoute && initialRoute.route && (initialRoute.route.component || initialRoute.route.asyncComponent) && !initialRoute.route.master) { | ||
var isMasterRoute = function isMasterRoute(route) { | ||
if (route.master === true) return true; | ||
if (typeof route.master === 'function') return route.master(router.app); | ||
return false; | ||
}; | ||
if (initialRoute && initialRoute.route && (initialRoute.route.component || initialRoute.route.asyncComponent) && !isMasterRoute(initialRoute.route)) { | ||
initialComponentData = { | ||
@@ -26,0 +32,0 @@ component: initialRoute.route.component || initialRoute.route.asyncComponent, |
/** | ||
* Framework7 React 6.0.6 | ||
* Framework7 React 6.0.7 | ||
* Build full featured iOS & Android apps using Framework7 & React | ||
@@ -10,3 +10,3 @@ * https://framework7.io/react/ | ||
* | ||
* Released on: January 26, 2021 | ||
* Released on: February 5, 2021 | ||
*/ | ||
@@ -13,0 +13,0 @@ import Framework7React from './shared/plugin'; |
@@ -30,2 +30,3 @@ /* eslint-disable import/no-mutable-exports */ | ||
}); | ||
if (typeof params.store !== 'undefined') f7Params.store = params.store; | ||
if (!f7Params.routes) f7Params.routes = []; | ||
@@ -32,0 +33,0 @@ |
@@ -17,3 +17,9 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
if (initialRoute && initialRoute.route && (initialRoute.route.component || initialRoute.route.asyncComponent) && !initialRoute.route.master) { | ||
var isMasterRoute = function isMasterRoute(route) { | ||
if (route.master === true) return true; | ||
if (typeof route.master === 'function') return route.master(router.app); | ||
return false; | ||
}; | ||
if (initialRoute && initialRoute.route && (initialRoute.route.component || initialRoute.route.asyncComponent) && !isMasterRoute(initialRoute.route)) { | ||
initialComponentData = { | ||
@@ -20,0 +26,0 @@ component: initialRoute.route.component || initialRoute.route.asyncComponent, |
{ | ||
"name": "framework7-react", | ||
"version": "6.0.6", | ||
"version": "6.0.7", | ||
"description": "Build full featured iOS & Android apps using Framework7 & React", | ||
@@ -5,0 +5,0 @@ "main": "cjs/framework7-react.js", |
947622
22100