Skip to content

Releases: fabiospampinato/cash

2.1.3

12 May 22:05
Compare
Choose a tag to compare

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 the px suffix to the value when appropriate
  • Added $.fn.slice
  • Added $.fn.detach
  • Added $.fn.replace
  • Added $.fn.replaceWith
  • Dropped IE9 support

1.3.7

17 Jan 16:14
Compare
Choose a tag to compare

Removed null Icon files from NPM package

1.3.6

11 Jan 15:54
f0aa000
Compare
Choose a tag to compare

Mainly compatibility updates and bugfixes.

Merged #141, #157, #158, #171, and #173.

1.3.5

12 Oct 15:54
Compare
Choose a tag to compare
1.3.5

1.3.4

26 May 15:15
Compare
Choose a tag to compare

Fixed

  • $.fn.text correctly handles false-y values now (issue #125)

1.3.3

20 May 19:31
Compare
Choose a tag to compare

Fixed

  • $.fn.css fixed to allow false-y values to be set like $(el).css(opacity,0);
  • fixed getPrefixedProp and camelCase issues with certain CSS names, like transition-duration

Added

  • Exposed $.prefixedProp and $.camelCase utilities to allow for eventual animation support.

1.3.2

18 May 22:43
Compare
Choose a tag to compare

Fixed

  • $.fn.index now correctly returns the index of the selector/element passed in as the first parameter.

1.3.1

16 May 19:07
Compare
Choose a tag to compare

Fixed

  • Hyphenated CSS properties ( background-color, border-radius, transition-duration, etc ) are now set correctly using $.fn.css

1.3.0

04 May 18:58
Compare
Choose a tag to compare

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 as event.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 of null , undefined instead of a collection ) #111

1.2.1

25 Apr 19:46
Compare
Choose a tag to compare

Fixed:

  • $.fn.filter now correctly returns collections instead of arrays of elements. Affected $.fn.children and $.fn.filter in particular. (Issue #100 )