diff options
author | François Robichet <calvein@gmail.com> | 2012-08-08 12:12:17 +0300 |
---|---|---|
committer | François Robichet <calvein@gmail.com> | 2012-08-08 12:12:17 +0300 |
commit | f121f0eade9606b9cbb74bd57acc3985492fcd8d (patch) | |
tree | 4f49b36d84a651795b4a58540147b9c83fcce365 /bin | |
parent | b2bf0593f4e86fbebdf49c0bba24bf430e82f00f (diff) | |
download | yamljs-f121f0eade9606b9cbb74bd57acc3985492fcd8d.tar.gz |
Missing var for the `first` var
Diffstat (limited to 'bin')
-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 fdf9881..13eeb44 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 = []; |