mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-05 03:49:39 +00:00
This commit moves the global error handler into a separate file, so that it can catch module loading errors. This also adds support for properly displaying error messages with newlines in them (since the module loader may throw those)
Custom Browser ES Module Loader
This is a module loader using babel and the ES Module Loader polyfill. It's based heavily on https://github.com/ModuleLoader/browser-es-module-loader, but uses WebWorkers to compile the modules in the background.
To generate, run rollup -c in this directory, and then run browserify src/babel-worker.js > dist/babel-worker.js.
LICENSE
MIT