Skip to content

Instantly share code, notes, and snippets.

@murtaza52
Created June 22, 2012 17:54
Show Gist options
  • Save murtaza52/2974221 to your computer and use it in GitHub Desktop.
Save murtaza52/2974221 to your computer and use it in GitHub Desktop.
Enfocus Error
(ns faiz.client.transforms
(:require [enfocus.core :as ef]
[faiz.client.common :as cm])
(:use-macros [enfocus.macros :only [append defsnippet content at set-attr html-content]]
[fetch.macros :only [letrem]])
(:require-macros [fetch.macros :as fm])
(:use [faiz.client.utils :only [log]]))
(defn doc [] js/document)
(defn layout [c]
"Takes html string as input and inserts it into the DOM"
(log "Layout Content" c)
(at (doc)
[".cljs-main"] (content c)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment