0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 07:29:08 -05:00

Define a new settings for the view application.

This commit is contained in:
Andrey Antukh 2016-07-29 13:45:00 +03:00
parent bfcb96ae87
commit 58563a41cb
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
4 changed files with 6 additions and 8 deletions

View file

@ -11,8 +11,8 @@
:output-to "dist/js/main.js"
:source-map "dist/js/main.js.map"
:output-dir "dist/js/main"
:closure-defines {"uxbox.config.url"
"https://test.uxbox.io/api"}
:closure-defines {"uxbox.config.url" "https://test.uxbox.io/api"
"uxbox.config.viewurl" "https://test.uxbox.io/view/"}
:optimizations :advanced
:externs ["externs/main.js"]
:static-fns true

View file

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

View file

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

View file

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