diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-05-14 09:37:57 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-05-14 09:37:57 +0300 |
commit | c64b3e5b971cb70bf57575b299ce4e87d3b7b057 (patch) | |
tree | b9f7dc4964da34130c6a87c973a5f72323d172d9 | |
parent | ff3bfa2642cfcd4eb5f2756280ea057dc69f8aff (diff) |
Require the nashorn REPL before trying to use it
-rw-r--r-- | cider.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -682,7 +682,7 @@ The supplied string will be wrapped in a do form if needed." (format "(do %s)" form)))) (defvar cider-cljs-repl-types - '((nashorn "(cider.piggieback/cljs-repl (cljs.repl.nashorn/repl-env))" + '((nashorn "(do (require 'cljs.repl.nashorn) (cider.piggieback/cljs-repl (cljs.repl.nashorn/repl-env)))" cider-check-nashorn-requirements) (figwheel "(do (require 'figwheel-sidecar.repl-api) (figwheel-sidecar.repl-api/start-figwheel!) (figwheel-sidecar.repl-api/cljs-repl))" cider-check-figwheel-requirements) |