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
; | |
; 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])) |
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
(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"} |