diff --git a/tns-core-modules/application/application-common.ts b/tns-core-modules/application/application-common.ts index c68a32bd0..9d3c14ecf 100644 --- a/tns-core-modules/application/application-common.ts +++ b/tns-core-modules/application/application-common.ts @@ -1,13 +1,13 @@ require("globals"); +const events = new Observable(); +global.moduleMerge(events, exports); + import { NativeScriptError, UnhandledErrorEventData, iOSApplication, AndroidApplication, CssChangedEventData } from "application"; import { Observable, EventData } from "data/observable"; import { NavigationEntry } from "ui/frame"; import "../bundle-entry-points"; -const events = new Observable(); -global.moduleMerge(events, exports); - export { Observable }; export const launchEvent = "launch";