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 calc.core | |
(:require [dommy.core :as dom] | |
[cljs.core.async :refer [>! <! chan put!]]) | |
(:require-macros [cljs.core.async.macros :refer [alt! go-loop]]) | |
(:use-macros [dommy.macros :only [sel sel1]])) | |
(defn setup [id] | |
(let [el (sel1 id) | |
out (chan) |
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 notepad.core | |
(:require [dommy.utils :as utils] | |
[dommy.core :as dommy]) | |
(:use-macros [dommy.macros :only [node deftemplate]]) | |
(:import [goog.ui Zippy])) | |
(defn create-note [item el] | |
(let [data (js->clj item)] | |
{:title (data "title") :content (data "content") :parent el})) |
NewerOlder