This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-06
Channels
- # admin-announcements (17)
- # beginners (78)
- # boot (162)
- # braid-chat (2)
- # cider (20)
- # cljs-dev (9)
- # cljsjs (41)
- # cljsrn (17)
- # clojure (98)
- # clojure-austin (5)
- # clojure-brasil (1)
- # clojure-dusseldorf (1)
- # clojure-greece (1)
- # clojure-ireland (2)
- # clojure-italy (1)
- # clojure-japan (5)
- # clojure-russia (128)
- # clojure-uk (2)
- # clojurescript (29)
- # core-async (1)
- # core-logic (7)
- # css (1)
- # cursive (12)
- # datomic (18)
- # devcards (1)
- # dirac (6)
- # emacs (31)
- # funcool (28)
- # hoplon (208)
- # jaunt (66)
- # jobs (1)
- # juxt (6)
- # lein-figwheel (14)
- # off-topic (9)
- # om (83)
- # om-next (6)
- # onyx (63)
- # overtone (1)
- # parinfer (2)
- # protorepl (23)
- # re-frame (27)
- # reagent (14)
- # ring-swagger (8)
- # slack-help (2)
- # spacemacs (1)
- # untangled (56)
Anyone here using figwheel with a traditional java app?
I seem to have setup everything right, and see my browser connecting, and can query state from the repl..
but live-reload is still elusive..
OK! reify isn't an anonymous defrecord
and not an anonymous deftype
(see http://app.klipse.tech/?cljs_in=(defprotocol%20Fly%0A%20%20(fly%20%5Bthis%5D))%0A%0A(def%20x%20(reify%20Fly%0A%20%20%20%20%20%20%20%20%20(fly%20%5B_%5D%20%22anonymous%20fly%22)))%0A%0A(deftype%20Bird%20%5B%5D%0A%20%20Fly%0A%20%20(fly%20%5Bthis%5D%20%22Bird%20fly%22))%0A%0A(defrecord%20Plane%20%5B%5D%0A%20%20Fly%0A%20%20(fly%20%5Bthis%5D%20%22Plane%20fly%22)))
defrecord implements {cljs.core.IRecord} * @implements {cljs.user.Fly} * @implements {cljs.core.IEquiv} * @implements {cljs.core.IHash} * @implements {cljs.core.ICollection} * @implements {cljs.core.ICounted} * @implements {cljs.core.ISeqable} * @implements {cljs.core.IMeta} * @implements {cljs.core.ICloneable} * @implements {cljs.core.IPrintWithWriter} * @implements {cljs.core.IIterable} * @implements {cljs.core.IWithMeta} * @implements {cljs.core.IAssociative} * @implements {cljs.core.IMap} * @implements {cljs.core.ILookup}
and reify implements * @implements {cljs.core.IWithMeta} * @implements {cljs.core.IMeta}
hiccup uses keywords such as :script
. Can anyone tell me where a list of all these keywords are? I want to translate a very simple html page into hiccup, and I need to find the equivalent of tags such as html, head, meta, link, body and div. Or do I just put a colon at the front of these, nest them properly, and I should be fine?
I don’t use hiccup myself, but I just opened github and looked at its sources. There is no such list. Hiccup simply converts the first param which must[0] be keyword, symbol or string (please note that it can have css-style id and classes!) to string[1] and then uses regexp[2] to parse it. [0] https://github.com/weavejester/hiccup/blob/master/src/hiccup/compiler.clj#L60 [1] https://github.com/weavejester/hiccup/blob/master/src/hiccup/compiler.clj#L62 [2] https://github.com/weavejester/hiccup/blob/master/src/hiccup/compiler.clj#L37
Does anybody know any guide to help add Clojure/Clojurescript code analysers(Kibit, Bikeshed, etc.) to Overcommit? https://github.com/brigade/overcommit
Has anyone used Clojurescript to build Chrome Extensions? If so, did you run into any difficulties or things I should look out for?
@jonathandale: @darwin is using cljs for chrome extensions
@adamfrey: Thanks
@darwin: When using the chromex-sample project, and cljs-ajax I’ve noticed an eval
in the compiled source.
Seems to come from this: https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/core.cljs#L10394
Wondering if you’ve encountered this also, as I’m a bit wary of adding eval
in the extension source.
@jonathandale no, I didn’t see eval in my projects, (I assume you are speaking about :advanced build optimizations)
ok thanks
@jonathandale: I built a simple Chrome extensions with CLJS, it was pretty straightforward - source mapping worked fine too
@mcgivernsa: cool, good to know
I've got doo
almost perfectly set up, but I notice that whenever I change a file, it does the detect/reload/run cycle twice. Anyone have a clue why? (I can totally live with this as long as it works!)