Skip to content

Commit

Permalink
Fixed order of evaluation problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
gcv committed Jun 3, 2010
1 parent 9792f95 commit 4e19d86
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/appengine_magic/core.clj
Expand Up @@ -16,8 +16,9 @@

(defmacro def-appengine-app [app-var-name handler war-root]
`(def ~app-var-name
(let [war-root# ~war-root]
{:handler (wrap-file (environment-decorator ~handler) (str war-root#))
(let [handler# ~handler
war-root# ~war-root]
{:handler (wrap-file (environment-decorator handler#) (str war-root#))
:war-root war-root#})))


Expand Down

0 comments on commit 4e19d86

Please sign in to comment.