mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-02 05:09:13 -04:00
settings: clarify that null defaults are supported, using the syntax "${VAR_NAME}"
Using "${VAR_NAME:null}", instead, would define the literal string "null".
This commit is contained in:
parent
68ff6d497d
commit
9882362e2e
3 changed files with 15 additions and 1 deletions
|
@ -65,6 +65,9 @@
|
|||
* "password": "${PASSW}" // if PASSW is not defined would result in password === null
|
||||
* "password": "${PASSW:}" // if PASSW is not defined would result in password === ''
|
||||
*
|
||||
* If you want to use an empty value (null) as default value for a variable,
|
||||
* simply do not set it, without putting any colons: "${ABIWORD}".
|
||||
*
|
||||
* 3) if you want to use newlines in the default value of a string parameter,
|
||||
* use "\n" as usual.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue