From 44d9ee54a9c8aecabe7cc428354a097345ef8b19 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Thu, 22 Sep 2016 15:10:02 -0700 Subject: [PATCH] Add selector-parse(). --- lib/src/functions.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/functions.dart b/lib/src/functions.dart index 9c044a75..7a883896 100644 --- a/lib/src/functions.dart +++ b/lib/src/functions.dart @@ -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",