forked from novnc/noVNC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit makes the ES6 module loader polyfill use Web Workers, so that Babel doesn't block the browser from animating. It also uses localStorage to cache the compiled results, only recompiling on source changes, so it makes loading faster while developing noVNC. This includes a vendored copy of the ES6 module loader, modified as described above.
- Loading branch information
1 parent
e25f9c4
commit 399fa2e
Showing
11 changed files
with
45,683 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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 |
Oops, something went wrong.