]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Switch to strings constants.
authorXhmikosR <xhmikosr@gmail.com>
Sat, 7 Mar 2020 09:31:42 +0000 (11:31 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 18 Mar 2020 10:58:54 +0000 (12:58 +0200)
commit38333feda548fa973e034de03d34429a1f214089
tree5626c4eb68f38bc03a4b26498d110ac150a24d2d
parentcece839fc98caa12e73715a2351845580f74c51b
Switch to strings constants.

This allows the minifier to mangle the constants. It also allows the linter to find unused strings properly.

While at it, remove a few unused properties.

File                        Before      After       Diff
--------------------------------------------------------
bootstrap.bundle.min.js     23.61 kB    22.61 kB    -1.00 kB (-4.23 %)
bootstrap.min.js            17.04 kB    16.08 kB    -0.96 kB (-5.63 %)
js/src/alert.js
js/src/button.js
js/src/carousel.js
js/src/collapse.js
js/src/dropdown.js
js/src/modal.js
js/src/popover.js
js/src/scrollspy.js
js/src/tab.js
js/src/toast.js
js/src/tooltip.js