This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-26
Channels
- # architecture (2)
- # beginners (83)
- # boot (472)
- # cider (10)
- # cljsrn (4)
- # clojure (80)
- # clojure-russia (7)
- # clojure-spec (34)
- # clojure-taiwan (1)
- # clojure-uk (7)
- # clojurescript (19)
- # core-async (5)
- # emacs (7)
- # figwheel (1)
- # hoplon (52)
- # jobs (1)
- # luminus (14)
- # om (1)
- # om-next (3)
- # perun (69)
- # proton (2)
- # protorepl (4)
- # re-frame (28)
- # reagent (6)
- # remote-jobs (1)
@johanatan: sounds like a bug but I would double check your setup
oh, looks like it was actually a diff func than I thought it was: (.existsSync (node/require "fs") param)
. Any pointers on how to declare externs for node.js funcs?
ooh, looks like this might do it: https://github.com/nervous-systems/cljs-nodejs-externs
johanatan, may I ask, why adv compilation with node?
@pesterhazy: dead code elimination and smaller download for NPM users
@johanatan simple will not get you the first one
if i need to use something from github, which method would you suggest https://github.com/tobyhede/lein-git-deps or clone and https://github.com/kumarshantanu/lein-localrepo ?
Yes, ex-info
@pesterhazy : http://stackoverflow.com/questions/5459865/how-can-i-throw-an-exception-in-clojure <-- found it; thanks!
Learn to use ex-info, it's wonderful!
@pesterhazy : 1. What is there to ex-info besides ex-data? 2. It turns out in cljs land, it's catch js/Error instead of catch Throwable
Ad 1, nothing :)