mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Fix numbers divided by colors.
This commit is contained in:
parent
5b1754a262
commit
4b614166ca
@ -55,6 +55,8 @@
|
||||
|
||||
* Properly handle a backslash followed by a CRLF sequence in a quoted string.
|
||||
|
||||
* Fix numbers divided by colors.
|
||||
|
||||
## 1.0.0-alpha.8
|
||||
|
||||
* Add the `content-exists()` function.
|
||||
|
@ -438,8 +438,7 @@ class SassNumber extends Value {
|
||||
return _multiplyUnits(this.value / other.value, this.numeratorUnits,
|
||||
this.denominatorUnits, other.denominatorUnits, other.numeratorUnits);
|
||||
}
|
||||
if (other is! SassColor) return super.dividedBy(other);
|
||||
throw new SassScriptException('Undefined operation "$this / $other".');
|
||||
return super.dividedBy(other);
|
||||
}
|
||||
|
||||
Value unaryPlus() => this;
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: sass
|
||||
version: 1.0.0-alpha.8
|
||||
version: 1.0.0-dev
|
||||
description: A Sass implementation in Dart.
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
homepage: https://github.com/sass/dart-sass
|
||||
|
Loading…
Reference in New Issue
Block a user