diff --git a/deps.edn b/deps.edn index ef7dbf4..da53643 100644 --- a/deps.edn +++ b/deps.edn @@ -19,7 +19,7 @@ io.github.babashka/sci.configs #_{:local/root "/Users/borkdude/dev/sci.configs"} {:git/url "https://github.com/babashka/sci.configs" - :git/sha "33bd51e53700b224b4cb5bda59eb21b62f962745"}} + :git/sha "08bab21643bc0c63a5b99c65193c9d24888270b7"}} :aliases {:dev {:extra-paths ["dev"] diff --git a/plugins/hoplon/src/scittle/javelin.cljs b/plugins/hoplon/src/scittle/javelin.cljs new file mode 100644 index 0000000..7334a2d --- /dev/null +++ b/plugins/hoplon/src/scittle/javelin.cljs @@ -0,0 +1,9 @@ +(ns scittle.javelin + {:no-doc true} + (:require [sci.configs.hoplon.javelin :refer [config]] + [scittle.core :as scittle])) + +(defn init [] + (scittle/register-plugin! + ::javelin + config)) diff --git a/plugins/hoplon/src/scittle_plugin.edn b/plugins/hoplon/src/scittle_plugin.edn index b639edb..c086c97 100644 --- a/plugins/hoplon/src/scittle_plugin.edn +++ b/plugins/hoplon/src/scittle_plugin.edn @@ -1,9 +1,13 @@ [{:name scittle/hoplon - :namespaces [hoplon.core + :namespaces [javelin.core + hoplon.core hoplon.dom] :js "./scittle.hoplon.js" :shadow-config {:modules {:scittle.hoplon {:init-fn scittle.hoplon/init :depends-on #{:scittle :scittle.javelin} - :entries [hoplon.core hoplon.goog]}}}}] + :entries [hoplon.core hoplon.goog]} + :scittle.javelin {:init-fn scittle.javelin/init + :depends-on #{:scittle} + :entries [javelin.core]}}}}]