From dc20041175d218a3ecd6c10970d35ca333c918d5 Mon Sep 17 00:00:00 2001 From: Craig Martin Date: Mon, 3 Aug 2015 11:40:11 -0400 Subject: [PATCH] update jslint-es6 --- lib/jslint-es6.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/jslint-es6.js b/lib/jslint-es6.js index 6268ee6..0538ca8 100644 --- a/lib/jslint-es6.js +++ b/lib/jslint-es6.js @@ -1,5 +1,5 @@ // jslint.js -// 2015-07-10 +// 2015-07-31 // Copyright (c) 2015 Douglas Crockford (www.JSLint.com) // Permission is hereby granted, free of charge, to any person obtaining a copy @@ -104,15 +104,15 @@ slash_equal, slice, sort, split, statement, stop, strict, subscript_a, switch, test, this, thru, toString, todo_comment, tokens, too_long, too_many, tree, type, u, unclosed_comment, unclosed_mega, unclosed_string, - undeclared_a, unexpected_a, unexpected_a_after_b, unexpected_at_top_level_a, - unexpected_char_a, unexpected_comment, unexpected_directive_a, - unexpected_expression_a, unexpected_label_a, unexpected_parens, - unexpected_quotes_a, unexpected_space_a_b, unexpected_statement_a, - unexpected_trailing_space, unexpected_typeof_a, uninitialized_a, - unreachable_a, unregistered_property_a, unsafe, unused_a, use_spaces, used, - value, var_loop, var_switch, variable, warning, warnings, weird_condition_a, - weird_expression_a, weird_loop, weird_relation_a, white, wrap_immediate, - wrap_regexp, wrapped, writable, y + undeclared_a, unexpected_a, unexpected_a_after_b, + unexpected_at_top_level_a, unexpected_char_a, unexpected_comment, + unexpected_directive_a, unexpected_expression_a, unexpected_label_a, + unexpected_parens, unexpected_quotes_a, unexpected_space_a_b, + unexpected_statement_a, unexpected_trailing_space, unexpected_typeof_a, + uninitialized_a, unreachable_a, unregistered_property_a, unsafe, unused_a, + use_spaces, used, value, var_loop, var_switch, variable, warning, warnings, + weird_condition_a, weird_expression_a, weird_loop, weird_relation_a, white, + wrap_immediate, wrap_regexp, wrapped, writable, y */ var jslint = (function JSLint() { @@ -147,7 +147,7 @@ var jslint = (function JSLint() { browser: [ 'Audio', 'clearInterval', 'clearTimeout', 'document', 'event', 'FormData', 'frames', 'history', 'Image', 'localStorage', - 'location', 'name', 'navigator', 'Option', 'parent', 'screen', + 'location', 'name', 'navigator', 'Option', 'screen', 'sessionStorage', 'setInterval', 'setTimeout', 'Storage', 'XMLHttpRequest' ], @@ -1212,8 +1212,8 @@ var jslint = (function JSLint() { function lex() { var array, - i, - j, + i = 0, + j = 0, last, result, the_token; @@ -4417,7 +4417,7 @@ var jslint = (function JSLint() { } } return { - edition: "2015-07-10", + edition: "2015-07-31", functions: functions, global: global, id: "(JSLint)",