1
1
2
2
/*!
3
- * NativeScript-Vue-Template-Compiler v0.7.6
3
+ * NativeScript-Vue-Template-Compiler v0.7.7
4
4
* (Using Vue v2.5.13)
5
5
* (c) 2017-2018 rigor789
6
6
* Released under the MIT license.
@@ -12078,9 +12078,7 @@ console.keys = function(object) {
12078
12078
application__default . on ( application__default . exitEvent , function ( ) {
12079
12079
var frame$$1 = frame . topmost ( ) ;
12080
12080
if ( frame$$1 ) {
12081
- console . log ( frame$$1 ) ;
12082
12081
frame$$1 . eachChildView ( function ( child ) {
12083
- console . log ( 'found child' ) ;
12084
12082
var vm = child [ VUE_VM_REF ] ;
12085
12083
12086
12084
if ( vm ) {
@@ -12091,6 +12089,27 @@ application__default.on(application__default.exitEvent, function () {
12091
12089
}
12092
12090
} ) ;
12093
12091
12092
+ global . __onLiveSyncCore = function ( ) {
12093
+ var frame$$1 = frame . topmost ( ) ;
12094
+ if ( frame$$1 ) {
12095
+ if ( frame$$1 . currentPage && frame$$1 . currentPage . modal ) {
12096
+ frame$$1 . currentPage . modal . closeModal ( ) ;
12097
+ }
12098
+ // Todo: make sure that the before-livesync hook is installed, because otherwise the page will always get reloaded.
12099
+ // const currentEntry = frame._currentEntry && frame._currentEntry.entry
12100
+ // if (currentEntry) {
12101
+
12102
+ // const newEntry = {
12103
+ // animated: false,
12104
+ // clearHistory: true,
12105
+ // create: () => { } ,
12106
+ // backstackVisible: currentEntry.backstackVisible
12107
+ // }
12108
+ // frame.navigate(newEntry)
12109
+ // }
12110
+ }
12111
+ } ;
12112
+
12094
12113
var isReservedTag = makeMap ( 'template' , true ) ;
12095
12114
12096
12115
var canBeLeftOpenTag$1 = function ( el ) {
@@ -12120,7 +12139,7 @@ function isPage(el) {
12120
12139
12121
12140
12122
12141
var VUE_VERSION = '2.5.13' ;
12123
- var NS_VUE_VERSION = '0.7.6 ' ;
12142
+ var NS_VUE_VERSION = '0.7.7 ' ;
12124
12143
12125
12144
var infoTrace = once ( function ( ) {
12126
12145
console . log (
0 commit comments