File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ var SUPPORT_BASE64_EMBEDDING;
129
129
var filename ;
130
130
filename ||= '<<< filename >>>' ;
131
131
132
- #if SINGLE_FILE_BINARY_ENCODE
132
+ #if SINGLE_FILE && SINGLE_FILE_BINARY_ENCODE
133
133
/** @noinline */
134
134
function binaryDecode ( bin ) { for ( var i = 0 , l = bin . length , o = new Uint8Array ( l ) ; i < l ; ++ i ) o [ i ] = bin . charCodeAt ( i ) - 1 ; return o ; }
135
135
var workerURL = URL . createObjectURL ( new Blob ( [ binaryDecode ( filename ) ] , { type : 'application/javascript' } ) ) ;
@@ -173,7 +173,7 @@ worker.onmessage = (event) => {
173
173
if ( ! workerResponded ) {
174
174
workerResponded = true ;
175
175
Module . setStatus ?. ( '' ) ;
176
- #if SINGLE_FILE_BINARY_ENCODE
176
+ #if SINGLE_FILE && SINGLE_FILE_BINARY_ENCODE
177
177
URL . revokeObjectURL ( workerURL ) ;
178
178
#else
179
179
if ( SUPPORT_BASE64_EMBEDDING && workerURL !== filename ) URL . revokeObjectURL ( workerURL ) ;
You can’t perform that action at this time.
0 commit comments