Add hoplon and javelin as a plugin (#73)
* Hoplon and Javelin plugins * Only Hoplon plugin * Bump promesa * Update sci context access/update * Bump sci
This commit is contained in:
parent
f63d50215d
commit
d456009ca1
12 changed files with 89 additions and 24 deletions
3
plugins/hoplon/deps.edn
Normal file
3
plugins/hoplon/deps.edn
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{:deps
|
||||
{hoplon/hoplon {:mvn/version "7.5.0"}
|
||||
io.github.babashka/sci.configs {:git/sha "08bab21643bc0c63a5b99c65193c9d24888270b7"}}}
|
||||
9
plugins/hoplon/src/scittle/hoplon.cljs
Normal file
9
plugins/hoplon/src/scittle/hoplon.cljs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(ns scittle.hoplon
|
||||
{:no-doc true}
|
||||
(:require [sci.configs.hoplon.hoplon :refer [config]]
|
||||
[scittle.core :as scittle]))
|
||||
|
||||
(defn init []
|
||||
(scittle/register-plugin!
|
||||
::hoplon
|
||||
config))
|
||||
9
plugins/hoplon/src/scittle/javelin.cljs
Normal file
9
plugins/hoplon/src/scittle/javelin.cljs
Normal file
|
|
@ -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))
|
||||
13
plugins/hoplon/src/scittle_plugin.edn
Normal file
13
plugins/hoplon/src/scittle_plugin.edn
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[{:name scittle/hoplon
|
||||
: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.dom]}
|
||||
:scittle.javelin {:init-fn scittle.javelin/init
|
||||
:depends-on #{:scittle}
|
||||
:entries [javelin.core]}}}}]
|
||||
Loading…
Add table
Add a link
Reference in a new issue