mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
parent
5cc3238d4a
commit
4c293f3ca7
@ -1,3 +1,9 @@
|
||||
## 1.0.0-rc.2
|
||||
|
||||
* Allow `!` in custom property values ([#260][]).
|
||||
|
||||
[#260]: https://github.com/sass/dart-sass/issues/260
|
||||
|
||||
## 1.0.0-rc.1
|
||||
|
||||
* Add support for importing an `_index.scss` or `_index.sass` file when
|
||||
|
@ -202,7 +202,7 @@ abstract class Parser {
|
||||
return buffer.toString();
|
||||
}
|
||||
|
||||
/// Consumes tokens until it reaches a top-level `":"`, `"!"`, `")"`, `"]"`,
|
||||
/// Consumes tokens until it reaches a top-level `":"`, `")"`, `"]"`,
|
||||
/// or `"}"` and returns their contents as a string.
|
||||
@protected
|
||||
String declarationValue() {
|
||||
@ -270,7 +270,6 @@ abstract class Parser {
|
||||
wroteNewline = false;
|
||||
break;
|
||||
|
||||
case $exclamation:
|
||||
case $semicolon:
|
||||
if (brackets.isEmpty) break loop;
|
||||
buffer.writeCharCode(scanner.readChar());
|
||||
|
@ -2309,7 +2309,7 @@ abstract class StylesheetParser extends Parser {
|
||||
return buffer.interpolation(scanner.spanFrom(start));
|
||||
}
|
||||
|
||||
/// Consumes tokens until it reaches a top-level `":"`, `"!"`, `")"`, `"]"`,
|
||||
/// Consumes tokens until it reaches a top-level `":"`, `")"`, `"]"`,
|
||||
/// or `"}"` and returns their contents as a string.
|
||||
///
|
||||
/// Unlike [declarationValue], this allows interpolation.
|
||||
@ -2392,7 +2392,6 @@ abstract class StylesheetParser extends Parser {
|
||||
wroteNewline = false;
|
||||
break;
|
||||
|
||||
case $exclamation:
|
||||
case $semicolon:
|
||||
if (brackets.isEmpty) break loop;
|
||||
buffer.writeCharCode(scanner.readChar());
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: sass
|
||||
version: 1.0.0-rc.1
|
||||
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