diff options
| author | Pierre Paridans <app@odoo.com> | 2019-08-27 10:46:27 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2019-08-27 21:43:42 +0000 |
| commit | d431f94c759f9811c640d81a274e90301276d001 (patch) | |
| tree | d623079f766d95b8dcc8c44c41a4eec8fca5878f /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | ed642505031d145c6b1668150d05ef38cdb282d9 (diff) | |
[FIX] test_lint: adjust ES version for supported browsers
The EcmaScript version was recently raised (see commit
odoo/odoo@7423e20) to ES9/ES2018.
Sadly this specification is not fully supported by all ever-green
browsers (Chrome, Firefox, Edge, Safari...).
This commit rollback to ES8/ES2017 because MS Edge doesn't support the
"Spread in destructuring" operator (e.g. used for the creation of a new
object).
In a nutshell this version is equivalent to es2016 + async/await.
References:
- https://github.com/tc39/proposal-object-rest-spread/blob/master/Spread.md
- https://kangax.github.io/compat-table/es2016plus/#test-object_rest/spread_properties
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
