From 2e15dd66d9e2908d30f13205427e4565b2c07b1f Mon Sep 17 00:00:00 2001 From: Manol Donev Date: Wed, 22 May 2019 14:56:54 +0300 Subject: [PATCH] refactor: remove ununsed method (#7232) --- tns-core-modules/ui/styling/style-scope.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tns-core-modules/ui/styling/style-scope.ts b/tns-core-modules/ui/styling/style-scope.ts index 74a5262f1..860dd1201 100644 --- a/tns-core-modules/ui/styling/style-scope.ts +++ b/tns-core-modules/ui/styling/style-scope.ts @@ -570,8 +570,7 @@ export class StyleScope { this.appendCss(null, cssFileName); } - @profile - private changeCssFile(cssFileName: string): void { + public changeCssFile(cssFileName: string): void { if (!cssFileName) { return; } @@ -777,15 +776,3 @@ function isParentDirectory(uriPart: string): boolean { function isKeyframe(node: CssNode): node is KeyframesDefinition { return node.type === "keyframes"; } - -// class InlineSelector implements SelectorCore { -// constructor(ruleSet: RuleSet) { -// this.ruleset = ruleSet; -// } - -// public specificity = 0x01000000; -// public rarity = 0; -// public dynamic: boolean = false; -// public ruleset: RuleSet; -// public match(node: Node): boolean { return true; } -// }