mobile-navigation-controller
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -297,3 +297,2 @@ "use strict"; | ||
try { | ||
//סיום האפליקציה, סגור | ||
@@ -457,24 +456,6 @@ if (this.state.historyPages.length === 1 && goToPage === undefined) { | ||
case 0: | ||
_context.t0 = this.props && this.props.beforBack; | ||
if (!_context.t0) { | ||
_context.next = 5; | ||
break; | ||
} | ||
_context.next = 4; | ||
return this.props.beforBack(); | ||
case 4: | ||
_context.t0 = _context.sent; | ||
case 5: | ||
if (!_context.t0) { | ||
_context.next = 7; | ||
break; | ||
} | ||
// if (this.props && this.props.beforBack && (await this.props.beforBack())) | ||
fthis.changePage(window.location.href.substr(window.location.href.lastIndexOf("/") + 2) === "" ? fthis.state.homePageKey : window.location.href.substr(window.location.href.lastIndexOf("/") + 2)); | ||
case 7: | ||
case 1: | ||
case "end": | ||
@@ -481,0 +462,0 @@ return _context.stop(); |
{ | ||
"name": "mobile-navigation-controller", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Navigator for JavaScript mobile app, This will help you to manage your pages history in the app and change pages with animation.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
1287245
30079