mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-23 06:12:00 +01:00
Fix feature-exists().
This commit is contained in:
parent
594787a0ba
commit
54e87dce7f
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user