mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
got to layouts
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
require("globals");
|
||||
import definition = require("application");
|
||||
import observable = require("data/observable");
|
||||
import frame = require("ui/frame");
|
||||
import {RuleSet} from "ui/styling/css-selector";
|
||||
// TODO: Raise event on("livesync") and attach this handler in the ui/frame module.
|
||||
import { NavigationEntry, reloadPage } from "ui/frame";
|
||||
import { RuleSet } from "ui/styling/css-selector";
|
||||
import * as fileSystemModule from "file-system";
|
||||
import * as styleScopeModule from "ui/styling/style-scope";
|
||||
import * as fileResolverModule from "file-system/file-name-resolver";
|
||||
import * as fileResolverModule from "file-system/file-name-resolver";
|
||||
import * as builderModule from "ui/builder";
|
||||
import "../bundle-entry-points";
|
||||
|
||||
@@ -30,7 +31,7 @@ export var uncaughtErrorEvent = "uncaughtError";
|
||||
export var orientationChangedEvent = "orientationChanged";
|
||||
|
||||
export var mainModule: string;
|
||||
export var mainEntry: frame.NavigationEntry;
|
||||
export var mainEntry: NavigationEntry;
|
||||
|
||||
export var cssFile: string = "app.css"
|
||||
|
||||
@@ -132,6 +133,6 @@ export function __onLiveSync() {
|
||||
|
||||
export function __onLiveSyncCore() {
|
||||
// Reload current page.
|
||||
frame.reloadPage();
|
||||
reloadPage();
|
||||
}
|
||||
global.__onLiveSyncCore = __onLiveSyncCore;
|
||||
Reference in New Issue
Block a user