mfikes / ambly

ClojureScript REPL into embedded JavaScriptCore
http://ambly.fikesfarm.com
Eclipse Public License 1.0
540 stars 21 forks source link

Allow client code to control JSContext and what's added to it #23

Closed mfikes closed 9 years ago

mfikes commented 9 years ago

Currently the context manager is a bit inflexible, creating a JSContext and unconditionally adding support for logging, timers, require, etc.

To make things more reusable in broader contexts, the client app code should be able to control the creation of the JSContext and to opt into the things added into it.