Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d17d725

Browse files
committed
[chore] - Remove short references as they are deprecated in later versions of Nativescript
1 parent 9715862 commit d17d725

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

demo/app/vendor-platform.android.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
require("application");
1+
require("tns-core-modules/application");
22
if (!global["__snapshot"]) {
33
// In case snapshot generation is enabled these modules will get into the bundle
44
// but will not be required/evaluated.
55
// The snapshot webpack plugin will add them to the tns-java-classes.js bundle file.
66
// This way, they will be evaluated on app start as early as possible.
7-
require("ui/frame");
8-
require("ui/frame/activity");
7+
require("tns-core-modules/ui/frame");
8+
require("tns-core-modules/ui/frame/activity");
99
}

demo/app/vendor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Snapshot the ~/app.css and the theme
2-
const application = require("application");
3-
require("ui/styling/style-scope");
2+
const application = require("tns-core-modules/application");
3+
require("tns-core-modules/ui/styling/style-scope");
44
const appCssContext = require.context("~/", false, /^\.\/app\.(css|scss|less|sass)$/);
55
global.registerWebpackModules(appCssContext);
66
application.loadAppCss();

0 commit comments

Comments
 (0)