Dabby.js v0.10.0
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.jsandon.js - Added
$.parseHTML()to default build - Fixed bug in
internal/parsehtml/parsehtml.jswhere inline scripts content were not set correctly - Fixed bug in
width-height.jswhere the returned value was calculated usingoffsetWidthandclientWidth, which is rounded. It now usesgetBoundingClientRect() - Fixed failing tests where the browser can return inaccurate results due to sub-pixel rendering
- Fixed bug in
$.fn.prev()where thenotallflag 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