Skip to content

Commit 2857e2b

Browse files
authored
Documentation for es5/es6 code
1 parent 4d4212b commit 2857e2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/_components/frontend.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ frontend:
1919
```
2020
2121
{% configuration %}
22+
javascript_version:
23+
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 the the browser useragent. The value in the config can be overriden by putting `es5` or `latest` in the URL. For example `http://localhost:8123/states?es5`
24+
required: false
25+
type: string
26+
default: es5
2227
themes:
2328
description: Allow to define different themes. See below for further details.
2429
required: false

0 commit comments

Comments
 (0)