initial commit of webpack

This commit is contained in:
matt
2021-01-08 12:48:07 +00:00
parent 481b063eb7
commit d71734a206
5 changed files with 547 additions and 2 deletions

View File

@@ -5,6 +5,16 @@
*
* See README.md for usage and integration instructions.
*/
window._noVNC_has_module_support = true;
window.addEventListener("load", function() {
if (window._noVNC_has_module_support) return;
var loader = document.createElement("script");
loader.src = "vendor/browser-es-module-loader/dist/browser-es-module-loader.js";
document.head.appendChild(loader);
});
window.addEventListener("load", function() {
document.getElementById("noVNC_connect_button").click();
});
import * as Log from '../core/util/logging.js';
import _, { l10n } from './localization.js';