This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] - Remove short references as they are deprecated in later ver…
…sions of Nativescript
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
require("application"); | ||
require("tns-core-modules/application"); | ||
if (!global["__snapshot"]) { | ||
// In case snapshot generation is enabled these modules will get into the bundle | ||
// but will not be required/evaluated. | ||
// The snapshot webpack plugin will add them to the tns-java-classes.js bundle file. | ||
// This way, they will be evaluated on app start as early as possible. | ||
require("ui/frame"); | ||
require("ui/frame/activity"); | ||
require("tns-core-modules/ui/frame"); | ||
require("tns-core-modules/ui/frame/activity"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters