refactor: remove ununsed method (#7232)

This commit is contained in:
Manol Donev
2019-05-22 14:56:54 +03:00
committed by GitHub
parent 3ce2100f2f
commit 2e15dd66d9

View File

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