This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-17
Channels
- # beginners (52)
- # boot (116)
- # cider (21)
- # cljs-dev (44)
- # clojure (104)
- # clojure-dev (82)
- # clojure-greece (5)
- # clojure-japan (4)
- # clojure-nl (14)
- # clojure-russia (65)
- # clojure-serbia (3)
- # clojure-spec (38)
- # clojure-uk (9)
- # clojure-ukraine (1)
- # clojurescript (65)
- # clojurewest (1)
- # community-development (1)
- # core-logic (3)
- # cursive (5)
- # data-science (9)
- # datomic (13)
- # emacs (45)
- # euroclojure (1)
- # hoplon (2)
- # instaparse (23)
- # javascript (1)
- # jobs (2)
- # klipse (43)
- # leiningen (8)
- # lumo (25)
- # off-topic (7)
- # om (13)
- # om-next (3)
- # onyx (11)
- # pedestal (12)
- # planck (19)
- # proton (1)
- # re-frame (26)
- # reagent (26)
- # remote-jobs (13)
- # ring-swagger (23)
- # spacemacs (1)
- # untangled (3)
Hello all, I麓m trying to use a resource called dialogPolyfill and it exports as dialogPolyfill or window['dialogPolyfill']. I included it before the app.js of my app, so how to use it? I tried with js/dialogPolyfill, is there any other way?
Played a bit with vscode extensions and cljs and it seems to be a lot simpler than expected - https://github.com/dvcrn/vscodecljs Would love to see more extensions written in clojurescript guys 馃檪
@renewdoit weird because you鈥檙e the 2nd person to report that today
your example returns 3 for me
can you make sure you have cleaned you build and try again?
@anmonteiro I just checked it in cider repl and in a separated test, it runs fine in the test, but went wrong in cider.
sorry, but I don鈥檛 think that adds any information to the problem
I think it looks likely a problem depends on cider's implementation. Not a clojurescript bug.
I just reported it in cider channel. For myself, to make developement easier, I just switched to 1.9.229 now.
@renewdoit It actually also happened for me in a lein figwheel
prompt too.
@phil I configured my cider environment for using figwheel, then maybe it is a figwheel problem
Which UI library would you recommend today for apps/dashboards to use with reagent/re-frame? I don't care about older browsers and I am sick of Bootstrap and its buttons rendering too low (or pills rendering too high) in the line. I want a more high-level interface, less flexible but working for 80% of use cases. Semantic-UI (with https://github.com/gadfly361/soda-ash)?
@renewdoit Possibly, either way, downgrading clojurescript 'fixes' it for me.
Looks like I have hit an issue with the Closure compiler generating broken output from a node module. Any suggestion how a minimal repro should look like?
yeah I don't think it works in clojurescript
@deas i would start from the quick start on the website and build from there
well, I just play it smart, and declare a symbol and base my logic on what it's bound to 馃檪
@richiardiandrea The online compiler service? If so, does it consume node modules?
I ask mainly because I sometimes use cloud9 for working on things when I'm not with my own computer (which is often given school)
Their host machines just run out of memory on any initial compile, which is unfortunate
@emccue you could use a CI platform like CircleCI to build your project then upload the artifact somewhere, S3 perhaps
@deas no I mean the quick start here: https://clojurescript.org/guides/quick-start
The project should be as bare as possible I guess
@deas if this was the issue you ran into, it鈥檚 merged into the Closure Compiler master now https://github.com/google/closure-compiler/pull/2283
@anmonteiro Does not look like a hosting issue to me. It's https://github.com/JedWatson/classnames/blob/master/index.js ending up compiled as var module$$foo$bar$node_modules$classnames$index = classNames;
with classNames
not being defined.
@deas it does seem like the same exact issue I linked
there鈥檚 a function classNames () {
definition in that file
which is hoisted
I keep running into this issue with the figwheel cljs repl. If I try and view a piece of data that is too big, my emacs cider repl starts to get all sluggish. Is there a way to clear the repl manually?
@anmonteiro Oh yes, guess you are right. Thanks!
@benzap M-x cider-repl-clear-buffer
I believe
I normally just hit ,
at the CIDER REPL and search for clear
I'm wanting to connect to the Google Sheets API from Clojurescript. I've looked around for a CLJS wrapper, but haven't found one. I'm willing to start from scratch, but that would be a shame if I'm just missing something useful. Does anyone know of any projects that have connected to Google sheets using the external API (https://developers.google.com/sheets/api/)?
if tabletop is enough for you needs, it's pretty simple
I found this which might be helpful: https://github.com/SparkFund/google-apps-clj
well it depends if you are you looking at the server-to-server api or client-to-server
oh and there's http://sheetsu.com/ which could be useful?
I found this: http://jsfiddle.net/7EAgz/ and just used interop 馃檪
that makes sense. You could also use web audio to synthesize a tone: https://gist.github.com/qleonetti/03a9e15dedf0fd783451
I know that I don't have the optimal cljs debuging env yet. Is there an option for the following:
1) I get a exception/assertion failure in the browser.
2) Inside the browser, I want a stack trace of all function calls.
3) I want to be able to, for each function call, see the argument passed to it.
^^ in plain clojure, there is cursive which supports this.
in cljs / browser debugging, is there anything which does the above ?@qqq chrome has a "pause on exception" option which jumps right into the debugger (in the sources tab)
is there some tutorial/github repo that will walk me through setting up the optimal cljs/chrome dev tools debug env? so I can just copy it and have the "right thing"