This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-15
Channels
- # bangalore-clj (4)
- # beginners (53)
- # boot (7)
- # cider (1)
- # clara (1)
- # cljs-dev (13)
- # clojure (29)
- # clojure-dusseldorf (3)
- # clojure-russia (7)
- # clojure-spec (63)
- # clojure-uk (7)
- # clojurescript (51)
- # css (1)
- # datomic (5)
- # emacs (1)
- # events (1)
- # fulcro (15)
- # hoplon (3)
- # immutant (3)
- # juxt (1)
- # midje (2)
- # off-topic (24)
- # om (1)
- # parinfer (1)
- # portkey (54)
- # re-frame (4)
- # reagent (13)
- # schema (1)
- # shadow-cljs (19)
- # sql (1)
- # testing (37)
- # yada (2)
hello, I'm using figwheel for a node.js server. When figwheel detects file changes, it says it loaded the right files, but it doesn't actually restart -main
depending on what you're doing in main, you may or may not want it to be reloaded automatically. A safe default is not to I'd think.
Anybody know how to intercept an onChange
handler from a rum-component? I’m trying to create a mixin for validating input, and I have a Text component that I’m trying to “wrap” with extra functionality, but I can’t figure out if I have a way to get at the function.
sorry for the repeat question since I'm pretty sure I've asked this before, but what are our options for auto-gen CSS classnames in CLJS-land? I'm aware of Roman's cljss, theller's shadow.markup and interop hacks like my own styled-classnames, but I thought there were others as well
hello people, I'm trying to write a cljs library that needs to provide some externs
but when I try to compile I'm always getting this:
SEVERE: ERROR - Duplicate extern input: /Users/wilkerlucio/Development/oge-public/src/com/wsscode/oge/vendor/externs.js
Oct 15, 2017 3:56:17 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 1 error(s), 0 warning(s)
ERROR: JSC_DUPLICATE_EXTERN_INPUT. Duplicate extern input: /Users/wilkerlucio/Development/oge-public/src/com/wsscode/oge/vendor/externs.js at (unknown source) line (unknown line) : (unknown column)
what does that error mean? I'm using deps.cljs
, where I set the foreign-libs and the externs
if I don't set the externs it compiles, but breaks on advanced
when I add the path for the externs.js
, which is just this:
var parinferCodeMirror = {
"init": function() {}
};
the compilation breaks with the previous error
can someone help me on how to properly setup the externs?
this is my deps.cljs
:
{:foreign-libs [{:file "com/wsscode/oge/ui/oge-mode.js"
:provides ["codemirror.oge"]
:requires ["cljsjs.codemirror"]}
{:file "com/wsscode/oge/vendor/parinfer.js"
:provides ["parinfer"]}
{:file "com/wsscode/oge/vendor/parinfer-codemirror.js"
:provides ["codemirror.parinfer"]
:requires ["parinfer" "cljsjs.codemirror"]}
{:file "com/wsscode/oge/vendor/d3.flameGraph.min.js"
:provides ["d3.flamegraph"]
:requires ["cljsjs.d3" "cljsjs.d3-tip"]}]
:externs ["com/wsscode/oge/vendor/externs.js"]}
@wilkerlucio there’s a bug somewhere in JIRA to dedup externs
humm, do we have some workaround for it?
Not that I’m aware
ok, thanks
Do you have the cljsjs parinfer in your dependencies?
You’re probably unnecessarily duplicating some externs?
no, I don't have that one
it happens when I try to add my own externs
otherwise it works fine
I'll probably just change my calls to gobj/get
things to get it going
@anmonteiro and great talk at conj 🙂
Hello, I recently relocated to Calgary, Alberta just poking around to see if there are any Clojurians who may want to do a Meetup sometime?