got to layouts

This commit is contained in:
Hristo Hristov
2016-12-09 17:57:17 +02:00
parent 07e2102c5d
commit 19ee47ba24
76 changed files with 941 additions and 1002 deletions

View File

@@ -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;