Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

EQCSS 1.6.0

Choose a tag to compare

@tomhodgins tomhodgins released this 11 Apr 05:18
· 36 commits to gh-pages since this release
  • add EQCSS.reset() function to reset up EQCSS.data and the DOM from the tags and attributes EQCSS generates when it runs (you can reload EQCSS any time after running EQCSS.reset() by running EQCSS.load())

This helps issue #64

  • switch mousedown event listener to only trigger on left mouse button clicks to recalculate EQCSS on left click drag. (Previous to version 1.6.0, EQCSS would trigger for all mousemove events between mousedown and mouseup for mouse clicks of all buttons)

  • performance improvements:

    • replace == with === and != with !==
    • replace querySelectorAll() with getElementsByTagName()
    • replace getAttribute('rel') & getAttribute('type') with rel & type