This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-14
Channels
- # beginners (33)
- # cider (17)
- # clara (13)
- # cljs-dev (7)
- # clojars (1)
- # clojure (47)
- # clojure-brasil (1)
- # clojure-dev (4)
- # clojure-italy (3)
- # clojure-russia (4)
- # clojure-uk (1)
- # clojurescript (4)
- # core-async (4)
- # core-logic (6)
- # cursive (7)
- # datomic (1)
- # emacs (35)
- # fulcro (56)
- # hoplon (7)
- # jobs-discuss (89)
- # lumo (6)
- # numerical-computing (1)
- # onyx (86)
- # parinfer (3)
- # reagent (2)
- # rum (2)
- # specter (5)
- # sql (13)
- # unrepl (2)
@thedavidmeister here is an example of implementing something via the catch all elem!
multimethod https://github.com/hoplon/hoplon/blob/57b1bae675ac58d9d67eb0d9ef2a326e85f69c9d/src/hoplon/core.cljs#L380-L406
We forward all the :hoplon/*
internal calls to hl!
which implements the logic, this allows external libs to override internal parts of Hoplon
@thedavidmeister alternatively you could do something like
(defmethod on! :dnd/*
[elem key fn]
(on! elem (keyword (name key)) fn))
@flyboarder cheers, i'll check that out in a bit
wish that worked
oh, it was just :html (j/cell= (js/marked c))
using [cljsjs/marked "0.3.5-1"]
lol