Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 9500213

Browse files
author
vakrilov
committed
chore: update apps
1 parent b1d4ecc commit 9500213

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

demo/JavaScriptApp/app/app-root.xml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<Frame defaultPage="main-page" />

demo/JavaScriptApp/app/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ purpose of the file is to pass control to the app’s first module.
66

77
var application = require("tns-core-modules/application");
88

9-
application.start({ moduleName: "main-page" });
9+
application.run({ moduleName: "app-root" });
1010

1111
/*
1212
Do not place any code after the application has been started as it will not

demo/TypeScriptApp/app/app-root.xml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<Frame defaultPage="main-page" />

demo/TypeScriptApp/app/app.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ purpose of the file is to pass control to the app’s first module.
66

77
import * as app from 'tns-core-modules/application';
88

9-
app.start({ moduleName: 'main-page' });
9+
app.run({ moduleName: "app-root" });
1010

1111
/*
1212
Do not place any code after the application has been started as it will not

0 commit comments

Comments
 (0)