Skip to content

Commit 937e458

Browse files
Use new syntax for application.start
Use the new syntax for application.start method, so set minimum required runtime versions to 1.6.0.
1 parent d601dce commit 937e458

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

app.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
import application = require("application");
2-
application.mainModule = "./tns_modules/nativescript-unit-test-runner/main-page";
3-
application.cssFile = "./tns_modules/nativescript-unit-test-runner/app.css";
4-
application.start();
1+
import {application} from "application";
2+
application.start({ moduleName: "./tns_modules/nativescript-unit-test-runner/main-page" });

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,9 @@
1717
"grunt-ts": "^5.0.1"
1818
},
1919
"nativescript": {
20+
"platforms": {
21+
"android": "1.6.0",
22+
"ios": "1.6.0"
23+
}
2024
}
2125
}

0 commit comments

Comments
 (0)