This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-13
Channels
- # arachne (2)
- # architecture (23)
- # bangalore-clj (5)
- # beginners (35)
- # boot (79)
- # cider (6)
- # cljs-dev (34)
- # cljsrn (9)
- # clojure (164)
- # clojure-argentina (2)
- # clojure-austin (4)
- # clojure-italy (7)
- # clojure-russia (40)
- # clojure-serbia (1)
- # clojure-spec (76)
- # clojure-uk (36)
- # clojurescript (47)
- # cursive (14)
- # datascript (2)
- # datomic (8)
- # dirac (19)
- # emacs (29)
- # heroku (7)
- # hoplon (35)
- # jobs-rus (1)
- # juxt (2)
- # leiningen (1)
- # lumo (23)
- # mount (4)
- # off-topic (22)
- # om (16)
- # onyx (19)
- # parinfer (10)
- # pedestal (47)
- # proton (5)
- # re-frame (88)
- # rum (1)
- # spacemacs (33)
- # sql (29)
- # uncomplicate (1)
- # unrepl (131)
- # untangled (5)
- # yada (12)
@darwin: okay, so: (1) cljs devtools = pretty-printed data in console; javascript names in stackframe, javascript data in view source (2) dirac devtools = pretty-printed data in console; pretty-printed names in stackframe; pretty-printed data in view source ?
not exactly, cljs-devtools is a collection of enhancements that can be implemented in javascript, for example :formatters feature leverages Custom Formatters subsystem available in Chrome DevTools since 2015: https://github.com/binaryage/cljs-devtools/blob/master/docs/faq.md
Dirac is a full-blown fork of Chrome DevTools which adds stuff which cannot be implemented directly
custom formatters are currently presented in console and “scope” view of “Sources Panel”, they are not presented as inline data in source view
atleast the vars are observable in the "scope" sidebar, so it's not a complete loss; I can tolerate this
@darwin: https://github.com/binaryage/cljs-oops/search?p=2&q=ocall&utf8=%E2%9C%93 <-- is there a list of examples for how to use ocall ? the readme.md has screenshots of oget/oset! , but I can't find docs ofr ocall anywhere
yes, I didn’t document it yet, it works similar to javascript .call, it does “this” retargeting, which is something you would normally do by hand: https://github.com/binaryage/cljs-oops/releases/tag/v0.5.0 you can get some inspiration here: https://github.com/binaryage/cljs-oops/blob/master/test/src/tests/oops/main.cljs#L291
@darwin : cljs devtools, by itself, suprisingly does alot; if you were to estimate, how many times harder is groking dirac codebase than groking cljs devtools codebase ?
(dirac seems too hard to jump in; I'm considering hacking on cljs dev tools myself for mobile needs)
@darwin: my question definitely looks lazy, but it's because I know so little about devtool internals that I'm not even sure how to estimate it