Mercurial > laserkard
diff buy_temp.clj @ 71:ad52bd1a084b laserkard
Now there is no HTML whatsoever\!
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 22 Jun 2010 22:42:11 -0400 |
parents | |
children | 83b0419c7979 |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/buy_temp.clj Tue Jun 22 22:42:11 2010 -0400 1.3 @@ -0,0 +1,15 @@ 1.4 +(ns laserkard.buy-temp 1.5 + 1.6 + (:use (compojure.http request servlet session routes) 1.7 + (compojure.server jetty) 1.8 + (compojure control) 1.9 + (clojure.contrib prxml) 1.10 +)) 1.11 + 1.12 + 1.13 +(defn buy-gen [] 1.14 + "<h1> hi Connie again! </h1>") 1.15 + 1.16 + 1.17 +(defn pxml [ & args] 1.18 + (with-out-str (apply prxml args)))