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 undead.cards.svg.graph | |
(:require | |
[posh.core :as posh :refer [posh!]] | |
[re-com.core :as rc] | |
[cljs.pprint :refer [pprint]] | |
[datascript.core :as d] | |
[undead.cards.multi :as multi] | |
[undead.util :refer [truncate]] | |
[reagent.core :as r] | |
[clojure.set :as s] |
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 polya.multi | |
(:require | |
[reagent.core :as r]) | |
(:require-macros | |
[devcards.core :refer [defcard-rg]])) | |
(defn multi [{:keys [highlight-class | |
placeholder |
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 cards.sortable | |
(:require [reagent.core :as reagent]) | |
(:require-macros | |
[cljs.test :refer [is testing]] | |
[devcards.core :refer [defcard-rg deftest]])) | |
(defonce app-state (reagent/atom {:list (vec (take 11 "abcdefghijkl")) | |
:over -1 | |
:dragging false})) |
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 undead.cards.cloze | |
(:require [reagent.core :as rx ] | |
[posh.core :as rx-db :refer [pull transact!]] | |
[datascript.core :as mdb ] | |
[clojure.set :as set ] | |
[cljs.reader] | |
[clojure.string :as str ]) | |
(:require-macros | |
[cljs.test :refer [testing is]] | |
[reagent.ratom :refer [reaction]] |
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 undead.cards.cloze | |
(:require [reagent.core :as rx ] | |
[posh.core :as rx-db :refer [pull transact!]] | |
[datascript.core :as mdb ] | |
[clojure.set :as set ] | |
[cljs.reader] | |
[clojure.string :as str ]) | |
(:require-macros | |
[cljs.test :refer [testing is]] | |
[reagent.ratom :refer [reaction]] |
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 edgemap.cloze | |
(:require [reagent.core :as rx ] | |
[posh.core :as rx-db :refer [pull transact!]] | |
[reagent.session :as session] | |
[datascript.core :as mdb ] | |
[clojure.set :as set ] | |
; [texts.texts :refer [eggs egge]] | |
; [edgemap.motion :refer [fo]] | |
[cljs.reader ] | |
[soda-ash.element :as s ] |
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 re-fire.cljs | |
(:require [clojure.string :as string] | |
[cljsjs.firebase] | |
[re-frame.core :as re-frame :require [dispatch subscribe]] | |
[reagent.core :as reagent] | |
[reagent.ratom :as ratom])) | |
(defn db-ref [path] | |
(.ref (js/firebase.database) (string/join "/" path))) |
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
ul.todo-list {background-color: blue; | |
list-style: none;} | |
.todo {color: white; | |
padding: 20px;} | |
.todo-enter {opacity: 0.01;} |
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 undead.cards.grid | |
(:require [cljs-time.core :refer [now]] | |
[datascript.core :as d] | |
[posh.core :as posh :refer [posh!]] | |
[re-com.core :as rc :refer [button v-box]] | |
[com.rpl.specter :as sp :refer [ALL filterer]] | |
[reagent.core :as r] | |
[undead.subs :as subs :refer [e conn]] | |
[clojure.set :as set] | |
) |
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 motion.svg.foreign | |
(:require [reagent.core :refer [atom]]) | |
(:require-macros | |
[devcards.core :as dc | |
:refer [defcard defcard-doc defcard-rg deftest]])) | |
(defonce position1 | |
(atom {:state {:x 1 :y 1} :rwidth 200 :rheight 100 :moving false :start {:x 1 :y 1}})) |