Fixed code_buffer issue

This commit is contained in:
thomashii 2021-05-14 18:55:10 +08:00
parent 419b9de7f3
commit f0077caaa5
3 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,5 @@
# 2.0.1
* Fixed invalid homepage url in pubspec.yaml
# 2.0.0 # 2.0.0
* Migrated to support Dart SDK 2.12.x NNBD * Migrated to support Dart SDK 2.12.x NNBD
# 1.0.1 # 1.0.1

View file

@ -20,9 +20,9 @@ class CodeBuffer implements StringBuffer {
int _length = 0; int _length = 0;
CodeBuffer( CodeBuffer(
{this.space: ' ', {this.space = ' ',
this.newline: '\n', this.newline = '\n',
this.trailingNewline: false, this.trailingNewline = false,
this.sourceUrl}); this.sourceUrl});
/// Creates a [CodeBuffer] that does not emit additional whitespace. /// Creates a [CodeBuffer] that does not emit additional whitespace.

View file

@ -1,5 +1,5 @@
name: angel3_code_buffer name: angel3_code_buffer
version: 2.0.0 version: 2.0.1
description: An advanced StringBuffer geared toward generating code, and source maps. description: An advanced StringBuffer geared toward generating code, and source maps.
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/code_buffer homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/code_buffer
environment: environment: