summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFrançois Robichet <calvein@gmail.com>2012-08-08 12:12:17 +0300
committerFrançois Robichet <calvein@gmail.com>2012-08-08 12:12:17 +0300
commitf121f0eade9606b9cbb74bd57acc3985492fcd8d (patch)
tree4f49b36d84a651795b4a58540147b9c83fcce365 /bin
parentb2bf0593f4e86fbebdf49c0bba24bf430e82f00f (diff)
downloadyamljs-f121f0eade9606b9cbb74bd57acc3985492fcd8d.tar.gz
Missing var for the `first` var
Diffstat (limited to 'bin')
-rw-r--r--bin/yaml.js2
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 = [];