New
Zepto.js 1.1.7
DOM:
- Fix
fn.closest()on collections of multiple elements text()returns text from all matching selectors- Fix
offset()on documentElement - Use the standard API for CSS selector matches
append()now accepts array of DOM nodes- Add multi-window support for embedded scripts
- Fix
css()batch setting on non-existing element - Convert null/undefined into "" in
fn.val()for jQuery compatibility - Improve detection of array-like objects
Ajax:
- Fix appending ajax params to URLs that have a hash component
- Add ajax support for receiving binary data
- Sufficiently randomize JSONP callback names
- Fix assigning query params from
datawith explicit JSONP
Cross-browser:
- Avoid IE10 error by checking if element is in the DOM before calling
getBoundingClientRect - Added support for pseudo-elements in IE
getComputedStyleshim - Fix use of ajax
xhrFieldson Android 2.3 and Windows Mobile - Fx: avoid using vendor prefixes if unprefixed is supported
Misc.:
- Fix dasherize bug in fx module
- Fix
swipeevent of touch module - Avoid exception in
doubleTap - Accept function as data for
onevent handler - Populate
event.timeStampif it's 0 or missing