Skip to content

Dabby.js v0.10.0

Choose a tag to compare

@hexydec hexydec released this 25 Aug 21:51
· 23 commits to master since this release

This release restructures the code to use a core class, which then has methods securely attached to it, enabling your IDE to offer autocompletion. A number of bugs have also been fixed and documentation updated:

  • Reworked code as a class
  • Methods are now attached using Object.defineProperty()
  • All methods now have JSDoc documentation (Enables autocompletion, fixes #17)
  • $.isFunction() and $.isWindow() are now deprecated and not included in the default build
  • Fixed missing dependency in has.js and on.js
  • Added $.parseHTML() to default build
  • Fixed bug in internal/parsehtml/parsehtml.js where inline scripts content were not set correctly
  • Fixed bug in width-height.js where the returned value was calculated using offsetWidth and clientWidth, which is rounded. It now uses getBoundingClientRect()
  • Fixed failing tests where the browser can return inaccurate results due to sub-pixel rendering
  • Fixed bug in $.fn.prev() where the notall flag was not set correctly on the factory function
  • Fixed issue with delegated events in $.fn.on() where the delegated target was not filtered correctly if a child element was clicked
  • Added missing documentation