Dabby.js v0.9.13
This release fixes a number of bugs and adds some features to improve compatibility with jQuery, reworks a few components and documentation:
$.ajax()
now supports blob objects- Updated readme files to correct errors and improve examples
- Added
readme.md
for$.fn.trigger()
- Added
$.fn.triggerHandler()
- Moved
$.fn.slice()
to traversal, and added more tests - Fixed bug in
$.fn.clone()
where it read the wrong property when copying events - Fixed bug where certain objects already have an
event.data
property, and in some cases it is also read-only which causes an error. The code now checks to see if the property is set and uses a fallback ofevent._data
if it is - Fixed bug in
$.fn.empty()
where awhile
statement had all its commands inside the condition, but no commands in the block - Reworked
$.extend()
to replicate the jQuery version more closely, and to check types when merging to prevent problems with objects merging with arrays. It now merges with dabby if only one argument is supplied - Added documentation and updated tests
- Reworked
$.isPlainObject()
to only use a modern method to detect plain objects - Reworked
$.map()
to remove dependency on$.each()
and be more performant - Added
isobj.js
for detecting objects - Updated dependencies