m-lab / ndt

Network Diagnostic Tool
Other
11 stars 7 forks source link

Decouples Websocket code from HTML so external sites can use Websocke… #45

Closed nkinkade closed 8 years ago

nkinkade commented 8 years ago

Decouples Websocket code from HTML so external sites can use Websocket code with their own HTML frontend (to some extent). The basic idea behind these changes, notwithstanding some style changes like consistently using single quotes, is that the core Websocket scripts can be used by other front-end implementations other than fakewww. The principal motivation for doing this is so that the M-Lab website can use the official NDT Websocket code located in the NDT project repository, while still maintaining control over the user interface so that it fits better stylistically, and also so that it can be embedded using HTTPS.

I have compiled this and tested that it works as expected. There should be no changes at all to how the Websocket test currently functions or looks when this is running via fakewww.

nkinkade commented 8 years ago

Closing this and moving PR to a feature branch.