@@ -95,17 +95,6 @@ function handleError(f, args) {
95
95
}
96
96
}
97
97
98
- const lTextDecoder = typeof TextDecoder === 'undefined' ? ( 0 , module . require ) ( 'util' ) . TextDecoder : TextDecoder ;
99
-
100
- let cachedTextDecoder = new lTextDecoder ( 'utf-8' , { ignoreBOM : true , fatal : true } ) ;
101
-
102
- cachedTextDecoder . decode ( ) ;
103
-
104
- function getStringFromWasm0 ( ptr , len ) {
105
- ptr = ptr >>> 0 ;
106
- return cachedTextDecoder . decode ( getUint8ArrayMemory0 ( ) . subarray ( ptr , ptr + len ) ) ;
107
- }
108
-
109
98
function debugString ( val ) {
110
99
// primitive types
111
100
const type = typeof val ;
@@ -171,6 +160,17 @@ function debugString(val) {
171
160
return className ;
172
161
}
173
162
163
+ const lTextDecoder = typeof TextDecoder === 'undefined' ? ( 0 , module . require ) ( 'util' ) . TextDecoder : TextDecoder ;
164
+
165
+ let cachedTextDecoder = new lTextDecoder ( 'utf-8' , { ignoreBOM : true , fatal : true } ) ;
166
+
167
+ cachedTextDecoder . decode ( ) ;
168
+
169
+ function getStringFromWasm0 ( ptr , len ) {
170
+ ptr = ptr >>> 0 ;
171
+ return cachedTextDecoder . decode ( getUint8ArrayMemory0 ( ) . subarray ( ptr , ptr + len ) ) ;
172
+ }
173
+
174
174
function isLikeNone ( x ) {
175
175
return x === undefined || x === null ;
176
176
}
@@ -437,10 +437,6 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
437
437
return ret ;
438
438
} ;
439
439
440
- export function __wbg_log_c5d1a8dc098212af ( arg0 , arg1 ) {
441
- console . log ( getStringFromWasm0 ( arg0 , arg1 ) ) ;
442
- } ;
443
-
444
440
export function __wbg_new_405e22f390576ce2 ( ) {
445
441
const ret = new Object ( ) ;
446
442
return ret ;
0 commit comments