python-emscripten  Check-in [1da4ec9b97]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Tidy JavaScript snippets
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:1da4ec9b97ceab16bb6462753ad1dc5830fd52dfd494c774ef20138d4f2f9c44
User & Date: Beuc 2020-04-20 13:45:58
Context
2020-04-20
13:46
webprompt: tidy HTML check-in: 65dc11f4b9 user: Beuc tags: trunk
13:45
Tidy JavaScript snippets check-in: 1da4ec9b97 user: Beuc tags: trunk
2020-04-18
11:53
Upgrade to new emscripten_log prototype in 1.39.12 check-in: fea1e09c30 user: Beuc tags: trunk
Changes

Changes to emscripten.pyx.

354
355
356
357
358
359
360
361
362
def syncfs():
    emscripten_run_script(r"""
        FS.syncfs(false, function(err) {
            if (err) {
                console.trace(); console.log(err, err.message);
                Module.print("Warning: write error: " + err.message + "\n");
            }
        })
    """);







|

354
355
356
357
358
359
360
361
362
def syncfs():
    emscripten_run_script(r"""
        FS.syncfs(false, function(err) {
            if (err) {
                console.trace(); console.log(err, err.message);
                Module.print("Warning: write error: " + err.message + "\n");
            }
        });
    """);