mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
changed mainModule to start(entry)
This commit is contained in:
@@ -315,7 +315,10 @@ global.__onUncaughtError = function (error: Error) {
|
||||
exports.notify({ eventName: dts.uncaughtErrorEvent, object: appModule.android, android: error });
|
||||
}
|
||||
|
||||
exports.start = function () {
|
||||
exports.start = function (entry?: frame.NavigationEntry) {
|
||||
if (entry) {
|
||||
dts.mainEntry = entry;
|
||||
}
|
||||
dts.loadCss();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user