0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Move common constants as uxbox.config ns.

This commit is contained in:
Andrey Antukh 2016-06-30 19:53:01 +03:00
parent 2810903020
commit b3e17bd2b7
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
4 changed files with 5 additions and 6 deletions

View file

@ -11,7 +11,7 @@
:output-to "dist/js/main.js"
:source-map "dist/js/main.js.map"
:output-dir "dist/js/main"
:closure-defines {"uxbox.common.constants.url"
:closure-defines {"uxbox.config.url"
"https://test.uxbox.io/api"}
:optimizations :advanced
:externs ["externs/main.js"]

View file

@ -11,7 +11,7 @@
:output-to "dist/view/js/view.js"
:source-map "dist/view/js/view.js.map"
:output-dir "dist/view/js/view/"
:closure-defines {"uxbox.common.constants.url"
:closure-defines {"uxbox.config.url"
"https://test.uxbox.io/api"}
:optimizations :simple
:externs ["externs/main.js"]

View file

@ -16,7 +16,7 @@
{:main 'uxbox.main
:parallel-build false
:optimizations :none
:closure-defines {"uxbox.common.constants.url"
:closure-defines {"uxbox.config.url"
"https://test.uxbox.io/api"}
:warnings {:ns-var-clash false}
:language-in :ecmascript6
@ -33,7 +33,7 @@
{:main 'uxbox.view
:parallel-build false
:optimizations :none
:closure-defines {"uxbox.common.constants.url"
:closure-defines {"uxbox.config.url"
"https://test.uxbox.io/api"}
:warnings {:ns-var-clash false}
:language-in :ecmascript6

View file

@ -4,6 +4,5 @@
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.common.constants)
(ns uxbox.config)
(goog-define url "http://127.0.0.1:6060/api")