More namespace fixes.
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Oly 2023-08-16 16:47:08 +01:00
parent 00bc690eb4
commit c80c1c3112
6 changed files with 17 additions and 13 deletions

View File

@ -1,11 +1,10 @@
((clojurescript-mode . ((clojurescript-mode .
(cider-clojure-cli-aliases . "-M:dev") ((cider-clojure-cli-aliases . "-M:dev")
(cider-preferred-build-tool . clojure-cli) (cider-preferred-build-tool . clojure-cli)
(cider-default-cljs-repl . custom) (cider-default-cljs-repl . custom)
(cider-custom-cljs-repl-init-form . "(do (user/cljs-repl))") (cider-custom-cljs-repl-init-form . "(do (user/cljs-repl))")
;(cider-shadow-default-options . "<your-build-name-here>") ;(cider-shadow-default-options . "<your-build-name-here>")
(cider-shadow-watched-builds . (":app")) (cider-shadow-watched-builds . (":app"))
(eval . (progn (eval . (progn (make-variable-buffer-local cider-jack-in-nrepl-middlewares)
(make-variable-buffer-local 'cider-jack-in-nrepl-middlewares) (add-to-list cider-jack-in-nrepl-middlewares "shadow.cljs.devtools.server.nrepl/middleware")))
(add-to-list 'cider-jack-in-nrepl-middlewares "shadow.cljs.devtools.server.nrepl/middleware"))) )))
))

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ reagent-reitit-demo/.cpcache/
reagent-reitit-demo/resources/public/cljs-out/ reagent-reitit-demo/resources/public/cljs-out/
spec-demo/resources/public/cljs-out/ spec-demo/resources/public/cljs-out/
*.nrepl-port *.nrepl-port
/resources/public/sitemap.xml

View File

@ -13,4 +13,6 @@ clojure -Mbuild-dev watch app
#+END_SRC #+END_SRC
https://stacksorted.com
https://www.clojuriststogether.org/news/call-for-new-proposals.-june-survey-results./ https://www.clojuriststogether.org/news/call-for-new-proposals.-june-survey-results./

View File

@ -1,5 +1,6 @@
#+TITLE: Embedding maps in your apps #+TITLE: Embedding maps in your apps
#+DESCRIPTION: Example's of embeding maps into your frontend application. #+DESCRIPTION: Example's of embeding maps into your frontend application.
#+FILETAGS: clojurescript:frontend:interop
* Introduction * Introduction

View File

@ -96,8 +96,8 @@ We use map and into to convert the stats value
#+BEGIN_SRC clojure :results output :tangle src/core.clj #+BEGIN_SRC clojure :results output :tangle src/core.clj
(defn playing-card (defn playing-card
[{:keys [title image stats]}] [{:keys [title image stats]}]
[:article.fl.br2.ba.dark-gray.b--black-10.ma2.w-100.h-200.w-50-m.w-25-l.mw5 [:article
[:div.pa2.ph3-ns.pb3-ns [:div.border-solid.border-2.border-sky-500.m-4.w-100
[:div.dt.w-100.mt1 [:div.dt.w-100.mt1
[:div [:h1.f5.f4-ns.mv0 title]] [:div [:h1.f5.f4-ns.mv0 title]]
[:img.db.w-100.h-100.br2.br--top {:src image}] [:img.db.w-100.h-100.br2.br--top {:src image}]

View File

@ -81,7 +81,8 @@
{:classes {'js js/globalThis :allow :all} {:classes {'js js/globalThis :allow :all}
:features #{:cljs} :features #{:cljs}
:aliases {'promesa 'promesa.core :aliases {'promesa 'promesa.core
'reagent 'reagent.core} 'reagent 'reagent.core
'd 'datascript.core}
:namespaces :namespaces
{'reagent.core sci-reagent/reagent-namespace {'reagent.core sci-reagent/reagent-namespace
'reagent.ratom sci-reagent/reagent-ratom-namespace 'reagent.ratom sci-reagent/reagent-ratom-namespace