import "fancyboxCss" ; import "../css/core.css" ; import { Elevate } from "./elevate" ; import * as $ from "jquery" ; import * as fancyboxBoot from "fancybox" ; import { CoreMessages } from "@elevate/shared/models" ; import { StartCoreDataModel } from "./models/start-core-data.model" ; class Boot { public static main ( ) { fancyboxBoot ( $ ) ; addEventListener ( CoreMessages . ON_START_CORE_EVENT , ( event ) => { const initData = event . detail as StartCoreDataModel ; const elevate = new Elevate ( initData . userSettings , initData . appResources ) ; elevate . run ( ) ; } ) ; } } Boot . main ( ) ;