Add selector-parse().

This commit is contained in:
Natalie Weizenbaum 2016-09-22 15:10:02 -07:00 committed by Natalie Weizenbaum
parent 534ac2e511
commit 44d9ee54a9

View File

@ -763,6 +763,9 @@ void defineCoreFunctions(Environment environment) {
ListSeparator.comma);
});
environment.defineFunction("selector-parse", r"$selector",
(arguments) => arguments[0].assertSelector(name: "selector").asSassList);
// ## Introspection
environment.defineFunction("inspect", r"$value",