This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-07
Channels
- # beginners (41)
- # boot (38)
- # cider (17)
- # cljs-dev (52)
- # cljsjs (3)
- # clojure (200)
- # clojure-italy (8)
- # clojure-russia (50)
- # clojure-spec (28)
- # clojure-uk (45)
- # clojurescript (28)
- # core-async (9)
- # core-matrix (2)
- # cursive (16)
- # datascript (15)
- # datomic (50)
- # dirac (5)
- # emacs (20)
- # figwheel (8)
- # flambo (2)
- # hoplon (10)
- # incanter (1)
- # jobs (1)
- # leiningen (2)
- # lumo (26)
- # mount (171)
- # off-topic (22)
- # om (54)
- # onyx (2)
- # pedestal (27)
- # re-frame (10)
- # reagent (12)
- # ring (27)
- # ring-swagger (3)
- # rum (2)
- # slack-help (1)
- # spacemacs (134)
- # specter (6)
- # sql (15)
- # testing (20)
- # uncomplicate (5)
- # unrepl (49)
- # untangled (9)
- # yada (29)
@jab I'm usually just js/console.log
ging from the reload function and if that doesn't appear in the browser console, then I must have specified the wrong function name
@alandipert @jumblerg @micha this looks like some cool shit: https://www.youtube.com/watch?v=iN2PflvXUqQ&feature=youtu.be
@jab btw for my reload tests i created this project: https://github.com/onetom/boot-reloadable-hoplon and it only works IF i add (enable-console-print!)
to the beginning of my src/page/index.cljs
,
but your example doesn't work with that addition either. i suspect the issue might be the dash in the namespace name....
@onetom Just saw this - thank you so much for taking a look! I'm tied up for an hour or so but then will try removing the dash from the namespace name and let you know what happens. In the meantime, I'm curious about ways this could be easier to debug, like if a warning or error could be emitted somewhere when the provided :on-jsload
function couldn't be found
@jumblerg do you have any examples of the new font stuff in hoplon/ui? I'm using a locally built version of the latest source. And just stealing the font defined in the markdown code in ui.cljs, but I can't seem to get the text to be bold.
(def sans-serif-strong (attrs/font :generic :sans-serif [:normal :700 :regular]))
(window
(elem :sh (r 1 1)
:ft sans-serif-strong
"foo"))
@onetom looks awesome. Reminds me of
@jjttjj I haven't digested the font path syntax yet, but this is working form me for loading a "bold" typeface
(def bold (font :system ["Lato Bold"] :opentype "Lato-Bold.ttf"))
(elem :tf bold