Skip to content

Commit

Permalink
Fix a bug where names were broken through imports.
Browse files Browse the repository at this point in the history
Closes #20
Closes #8
  • Loading branch information
nex3 committed Nov 1, 2016
1 parent 17e29fd commit e0fd5ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.0.0-alpha.2

* Fix a bug where variables, functions, and mixins were broken in imported
files.

## 1.0.0-alpha.1

* Initial alpha release.
6 changes: 3 additions & 3 deletions lib/src/environment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ class Environment {
/// otherwise independent.
Environment global() => new Environment._(
[_variables.first],
new Map.fromIterable(_variables.first.keys, value: (_) => 1),
new Map.fromIterable(_variables.first.keys, value: (_) => 0),
[_functions.first],
new Map.fromIterable(_functions.first.keys, value: (_) => 1),
new Map.fromIterable(_functions.first.keys, value: (_) => 0),
[_mixins.first],
new Map.fromIterable(_mixins.first.keys, value: (_) => 1),
new Map.fromIterable(_mixins.first.keys, value: (_) => 0),
null,
null);

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.0.0-alpha.1
version: 1.0.0-alpha.2
description: A Sass implementation in Dart.
author: Dart Team <[email protected]>
homepage: https://github.com/sass/dart-sass
Expand Down

0 comments on commit e0fd5ea

Please sign in to comment.