From 54e87dce7f8f84079c00aa8877ed58af0c678724 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Tue, 18 Oct 2016 17:44:05 -0700 Subject: [PATCH] Fix feature-exists(). --- lib/src/functions.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/functions.dart b/lib/src/functions.dart index 0f4a978d..c4f0627c 100644 --- a/lib/src/functions.dart +++ b/lib/src/functions.dart @@ -812,7 +812,7 @@ void defineCoreFunctions(Environment environment) { environment.defineFunction("feature-exists", r"$feature", (arguments) { var feature = arguments[0].assertString("feature"); - return new SassBoolean(_features.contains(feature)); + return new SassBoolean(_features.contains(feature.text)); }); environment.defineFunction("variable-exists", r"$name", (arguments) {