andrewn / neue-radio

Neue Radio: Prototype connected object using web technologies
10 stars 6 forks source link

Examples: put websocket in global scope for easier REPLing #110

Closed andrewn closed 6 years ago

andrewn commented 6 years ago

If the websocket variable assignment was outside of the main function then I could open my Web Inspector and publish messages using the websocket easily.