responsive-tables icon indicating copy to clipboard operation
responsive-tables copied to clipboard

Clean-up, delint, performance

Open joelpittet opened this issue 9 years ago • 0 comments

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.

joelpittet avatar Jun 25 '15 15:06 joelpittet