From e6691472dacc81c64435f3992528ccf32cc13e2a Mon Sep 17 00:00:00 2001 From: vakrilov Date: Mon, 13 Mar 2017 11:26:08 +0200 Subject: [PATCH] FIX: CSS imports not applied --- tns-core-modules/ui/styling/style-scope.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tns-core-modules/ui/styling/style-scope.ts b/tns-core-modules/ui/styling/style-scope.ts index c70d9fc70..14c6821c3 100644 --- a/tns-core-modules/ui/styling/style-scope.ts +++ b/tns-core-modules/ui/styling/style-scope.ts @@ -34,8 +34,8 @@ let applicationCssSelectorVersion: number = 0; let applicationSelectors: RuleSet[] = []; const applicationAdditionalSelectors: RuleSet[] = []; const applicationKeyframes: any = {}; - const animationsSymbol: symbol = Symbol("animations"); +const pattern: RegExp = /('|")(.*?)\1/; function onCssChanged(args: application.CssChangedEventData): void { if (args.cssText) { @@ -85,8 +85,6 @@ if (application.hasLaunched()) { application.on("launch", loadCssOnLaunch); } -let pattern: RegExp = /('|")(.*?)\1/; - export class CssState { constructor(private view: ViewBase, private match: SelectorsMatch) { }