From 2cbc925ac0a78ab4694269135a40e45f4877632c Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 18 Nov 2017 11:09:04 +0200 Subject: [PATCH] Documentation for es5 / untranspiled JS (#3948) * Documentation for es5/es6 code * Update frontend.markdown * :pencil2: Small typo corrections --- source/_components/frontend.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/frontend.markdown b/source/_components/frontend.markdown index ee89044b2ed..40274f80623 100644 --- a/source/_components/frontend.markdown +++ b/source/_components/frontend.markdown @@ -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