Skip to content

Commit e78ac48

Browse files
committed
Style.
1 parent 9b00c17 commit e78ac48

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/file_packager.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -987,10 +987,7 @@ def generate_js(data_target, data_files, metadata):
987987
if (!done) {
988988
chunks.push(value);
989989
loaded += value.length;
990-
991-
Module['dataFileDownloads'][packageName] ??= {};
992-
Module['dataFileDownloads'][packageName].loaded = loaded;
993-
Module['dataFileDownloads'][packageName].total = size;
990+
Module['dataFileDownloads'][packageName] = {loaded, total: size};
994991
995992
let totalLoaded = 0;
996993
let totalSize = 0;

0 commit comments

Comments
 (0)