Improve demo warning on home and add conditional build options.

This commit is contained in:
Andrey Antukh
2017-03-02 17:12:45 +01:00
parent 96092fda7c
commit e453841d66
5 changed files with 21 additions and 5 deletions

View File

@@ -4,9 +4,13 @@
(def debug?
(boolean (:uxbox-debug env nil)))
(def demo?
(boolean (:uxbox-demo env nil)))
(def defines
{"uxbox.config.url" "/api"
"uxbox.config.viewurl" "/view/"})
"uxbox.config.viewurl" "/view/"
"uxbox.config.isdemo" demo?})
(def options
{:main 'uxbox.main

View File

@@ -4,9 +4,13 @@
(def debug?
(boolean (:uxbox-debug env nil)))
(def demo?
(boolean (:uxbox-demo env nil)))
(def defines
{"uxbox.config.url" "/api"
"uxbox.config.viewurl" "/view/"})
"uxbox.config.viewurl" "/view/"
"uxbox.config.isdemo" demo?})
(def options
{:main 'uxbox.view