]> git.proxmox.com Git - mirror_novnc.git/blobdiff - core/websock.js
Uncomment ES6 module syntax
[mirror_novnc.git] / core / websock.js
index 51d9b6250ebc5d3a7632b994bb45cf0c00edd058..7cb04667aeedce9d2202ed5f6b86eb3390f1ab5b 100644 (file)
  * read binary data off of the receive queue.
  */
 
-/* [module]
- * import Util from "./util";
- */
+import Util from "./util.js";
+
 
 /*jslint browser: true, bitwise: true */
 /*global Util*/
 
-/* [module] export default */ function Websock() {
+export default function Websock() {
     "use strict";
 
     this._websocket = null;  // WebSocket object