diff options
author | Chad Austin <chad@imvu.com> | 2013-01-30 17:16:12 -0800 |
---|---|---|
committer | Chad Austin <chad@imvu.com> | 2013-03-04 19:27:47 -0800 |
commit | a804dfb628279243de1e82504b99d386eb2d2a93 (patch) | |
tree | 8bec244c77c941e16b7f2fe7eb5dc79a6b14e851 /emscripten.py | |
parent | 8e63a929d4fe38d8929bc383a433199cba00555d (diff) |
Make chunkify a free function
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 4 |
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 |