read config var in js

This commit is contained in:
Stella Rouzi 2015-01-19 18:37:07 +02:00
parent 10001c5383
commit 8686887695
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,5 @@
window.liveSettings = {
api_key: '',
api_key: "CONFIG['transifex_live_api_key']",
picker: "bottom-right",
detectlang: true,
autocollect: true

View file

@ -21,6 +21,9 @@ defaults: &defaults
ichain:
enabled: false
# Enter your key, provided by transifex live settings, in the quotes
transifex_live_api_key: ''
development:
<<: *defaults