aboutsummaryrefslogtreecommitdiff
path: root/tools/js_optimizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/js_optimizer.py')
-rw-r--r--tools/js_optimizer.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index 94883a90..98b34684 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -47,14 +47,12 @@ class Minifier:
for a in init_possibles:
for b in later_possibles:
if len(self.names) >= MAX_NAMES: break
- if a in 'ida' and b in string.digits: continue # TODO: minify registerize names
curr = a + b
if curr not in INVALID_2: self.names.append(curr)
for a in init_possibles:
for b in later_possibles:
for c in later_possibles:
if len(self.names) >= MAX_NAMES: break
- if a in 'ida' and b in string.digits and c in string.digits: continue # TODO: minify registerize names
curr = a + b + c
if curr not in INVALID_3: self.names.append(curr)
#print >> sys.stderr, self.names