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
For some reason closure doesn't report these real issues in the current
configuration but they show up in the `MODULARIZE_INSTANCE`
configuration that I'm working on.
Most of these issues consist of adding default parameters to functions
declared on objects such as `FS`.
In addition there are a couple of other changes that are all real fixes:
- ErrnoError unified between old FS and wasm FS. This should have been
done as part of emscripten-core#21149
- Default initializer for `canvasResizedCallbackTargetThread` removed
since `JSEvents.getTargetThreadForEventCallback()` will always return
undefined when called with no arguments
- Extra arguments to copyIndexedColorData removed in library_sdl.js
since it only ever called with one arg.
This change is basically code size neutral with a few tests coming in
a byte or two heavier and others a byte or two lighter.
assert(!FS.init.initialized,'FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)');
1466
1435
#endif
@@ -1499,7 +1468,7 @@ FS.staticInit();` +
1499
1468
}
1500
1469
returnret.object;
1501
1470
},
1502
-
analyzePath(path,dontResolveLastLink){
1471
+
analyzePath(path,dontResolveLastLink=false){
1503
1472
// operate from within the context of the symlink's target
1504
1473
try{
1505
1474
var lookup =FS.lookupPath(path,{follow: !dontResolveLastLink});
0 commit comments