nervous-systems / eulalie

Asynchronous AWS client for Clojure & Clojurescript/Node
The Unlicense
86 stars 10 forks source link

Conditionally use browser-aware HTTP client #21

Open moea opened 8 years ago

moea commented 8 years ago

I think this might be a good candidate for a small external library - figure out if we're running on Node, or in-browser and either require('http') or use XHR. I like the idea of using this feature to nail down the approach to runtime platform checks and setting up parallel builds.