Skip to content

Commit 59f5c23

Browse files
committed
build: 0.7.7
1 parent 578a787 commit 59f5c23

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

packages/nativescript-vue-template-compiler/index.js

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/*!
3-
* NativeScript-Vue-Template-Compiler v0.7.6
3+
* NativeScript-Vue-Template-Compiler v0.7.7
44
* (Using Vue v2.5.13)
55
* (c) 2017-2018 rigor789
66
* Released under the MIT license.
@@ -12078,9 +12078,7 @@ console.keys = function(object) {
1207812078
application__default.on(application__default.exitEvent, function () {
1207912079
var frame$$1 = frame.topmost();
1208012080
if (frame$$1) {
12081-
console.log(frame$$1);
1208212081
frame$$1.eachChildView(function (child) {
12083-
console.log('found child');
1208412082
var vm = child[VUE_VM_REF];
1208512083

1208612084
if (vm) {
@@ -12091,6 +12089,27 @@ application__default.on(application__default.exitEvent, function () {
1209112089
}
1209212090
});
1209312091

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+
1209412113
var isReservedTag = makeMap('template', true);
1209512114

1209612115
var canBeLeftOpenTag$1 = function(el) {
@@ -12120,7 +12139,7 @@ function isPage(el) {
1212012139

1212112140

1212212141
var VUE_VERSION = '2.5.13';
12123-
var NS_VUE_VERSION = '0.7.6';
12142+
var NS_VUE_VERSION = '0.7.7';
1212412143

1212512144
var infoTrace = once(function () {
1212612145
console.log(

packages/nativescript-vue-template-compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-vue-template-compiler",
3-
"version": "0.7.6",
3+
"version": "0.7.7",
44
"description": "template compiler for nativescript-vue",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)