aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-25 10:59:18 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-25 10:59:18 -0700
commit493d0dcf303d66726be5bb08c187f8183ee96a65 (patch)
treef4e97d5f10df57559bd7cc087cbf2d7af08115e1 /tools
parent6f3337677dbec6716d9a08f4414454d6472926ee (diff)
add 'let' to reserved keywords for minifier
Diffstat (limited to 'tools')
-rw-r--r--tools/js_optimizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index 16bc73c1..2ecf3cfb 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -36,7 +36,7 @@ class Minifier:
MAX_NAMES = 80000
INVALID_2 = set(['do', 'if', 'in'])
- INVALID_3 = set(['for', 'new', 'try', 'var', 'env'])
+ INVALID_3 = set(['for', 'new', 'try', 'var', 'env', 'let'])
self.names = []
init_possibles = string.ascii_letters + '_$'