mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Add selector-parse().
This commit is contained in:
parent
534ac2e511
commit
44d9ee54a9
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user