This file contains 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
Error: Invalid arity: 1 | |
G__9743() | |
core.js:21275 | |
rabug$core$main_area/<() | |
core.js:81 | |
executeDispatch() | |
react.inc.js:3297 | |
[91]</SimpleEventPlugin.executeDispatch() | |
react.inc.js:15709 | |
forEachEventDispatch() |
This file contains 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
----- core.js:130:8 | |
Read Data {:selected-user [:user/by-name Jimmy], :users [[:user/by-name Jimmy] [:user/by-name Robby] [:user/by-name Bobby]]} core.js:130:8 | |
Read Query [{:selected-user [:userName]} {:users [:userName]}] core.js:130:8 | |
Call (om/db->tree query data (clojure.core/deref state)) core.js:130:8 | |
----- core.js:130:8 | |
Props of a user list [{:userName Jimmy} {:userName Robby} {:userName Bobby}] core.js:130:8 | |
----- |
This file contains 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
;; Given the following app state: | |
(def state {:items/list [{:item/id 0 :item/type :foo :foo/value 42} | |
{:item/id 1 :item/type :bar :bar/value 43}]}) | |
;; Foo has property `:foo/value` | |
(defui Foo | |
static om/Ident | |
(ident [this {:keys [item/type item/id]}] | |
[type id]) | |
static om/IQuery |
This file contains 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
(defn diag-diff | |
[data] | |
(let [width (Math/sqrt (count data)) | |
right-seq (take-nth (+ 1 width) data) | |
right-diag (take width right-seq) | |
left-data (drop (- width 1) data) | |
left-seq (take-nth (- width 1) left-data) | |
left-diag (take width left-seq) |
This file contains 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
package | |
{ | |
/* | |
Type checking on the assignments.... | |
*/ | |
import loom.Application; | |
import loom2d.Loom2D; | |
import loom2d.animation.Transitions; |
This file contains 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
(defroutes thin-app | |
(GET "/" [] "") | |
(POST "/foo" req | |
(if (= [:failed :default] (async/alts!! [[event-sink (slurp (:body req))]] :default :failed)) | |
(println "FULL - 503") | |
(println "OK - 201")) | |
"")) |
NewerOlder