diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-01 12:35:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 15:31:04 -0700 |
commit | 4f9dfa2025f92130036dc7ca83ea91ebc8275e89 (patch) | |
tree | 718f83dce127769cecd66791035dcb6f81d2ba83 /tools/js_optimizer.py | |
parent | a98a8a9c8fce394c184510dc07b45179d95bc071 (diff) |
refactor linking of imports
Diffstat (limited to 'tools/js_optimizer.py')
-rw-r--r-- | tools/js_optimizer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py index e7e48c41..f28ca02d 100644 --- a/tools/js_optimizer.py +++ b/tools/js_optimizer.py @@ -19,7 +19,7 @@ WINDOWS = sys.platform.startswith('win') DEBUG = os.environ.get('EMCC_DEBUG') -import_sig = re.compile('( *)var ([_\w$]+) *=.*;') +import_sig = re.compile('var ([_\w$]+) *=[^,;]+;') func_sig = re.compile('( *)function ([_\w$]+)\(') class Minifier: |