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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index 58b0af6d..7cefe90a 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -19,6 +19,7 @@ WINDOWS = sys.platform.startswith('win')
DEBUG = os.environ.get('EMCC_DEBUG')
+import_sig = re.compile('( *)var ([_\w$]+) *=.*;')
func_sig = re.compile('( *)function ([_\w$]+)\(')
class Minifier: