Fix a variable name typo in yaml.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//318513002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/yaml@36945 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4b243d8..261a666 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.0.0+1
+
+* Fix a variable name typo.
+
## 1.0.0
* **Backwards incompatibility**: The data structures returned by `loadYaml` and
diff --git a/lib/src/composer.dart b/lib/src/composer.dart
index 4c19da1..1a23bc6 100644
--- a/lib/src/composer.dart
+++ b/lib/src/composer.dart
@@ -4,8 +4,6 @@
library yaml.composer;
-import 'package:source_maps/source_maps.dart';
-
import 'model.dart';
import 'visitor.dart';
import 'yaml_exception.dart';
diff --git a/lib/src/constructor.dart b/lib/src/constructor.dart
index a8224a4..5cf23c7 100644
--- a/lib/src/constructor.dart
+++ b/lib/src/constructor.dart
@@ -53,7 +53,7 @@
YamlNode getAnchor(Node anchored) {
if (anchored.anchor == null) return null;
var value = _anchors[anchored.anchor];
- if (vaule == null) return null;
+ if (value == null) return null;
// Re-wrap [value]'s contents so that it's associated with the span of the
// anchor rather than its original definition.
diff --git a/lib/src/parser.dart b/lib/src/parser.dart
index 98658e6..b42638f 100644
--- a/lib/src/parser.dart
+++ b/lib/src/parser.dart
@@ -12,7 +12,6 @@
import 'equality.dart';
import 'model.dart';
import 'utils.dart';
-import 'yaml_exception.dart';
/// Translates a string of characters into a YAML serialization tree.
///
diff --git a/pubspec.yaml b/pubspec.yaml
index 2672161..50fc3db 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: yaml
-version: 1.0.0
+version: 1.0.0+1
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: A parser for YAML.