Skip to content

Instantly share code, notes, and snippets.

@j1mr10rd4n
j1mr10rd4n / widgets.cljc
Created August 6, 2018 14:17
Using a fulcro root element from a devcard as a child in a union query (e.g. page router)
(ns myapp-from-template.widgets
(:require [fulcro.client.cards :refer [defcard-fulcro]]
[fulcro.client.primitives :as prim :refer [defsc defui]]
[fulcro.client.dom :as dom]
[fulcro.client.mutations :as m :refer [defmutation]]))
(enable-console-print!)
(def widgets [{:name :red :color "red" :label "danger"}
{:name :green :color "green" :label "safe"}
@j1mr10rd4n
j1mr10rd4n / goog-debug-demo.cljs
Created January 28, 2016 06:25
Clojurescript port of the debug demo from the google closure library
;
; Clojurescript port of the debug demo from the google closure library
; at https://github.com/google/closure-library/blob/master/closure/goog/demos/debug.html
;
(ns goog-debug-demo.goog-debug-demo
(:require [goog.debug :as debug]
[goog.log :as log])
(:import [goog.debug FancyWindow]
[goog.log Level]))