ndt-project / ndt

Network Diagnostic Tool
Other
178 stars 45 forks source link

Changes to facilitate using Websocket scripts with external, custom HTML and CSS. #204

Closed nkinkade closed 8 years ago

nkinkade commented 8 years ago

The commit messages here are not exactly helpful for the most part because this was a piecemeal, experiment-as-you-go procedure. 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. In essence, there should be no changes at all to how the Websocket test functions or looks when this is running via fakewww.