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
// Can't `abort()` here because it would break code that does runtime
74
-
// checks. e.g. `if (typeof SDL === 'undefined')`.
75
-
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`;
76
-
// DEFAULT_LIBRARY_FUNCS_TO_INCLUDE requires the name as it appears in
77
-
// library.js, which means $name for a JS name with no prefix, or name
msg+='. Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you';
86
-
}
87
-
warnOnce(msg);
88
-
returnundefined;
89
-
}
90
-
});
91
-
}
80
+
hookGlobalSymbolAccess(sym,()=>{
81
+
// Can't `abort()` here because it would break code that does runtime
82
+
// checks. e.g. `if (typeof SDL === 'undefined')`.
83
+
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`;
84
+
// DEFAULT_LIBRARY_FUNCS_TO_INCLUDE requires the name as it appears in
85
+
// library.js, which means $name for a JS name with no prefix, or name
0 commit comments