Releases: fabiospampinato/cash
Releases · fabiospampinato/cash
2.1.3
This is a breaking update, many things have been changed, generally cash is now much more aligned with jQuery, in many cases you should be able to use cash as a drop-in replacement for jQuery!
Notable changes
- Added support for partial builds
- Added support for space-separated events to
$.fn.on|one|off|trigger
- Added support for event namespaces
- Event's data is now passed as an argument
$.fn.css
will automatically add thepx
suffix to the value when appropriate- Added
$.fn.slice
- Added
$.fn.detach
- Added
$.fn.replace
- Added
$.fn.replaceWith
- Dropped IE9 support
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
Fixed
$.fn.css
fixed to allow false-y values to be set like$(el).css(opacity,0);
- fixed
getPrefixedProp
andcamelCase
issues with certain CSS names, liketransition-duration
Added
- Exposed
$.prefixedProp
and$.camelCase
utilities to allow for eventual animation support.
1.3.2
1.3.1
1.3.0
Added
$.fn.removeClass
will remove all classes when no arguments are provided. #110$.fn.trigger
will now pass along the data in the second argument asevent.data
. #83$.fn.data
now accepts an object to set multiple data at once. #96 #95
Fixed
- Delegated events now receive the original event object. #109
null
and falsey arguments no longer throw errors on the class methods. #110$.fn.attr
no longer throws errors on empty collections #111 #52$.fn.attr
returns values more logically (undefined
instead ofnull
,undefined
instead of a collection ) #111