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/runtime_debug.js
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ function missingGlobal(sym, msg) {
45
45
Object.defineProperty(globalThis,sym,{
46
46
configurable: true,
47
47
get(){
48
-
warnOnce('`'+sym+'` is not longer defined by emscripten. '+msg);
48
+
warnOnce(`\`${sym}\` is not longer defined by emscripten. ${msg}`);
49
49
returnundefined;
50
50
}
51
51
});
@@ -62,15 +62,15 @@ function missingLibrarySymbol(sym) {
62
62
get(){
63
63
// Can't `abort()` here because it would break code that does runtime
64
64
// checks. e.g. `if (typeof SDL === 'undefined')`.
65
-
varmsg='`'+sym+'` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line';
65
+
varmsg=`\`${sym}\` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line`;
66
66
// DEFAULT_LIBRARY_FUNCS_TO_INCLUDE requires the name as it appears in
67
67
// library.js, which means $name for a JS name with no prefix, or name
0 commit comments