Dabby.js v0.9.8
This release fixes a number of bugs to make the output more stable and improve compatibility with jQuery:
- Fixed issue with $.fn.load() where innerHTML doesn't execute any included scripts
- Fixed issues in $.ajax() where the textStatus returned was not always correct, and the same setting was used to choose the callback which meant that sometimes callbacks were not fired
- Added onerror callback to $.ajax()
- Fixed bug in
$.ajax() where an object was looped over with forEach() instead of $ .each() - Fixed issue in trigger.js where in chrome, the submit event didn't trigger the native event, only its handlers
- Fixed bug in scroll.js where the dimension variable was overwritten when checking the window scroll, causing it to measure the wrong dimension for $.fn.scrollTop()
- Updated packages in gruntfile.js
- Fixed issue in $.fn.trigger() where if the submit event was triggered and then default was prevented, the native event was still triggered
- Added test to $.fn.filter() to check it has the correct context