Skip to content

Commit

Permalink
no longer skip window in exp parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan You committed Nov 15, 2013
1 parent a7d184e commit f772e84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/exp-parser.js
Expand Up @@ -11,9 +11,7 @@ var KEYWORDS =
',package,private,protected,public,short,static,super,synchronized' +
',throws,transient,volatile' +
// ECMA 5 - use strict
',arguments,let,yield' +
// skip
',window',
',arguments,let,yield',

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

0 comments on commit f772e84

Please sign in to comment.