hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
flyboarder 2018-01-14T01:36:41.000019Z

@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

flyboarder 2018-01-14T01:37:39.000045Z

We forward all the :hoplon/* internal calls to hl! which implements the logic, this allows external libs to override internal parts of Hoplon

flyboarder 2018-01-14T02:04:11.000022Z

@thedavidmeister alternatively you could do something like

(defmethod on! :dnd/*
  [elem key fn]
  (on! elem (keyword (name key)) fn))

2018-01-14T09:05:33.000049Z

@flyboarder cheers, i'll check that out in a bit

2018-01-14T14:58:35.000052Z

https://github.com/hoplon/markdown >.<

2018-01-14T14:58:47.000099Z

wish that worked

2018-01-14T15:15:23.000031Z

oh, it was just :html (j/cell= (js/marked c)) using [cljsjs/marked "0.3.5-1"] lol