]> git.proxmox.com Git - mirror_novnc.git/blobdiff - docs/notes
Merge pull request #1048 from ghostplant/master
[mirror_novnc.git] / docs / notes
index 9bcc6af3f4d7a00ee814da7bf41fdfc5a9b37079..dfef0bd6afe0f436e6212481ce009fabf77bd695 100644 (file)
@@ -1,17 +1,5 @@
-Some implementation notes:
+Rebuilding inflator.js
 
-There is an included flash object (web-socket-js) that is used to
-emulate websocket support on browsers without websocket support
-(currently only Chrome has WebSocket support).
-
-Javascript doesn't have a bytearray type, so what you get out of
-a WebSocket object is just Javascript strings.  Javascript has UTF-16
-unicode strings and anything sent through the WebSocket gets converted
-to UTF-8 and vice-versa. So, one additional (and necessary) function
-of websockify is base64 encoding/decoding what is sent to/from the
-browser.
-
-Building web-socket-js emulator:
-
-cd include/web-socket-js/flash-src
-mxmlc -static-link-runtime-shared-libraries WebSocketMain.as
+- Download pako from npm
+- Install browserify using npm
+- browserify core/inflator.mod.js -o core/inflator.js -s Inflator