Skip to content

Commit f772e84

Browse files
author
Evan You
committed
no longer skip window in exp parsing
1 parent a7d184e commit f772e84

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/exp-parser.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ var KEYWORDS =
1111
',package,private,protected,public,short,static,super,synchronized' +
1212
',throws,transient,volatile' +
1313
// ECMA 5 - use strict
14-
',arguments,let,yield' +
15-
// skip
16-
',window',
14+
',arguments,let,yield',
1715

1816
KEYWORDS_RE = new RegExp(["\\b" + KEYWORDS.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g'),
1917
REMOVE_RE = /\/\*(?:.|\n)*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|'[^']*'|"[^"]*"|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g,

0 commit comments

Comments
 (0)