responsive-tables
responsive-tables copied to clipboard
Clean-up, delint, performance
This may look unwieldy but it's not terribly exhaustive clean-up.
- Delinted most of the JavaScript.
- Wrapped the JS in a closure for better no-conflict support.
- Made all tabs spacing into 2 spaces for consistency.
- Removed a few overqualified CSS selectors (May be better to BEMize these to avoid conflicts)
- Commented out the CSS generic table styles, probably should move that to a different CSS for the demo presentation only?
- Moved the events to the bottom of the JS.
- Made the function declarations use all the same declaration style.