Merge branch 'master' into mdonev/release-to-master7271

This commit is contained in:
Manol Donev
2019-05-22 14:57:11 +03:00
committed by GitHub

View File

@@ -570,8 +570,7 @@ export class StyleScope {
this.appendCss(null, cssFileName); this.appendCss(null, cssFileName);
} }
@profile public changeCssFile(cssFileName: string): void {
private changeCssFile(cssFileName: string): void {
if (!cssFileName) { if (!cssFileName) {
return; return;
} }
@@ -777,15 +776,3 @@ function isParentDirectory(uriPart: string): boolean {
function isKeyframe(node: CssNode): node is KeyframesDefinition { function isKeyframe(node: CssNode): node is KeyframesDefinition {
return node.type === "keyframes"; 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; }
// }