Documentation for es5 / untranspiled JS (#3948)

* Documentation for es5/es6 code

* Update frontend.markdown

* ✏️ Small typo corrections
This commit is contained in:
Andrey 2017-11-18 11:09:04 +02:00 committed by Paulus Schoutsen
parent 1af229c146
commit a90d5ebc24

View File

@ -19,6 +19,11 @@ frontend:
```
{% configuration %}
javascript_version:
description: "Version of the JavaScript to serve to clients. Options: `es5` - transpiled so old browsers understand it. `latest` - not transpiled, so will work on recent browsers only. `auto` - select a version according to the browser user-agent. The value in the config can be overiden by putting `es5` or `latest` in the URL. For example `http://localhost:8123/states?es5` "
required: false
type: string
default: es5
themes:
description: Allow to define different themes. See below for further details.
required: false