From f121f0eade9606b9cbb74bd57acc3985492fcd8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Robichet?= Date: Wed, 8 Aug 2012 12:12:17 +0300 Subject: Missing var for the `first` var --- bin/yaml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 = []; -- cgit v1.2.1