]> git.ipfire.org Git - thirdparty/bulma.git/commit
Remove useless if in js example
authorJean Lecordier <47030586+jlecordier@users.noreply.github.com>
Thu, 24 Feb 2022 23:10:38 +0000 (00:10 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Sun, 8 May 2022 08:26:03 +0000 (09:26 +0100)
commit895b77b3a9c2cfd199b97d2cd602213ee76dac2e
tree2731860ead97f63f589314df44b0f9a1d84bccc1
parentda784b20710aca6eb15de447ff5151536477c527
Remove useless if in js example

If the length is 0, then the forEach call does nothing anyway

Could we remove the slice part as well ? If IE support is required, can’t we just use Array.prototype.forEach ? Can’t we just remove IE support all together to promote clean and up to date code ? Polyfills and code transpilation are here to help support IE
docs/documentation/components/navbar.html