You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/jsifier.js
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -522,6 +522,18 @@ function JSify(data, functionsOnly) {
522
522
print('assert(STACK_MAX < SPLIT_MEMORY, "SPLIT_MEMORY size must be big enough so the entire static memory + stack can fit in one chunk, need " + STACK_MAX);\n');
523
523
}
524
524
525
+
print(preprocess(read('arrayUtils.js')));
526
+
// Export all arrayUtils.js functions
527
+
print(maybeExport('intArrayFromString'));
528
+
print(maybeExport('intArrayToString'));
529
+
530
+
if(SUPPORT_BASE64_EMBEDDING){
531
+
print(preprocess(read('base64Utils.js')));
532
+
// Export all base64Utils.js functions
533
+
print(maybeExport('intArrayFromBase64'));
534
+
print(maybeExport('tryParseAsDataURI'));
535
+
}
536
+
525
537
if(asmLibraryFunctions.length>0){
526
538
print('// ASM_LIBRARY FUNCTIONS');
527
539
functionfix(f){// fix indenting to not confuse js optimizer
@@ -541,17 +553,6 @@ function JSify(data, functionsOnly) {
0 commit comments