addCssFile on application module wasn’t changing the app styles (#3666)

This commit is contained in:
Hristo Hristov
2017-02-21 09:28:51 +02:00
committed by GitHub
parent 3fc3fe6b78
commit dc25c85e97
2 changed files with 4 additions and 1 deletions

View File

@@ -46,7 +46,8 @@ export function livesync() {
}
export function setCssFileName(cssFileName: string) {
cssFile = cssFileName;
exports.cssFile = cssFileName;
events.notify(<CssChangedEventData>{ eventName: "cssChanged", object: app, cssFile: cssFileName });
}
export function addCss(cssText: string): void {