aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/file_packager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/file_packager.py b/tools/file_packager.py
index 8f0f8be8..ea314be7 100644
--- a/tools/file_packager.py
+++ b/tools/file_packager.py
@@ -591,8 +591,7 @@ if has_preloaded:
''' % (use_data, data_target) # use basename because from the browser's point of view, we need to find the datafile in the same dir as the html file
code += r'''
- if (!Module.preloadResults)
- Module.preloadResults = {};
+ if (!Module.preloadResults) Module.preloadResults = {};
'''
if use_preload_cache: