mirror of
https://github.com/danog/dart-sass.git
synced 2024-12-02 09:37:49 +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…
Reference in New Issue
Block a user