Closed mfikes closed 9 years ago
Implemented a simple command-line UI.
Here is a transcript:
orion:Clojure mfikes$ script/jscrepljs
To quit, type: :cljs/quit
[1] iPhone Simulator
[r] Refresh
Choice: r
[1] Mike's iPod touch
[2] iPhone Simulator
[r] Refresh
Choice: 1
Connecting to Mike's iPod touch ...
ClojureScript:cljs.user> (+ 3 4)
7
ClojureScript:cljs.user>
Bonjour could discover a few available targets. Currently the code simply picks the first and connects to it. Provide a way to let the user choose a discovered device, and a way to refresh, looking for more.