aboutsummaryrefslogtreecommitdiff
path: root/tools/js_optimizer.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-01 18:03:05 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:05 -0700
commit218696cdd2af0f6a96b7bb506c60c845ab36852f (patch)
tree2246dc3ba28fe3d6f3afb16efb0a4b068d3160c0 /tools/js_optimizer.py
parentcde6b80d99c6e4fd9eb0b67db929e51f93518b56 (diff)
add a naming to globals that can be linked and used across modules
Diffstat (limited to 'tools/js_optimizer.py')
-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 f28ca02d..a4e1ca6c 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -19,8 +19,8 @@ WINDOWS = sys.platform.startswith('win')
DEBUG = os.environ.get('EMCC_DEBUG')
-import_sig = re.compile('var ([_\w$]+) *=[^,;]+;')
func_sig = re.compile('( *)function ([_\w$]+)\(')
+import_sig = re.compile('var ([_\w$]+) *=[^;]+;')
class Minifier:
'''