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
'var ret = (function() { if (runtimeDebug) err("[library call:'+finalName+': " + Array.prototype.slice.call(arguments).map(prettyPrint) + "]");\n'+
105
105
body+
@@ -200,7 +200,7 @@ function JSify(data, functionsOnly) {
200
200
error('JS library directive '+ident+'__deps='+deps.toString()+' is of type '+typeofdeps+', but it should be an array!');
201
201
return;
202
202
}
203
-
deps.forEach(function(dep){
203
+
deps.forEach((dep)=>{
204
204
if(typeofsnippet==='string'&&!(depinLibraryManager.library))warn('missing library dependency '+dep+', make sure you are compiling with the right options (see #if in src/library*.js)');
205
205
});
206
206
varisFunction=false;
@@ -262,8 +262,8 @@ function JSify(data, functionsOnly) {
262
262
// In asm, dependencies implemented in C might be needed by JS library functions.
263
263
// We don't know yet if they are implemented in C or not. To be safe, export such
@@ -1266,7 +1266,7 @@ function addReadyPromiseAssertions(promise) {
1266
1266
// Also warn on onRuntimeInitialized which might be a common pattern with
1267
1267
// older MODULARIZE-using codebases.
1268
1268
properties.push('onRuntimeInitialized');
1269
-
returnproperties.map(function(property){
1269
+
returnproperties.map((property)=>{
1270
1270
constwarningEnding=`${property} on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js`;
1271
1271
return`
1272
1272
if (!Object.getOwnPropertyDescriptor(${promise}, '${property}')) {
0 commit comments