Fix feature-exists().

This commit is contained in:
Natalie Weizenbaum 2016-10-18 17:44:05 -07:00
parent 594787a0ba
commit 54e87dce7f

View File

@ -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) {