maciej-gurban / responsive-bootstrap-toolkit

Responsive Bootstrap Toolkit allows for easy breakpoint detection in JavaScript
MIT License
363 stars 89 forks source link

Added support for Bootstrap 4 #36

Closed BGR360 closed 8 years ago

BGR360 commented 8 years ago

I added basic support for Bootstrap 4, which did away with the old .hidden-* and .visible-* classes. To do this, I added an additional property to the detectionDivs object. I did not know what you preferred to call it, so I just called it bootstrap4. I have tested this and used it in one of my projects, though it's not a completely comprehensive test.