Created
June 22, 2012 17:54
-
-
Save murtaza52/2974221 to your computer and use it in GitHub Desktop.
Enfocus Error
This file contains hidden or 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 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