Skip to content
Permalink
fe8b587a61
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
38 lines (26 sloc) 732 Bytes
(ns ulysses.config
(:require-macros [ulysses.env :as env])
(:require [clojure.string :as string]))
;; from environment ----
(env/def
google-analytics-code "UA-XXXXX-Y")
;; from closure defines ----
(def ^:export debug?
^boolean js/goog.DEBUG)
(when debug?
(enable-console-print!))
;; rest ----
(def hostname (-> js/window
.-location
.-hostname))
(def api-endpoint
(if (or debug? (string/includes? hostname "staging"))
"http://ulysses-api-staging.core/api"
"http://ulysses-api-alpha.core/api"))
(def request-debounce-time 300)
(def site-title "Teambuilder")
(def load-from-bottom-at 700)
(def mechanism-contextuals
{:nih :success
:nsf :info
:ncbi :danger})