Skip to content

Commit a90d5eb

Browse files
andrey-gitballoob
authored andcommitted
Documentation for es5 / untranspiled JS (home-assistant#3948)
* Documentation for es5/es6 code * Update frontend.markdown * ✏️ Small typo corrections
1 parent 1af229c commit a90d5eb

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 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` "
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)