Created
February 12, 2016 17:01
-
-
Save Jannis/4c9bb3dc461fcff7ff67 to your computer and use it in GitHub Desktop.
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
;;; view.clj | |
(ns clients.common.view) | |
(defn defview* | |
([name forms] (defview* name forms nil) | |
[name forms env]))) | |
(defmacro defview | |
[name & forms] | |
(defview* name forms &env)) | |
;;;; view.cljs | |
(ns clients.common.view) | |
;;;; app.cljs | |
(ns clients.web.views.app | |
(:require [clients.common.view :refer-macros [defview]])) | |
(defview App | |
[]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment