mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Move global merge in application before any require.
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
require("globals");
|
require("globals");
|
||||||
|
|
||||||
|
const events = new Observable();
|
||||||
|
global.moduleMerge(events, exports);
|
||||||
|
|
||||||
import { NativeScriptError, UnhandledErrorEventData, iOSApplication, AndroidApplication, CssChangedEventData } from "application";
|
import { NativeScriptError, UnhandledErrorEventData, iOSApplication, AndroidApplication, CssChangedEventData } from "application";
|
||||||
import { Observable, EventData } from "data/observable";
|
import { Observable, EventData } from "data/observable";
|
||||||
import { NavigationEntry } from "ui/frame";
|
import { NavigationEntry } from "ui/frame";
|
||||||
import "../bundle-entry-points";
|
import "../bundle-entry-points";
|
||||||
|
|
||||||
const events = new Observable();
|
|
||||||
global.moduleMerge(events, exports);
|
|
||||||
|
|
||||||
export { Observable };
|
export { Observable };
|
||||||
|
|
||||||
export const launchEvent = "launch";
|
export const launchEvent = "launch";
|
||||||
|
|||||||
Reference in New Issue
Block a user