Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mozilla/ssl-config-generator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorApril King <april@mozilla.com>2019-06-15 01:27:28 +0300
committerApril King <april@mozilla.com>2019-06-15 01:27:28 +0300
commit5d74addc329cd890ebab1e405ec8135706a393d5 (patch)
tree5947d5752b07a8a0bdfc98514f085541d36c59ef /README.md
parentd28a2bd66b18b09f5abe12902b22e7f92215f4ba (diff)
Update documents a little bit
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3fbfa88..dc8f9c7 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,8 @@ There are two places that need to be updated in order to add support for a new p
All of the templates are written in [Handlebars.js](https://handlebarsjs.com/), and so therefore support all of its standard features. This includes `if`/`else`/`unless` conditionals and `each` loops, for example. In addition, the configuration generator supports the following helpers:
- `includes(item, stringOrArray`) - `true` if `stringOrArray` contains `item`
- - `{{#if (includes ":DHE" output.cipherSuites)}}`
+- `join(array, joiner)` - split a array into a string based on `joiner`
+ - `{{{join output.ciphers ":"}}}`
- `last(array)` - returns the last item in the array
- `minpatchver(minimumver, curver)` - `true` if `curver` is greater `minimumver` and both versions are the same patch version, e.g. `2.2`
- `{{#if (minpatchver "2.4.3" form.serverVersion)}}`
@@ -43,7 +44,7 @@ All of the templates are written in [Handlebars.js](https://handlebarsjs.com/),
- `sameminorver(version, otherVersion)` - returns `true` if `version` and `otherVersion` are of the same minor version, e.g. `2.2`
- `{{#if (sameminorver "2.4.0" form.serverVersion)}}`
- `split(string, splitter)` - split a string into an array based on `splitter`
- - `{{#each (split output.cipherSuites ":")}}`
+ - `{{#each (split somearray ":")}}`
## Building