aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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 + '_$'