aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-01-30 17:16:12 -0800
committerChad Austin <chad@imvu.com>2013-03-04 19:27:47 -0800
commita804dfb628279243de1e82504b99d386eb2d2a93 (patch)
tree8bec244c77c941e16b7f2fe7eb5dc79a6b14e851 /emscripten.py
parent8e63a929d4fe38d8929bc383a433199cba00555d (diff)
Make chunkify a free function
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 3487d320..869e512d 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -189,7 +189,9 @@ def emscript(configuration, infile, settings, outfile, libraries=[],
settings['EXPORTED_FUNCTIONS'] = forwarded_json['EXPORTED_FUNCTIONS']
save_settings()
- chunks = shared.JCache.chunkify(funcs, chunk_size, 'emscript_files' if jcache else None)
+ chunks = shared.chunkify(
+ funcs, chunk_size,
+ jcache.get_cachename('emscript_files') if jcache else None)
if jcache:
# load chunks from cache where we can # TODO: ignore small chunks