This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-14
Channels
- # admin-announcements (2)
- # beginners (32)
- # boot (217)
- # cider (20)
- # cljsjs (25)
- # cljsrn (9)
- # clojure (87)
- # clojure-android (7)
- # clojure-austin (4)
- # clojure-belgium (10)
- # clojure-canada (13)
- # clojure-dev (28)
- # clojure-dusseldorf (2)
- # clojure-greece (119)
- # clojure-nl (1)
- # clojure-russia (22)
- # clojure-spain (3)
- # clojure-spec (81)
- # clojure-uk (54)
- # clojurescript (32)
- # community-development (2)
- # core-async (19)
- # cursive (18)
- # datascript (5)
- # datomic (1)
- # dirac (22)
- # emacs (22)
- # hoplon (198)
- # incanter (1)
- # instaparse (4)
- # jobs (3)
- # keechma (15)
- # ldnclj (2)
- # lein-figwheel (14)
- # mount (8)
- # om (78)
- # om-next (4)
- # onyx (37)
- # other-languages (1)
- # pedestal (6)
- # re-frame (22)
- # reagent (25)
- # ring-swagger (17)
- # robots (1)
- # slack-help (1)
- # spacemacs (7)
- # specter (50)
- # spirituality-ethics (3)
- # uncomplicate (5)
- # untangled (1)
- # yada (17)
@dnolen @rohit I got most of it working now. I think the problems were related to that intermediate files from the compilation process were left behind. When using lein-doo those files apparently end up in the out folder (instead of target) which wasn't in my :clean-targets. There might have been other problems too. The only thing that still doesn't appear to be working is overriding deps.cljs to use the non-minified JS file. I'll dig more into that tomorrow. Thanks!
@dnolen: Alright. Should I report this somewhere then or just let it be? Sorry, not really familiar with the process.
Updated my build script: https://gist.github.com/rauhs/2a02e5e04b5bd4e4b4b5
Now also prints (and logs) file sizes for production builds (raw, gzipped, brotli compressed). Needs a local server that does the compression job.
Fun fact: Lean login page: Rum, bidi, transit: raw: 348kb, gzip: 82kb, brotli: 67.7kb. External (`<script src=react.15.1..>`): 36kb with Brotli
when i am trying to put the face book login button using following code [:div {:class "fb-login-button", :data-max-rows "1", :data-size "medium", :data-show-faces "false", :data-auto-logout-link "false"}] i am not getting any ouput .can any one help
@vinodgandamalla: Could you inspect element to confirm the div is being created?
@dominicm: yes it is created
So the issue is probably with facebook button more than cljs. I don't know about the facebook button, could you link to it?
@dominicm: https://developers.facebook.com/docs/facebook-login/web/login-button
is there an example somewhere of using cljs.js/eval
which allows expressions to refer to local bindings, like this: (fn [exp y] (cljs.js/eval state `(let [x# ~y] (exp)) ...
(something like that...I want exp to be able to refer to y)
hi...... For facebook integration which library we have to use?
@vinodgandamalla: Which lib do you use? It should be doable with any of the react libs
But you have to call facebook api manually after you've created the DOM with it, so that FB SDK can do its job
@rauh: thank you
@kauko spend a moment understand the issue then if you see something which seems like a bug report that
@kauko for example, look at the implementation of the fns, see if the issue is the implementation or it’s just a side effect of how JS regexes work
@darwin Do you have any recommendations for writing unit tests for Chromex?
@jonathandale: not really, in Dirac I’m using ChromeDriver to drive a real chrome instance and run tests inside, very hard to do
Ok, thanks… that’s the direction I’ve started to head in, but just thought I’d ask.
btw. I implemented a separate helper extension which helps automating the extension I’m testing
and whole thing is complicated by the fact the ChromeDriver uses Chrome Remote Debugger port to drive the chrome instance, I need to use that port myself, so my tests runner takes turns with ChromeDriver to talk to the chrome instance...
oh man… sounds complicated!
your situation should be much easier, but still you could be able to reuse some code from here: https://github.com/binaryage/dirac/tree/master/src/test/dirac/test
Thanks very much — will look into it.
@symbit (= b "true")
?
@aengelberg: Thanks!