url('some.css') is now optional

This commit is contained in:
Vladimir Enchev
2015-08-24 17:40:13 +03:00
parent df3d6e7834
commit 935fefbf11
2 changed files with 12 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ import utils = require("utils/utils");
import types = require("utils/types");
import fs = require("file-system");
var pattern: RegExp = /url\(('|")(.*?)\1\)/;
var pattern: RegExp = /('|")(.*?)\1/;
export class StyleScope {
// caches all the visual states by the key of the visual state selectors