This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-23
Channels
- # announcements (1)
- # aws (11)
- # beginners (28)
- # boot (235)
- # business (1)
- # cider (19)
- # clojure (34)
- # clojure-china (1)
- # clojure-czech (10)
- # clojure-japan (7)
- # clojure-poland (3)
- # clojure-russia (84)
- # clojure-sg (4)
- # clojure-uk (3)
- # clojurescript (114)
- # community-development (4)
- # core-async (15)
- # cursive (8)
- # datascript (5)
- # datomic (6)
- # editors-rus (27)
- # events (2)
- # hoplon (61)
- # jobs (2)
- # ldnclj (56)
- # ldnproclodo (5)
- # lein-figwheel (232)
- # luminus (1)
- # off-topic (5)
- # om (215)
- # onyx (436)
- # overtone (8)
- # re-frame (3)
- # reagent (3)
i started playing around with the html hlisp syntax, and it’s pretty cool. genius to reimagine html as a lisp!
just make a file in your project, like suppose i was working on a project called "foop"
these macros seem pretty general purpose. would this be something to contribute back into hlisp for others to use?
also we might be able to modify the defelem macro to optionally accept the :args
attribute
(defelem :args [attr kids] ...)
is same as <defelem args="{{ [attr kids] }}">...</defelem>
updating the site tonight
Awesome logo! :D
Oh by the way, is there any plan to add docstring support for defelem? I think that would be a great feature when working with big teams/big projects.
no plan, but a PR would be very welcome... it's a good idea
what's the current state of hoplon/boot/figwheel combo? Does it work well? Will have to try it myself anyway, I guess maybe someone can point me into recent project examples?
how can i capture the value of innerHeight or innerWidth to a cell and and have it update when the browser window changes size?
@raywillig: (.on (js/jQuery js/window) "resize" (fn [e] ...))
and swap! your cells in that callback
oh awesome. thx @alandipert
@alandipert: that worked great. now my google map is always the right size