BlocklyProp icon indicating copy to clipboard operation
BlocklyProp copied to clipboard

Isolate/refactor browser <-> client communication code

Open MatzElectronics opened this issue 6 years ago • 0 comments

There are currently two mechanisms across three files that handle the communication between the browser and the client/launcher.
Mechanisms:

  • GET/POST
  • Websocket

Across these files

  • blocklyc.js
  • blocklypropclient.js
  • editor.js

The functions need to be isolated and separated into just the blocklypropclient.js file, and any functions not related to the broswer/client comms need to be moved to the editor.js or blocklyc.js files. This will allow them to be safely removed when the launcher is merged into the offline app.

MatzElectronics avatar Sep 21 '18 03:09 MatzElectronics