0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/site
Tiger Oakes fe257823ec
Use Babel and ES6 in docs JS files (#31607)
* Pass docs js through Babel

* Use ES6 in docs js

* Only run babel on src files

* Allow babel in Hugo

* Update scripts.html

* Inherit from the root .eslintrc.json

* Use `Array.from`

* Drop Babel from docs

* Prefer template

* replace IIFE with arrow functions

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-12 18:07:25 +03:00
..
assets Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00
content Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00
data Move "Navbar" before "Navs & Tabs" in sidebar 2022-04-04 10:43:17 -07:00
layouts Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00
static Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00
.eslintrc.json Use Babel and ES6 in docs JS files (#31607) 2022-04-12 18:07:25 +03:00