This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro explanatory-cond-> | |
"Adapted from Clojure's cond-> macro to keep a list of conditions and results" | |
[expr & clauses] | |
(assert (even? (count clauses))) | |
(let [g (gensym) | |
pstep | |
(fn [[test step]] | |
`(if ~test | |
[(-> (if (vector? (first ~g)) (ffirst ~g) (first ~g)) ~step) | |
(cons [(quote ~test) (quote ~step) (first ~g)] (second ~g))] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
:id "dev" | |
:source-map true | |
:source-map-timestamp true | |
:source-map-path "public/js" | |
:output-to "public/js/main.js" | |
:output-dir "public/js" | |
:asset-path "js" | |
:foreign-libs [ | |
{:file "http://ariutta.github.io/svg-pan-zoom/dist/svg-pan-zoom.min.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lamina.core.graph.propagator: error in aleph.http.core/expand-writes | |
java.lang.NullPointerException | |
at clojure.lang.RT.intCast(RT.java:1065) | |
at aleph.http.core$ring_map__GT_netty_response.invoke(core.clj:341) | |
at aleph.http.core$expand_writes$fn__822.invoke(core.clj:177) | |
at lamina.core.graph.propagator$bridge_join$fn__2582.invoke(propagator.clj:162) | |
at lamina.core.graph.propagator.BridgePropagator.propagate(propagator.clj:57) | |
at lamina.core.graph.node.Node.propagate(node.clj:273) | |
at lamina.core.channel.SplicedChannel.enqueue(channel.clj:102) | |
at lamina.core$enqueue.invoke(core.clj:101) |
NewerOlder