diff options
author | jeremyfa <jeremy.faivre@gmail.com> | 2012-08-08 02:19:29 -0700 |
---|---|---|
committer | jeremyfa <jeremy.faivre@gmail.com> | 2012-08-08 02:19:29 -0700 |
commit | a743cc19a0e9cb56a97f9cabb22bfa475485c3b2 (patch) | |
tree | 947529fddf06416cc7b443803cab55b453ad26d5 | |
parent | ec4c61dffb815adb35a14e8ba5760bdf0e192aed (diff) | |
parent | f121f0eade9606b9cbb74bd57acc3985492fcd8d (diff) | |
download | yamljs-a743cc19a0e9cb56a97f9cabb22bfa475485c3b2.tar.gz |
Merge pull request #2 from Calvein/masterv0.1.1
Missing var for the `first` var
-rw-r--r-- | bin/yaml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/yaml.js b/bin/yaml.js index 6466ee3..7ed2674 100644 --- a/bin/yaml.js +++ b/bin/yaml.js @@ -1199,7 +1199,7 @@ YamlParser.prototype = if ( this.isObject(value) ) { - first = value[0]; + var first = value[0]; if ( typeof(value) == 'string' && '*' == first.charAt(0) ) { data = []; |