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
([#object[$web$app$App$$ "function $web$app$App$$(){React.Component.apply(this,arguments);this.state=null!=this.$initLocalState$?this.$initLocalState$():{};return this}"] | |
#object[$web$components$work_items$WorkItem$$ [object Object]] | |
#object[$web$components$node_link$NodeLink$$ [object Object]]] | |
[#object[$web$app$App$$ "function $web$app$App$$(){React.Component.apply(this,arguments);this.state=null!=this.$initLocalState$?this.$initLocalState$():{};return this}"] | |
#object[$web$components$requirements$Requirement$$ [object Object]] | |
#object[$web$components$node_link$NodeLink$$ [object Object]]] | |
[#object[$web$app$App$$ "function $web$app$App$$(){React.Component.apply(this,arguments);this.state=null!=this.$initLocalState$?this.$initLocalState$():{};return this}"] | |
#object[$web$components$work_items$WorkItem$$ [object Object]] | |
#object[$web$components$node_link$NodeLink$$ [object Object]]] | |
[#object[$web$app$App$$ "function $web$app$App$$(){React.Component.apply(this,arguments);this.state=null!=this.$ini |
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
;$web$components$requirements$requirement$$; | |
function $web$components$requirements$Requirement$$() { | |
React.Component.apply(this, arguments); | |
this.state = null != this.$initLocalState$ ? this.$initLocalState$() : {}; | |
return this; | |
} | |
$web$components$requirements$Requirement$$.prototype = $goog$object$clone$$(); | |
var $x21086_21163$$ = $web$components$requirements$Requirement$$.prototype; | |
$x21086_21163$$.componentWillUpdate = function() { | |
$om$next$merge_pending_props_BANG_$$(this); |
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
Uncaught Error: web.app/?state is not ISeqable$cljs$core$seq$$ | |
@ app.js:1546$cljs$core$get_in$cljs$0core$0IFn$0_invoke$0arity$03$$ | |
@ app.js:4909$cljs$core$get_in$cljs$0core$0IFn$0_invoke$0arity$02$$ | |
@ app.js:4905(anonymous function) | |
@ app.js:16286$JSCompiler_prototypeAlias$$.$cljs$core$IFn$_invoke$arity$3$ | |
@ app.js:9661(anonymous function) | |
@ app.js:16215(anonymous function) | |
@ app.js:16224$JSCompiler_prototypeAlias$$.$cljs$core$IReduce$_reduce$arity$3$ | |
@ app.js:5260$cljs$core$reduce$$.$cljs$core$IFn$_invoke$arity$3$ | |
@ app.js:2784$om$next$impl$parser$parser_$_self__3$$ |
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
$ boot show -p|grep -B5 -A5 yaml | |
com.novemberain/pantomime | |
com.stuartsierra/component | |
org.clojure/clojure | |
org.clojure/clojurescript | |
✘ 1.6.0 | |
circleci/clj-yaml | |
com.cemerick/piggieback | |
com.cognitect/transit-cljs | |
org.danielsz/system |
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
cljs.user=> (def dt (goog.date.DateTime.)) | |
#'cljs.user/dt | |
cljs.user=> (.parse (goog.i18n.DateTimeParse. "yyyy-MM-dd'T'HH:mm:ssZ") "2016-01-13T00:00:00-0800" dt) | |
24 | |
cljs.user=> dt | |
#object[Object 20160113T090000] | |
cljs.user=> (.getTimezoneOffsetString dt) | |
"+01:00" |
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 popular? [friends] | |
(> (count friends) 2)) | |
(d/q '[:find (boot.user/popular? ?f) . | |
:in $ ?u | |
:where [?u :user/friends ?f]] | |
(d/db conn) | |
(:db/id some-user)) | |
;; The above works fine if :user/friends is set, however, if it is unset |
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
clojure.lang.Compiler$CompilerException: java.lang.OutOfMemoryError: PermGen space, compiling:(clojure/core/async/impl/ioc_macros.clj:218:1) | |
java.lang.OutOfMemoryError: PermGen space | |
... | |
clojure.core/load/fn core.clj: 5866 | |
clojure.core/load core.clj: 5865 | |
... | |
clojure.core/load-one core.clj: 5671 | |
clojure.core/load-lib/fn core.clj: 5711 | |
clojure.core/load-lib core.clj: 5710 | |
... |
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
;;; view.clj | |
(ns clients.common.view) | |
(defn defview* | |
([name forms] (defview* name forms nil) | |
[name forms env]))) | |
(defmacro defview | |
[name & forms] |
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
(do | |
(om.next/defui ViewWithProps | |
static om.next/Ident | |
(ident [this props] | |
(let [{:keys [user/name user/email]} (om/props this) | |
{:keys []} (om/get-computed this)] | |
[:user/by-name name])) | |
Object | |
(get-name [this] | |
(let [{:keys [user/name user/email]} (om/props this) |
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
;; Transducer to transform | |
;; | |
;; [user [name email] foo bar [baz]] | |
;; | |
;; into | |
;; | |
;; [[user [name email]] [foo nil] [bar [baz]]] | |
;; | |
;; when transducing like this: | |
;; |