mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Fix type-of() with a function.
This commit is contained in:
parent
05acf01e58
commit
28efbe1df3
@ -10,6 +10,8 @@
|
||||
|
||||
* Forbid functions named "and", "or", and "not".
|
||||
|
||||
* Fix `type-of()` with a function.
|
||||
|
||||
## 1.0.0-alpha.8
|
||||
|
||||
* Add the `content-exists()` function.
|
||||
|
@ -887,6 +887,7 @@ void defineCoreFunctions(Environment environment) {
|
||||
if (value is SassMap) return new SassString("map");
|
||||
if (value is SassNull) return new SassString("null");
|
||||
if (value is SassNumber) return new SassString("number");
|
||||
if (value is SassFunction) return new SassString("function");
|
||||
assert(value is SassString);
|
||||
return new SassString("string");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user