diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-09 15:47:41 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-09 15:47:41 -0800 |
commit | 0ecad78d552f20c7dfc454489df3eba61361fa06 (patch) | |
tree | 0dc2e7c295b1721b161e47a25d515263f92be60c /tools/js_optimizer.py | |
parent | 4c95c34ca8166f49f995ea8fe082cd0aaa70d839 (diff) |
remove limitations on minified names
Diffstat (limited to 'tools/js_optimizer.py')
-rw-r--r-- | tools/js_optimizer.py | 2 |
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 |