cash

An absurdly small jQuery alternative for modern browsers.

MIT License

Downloads
98.9K
Stars
6.4K
Committers
35
cash - 4.1.0

Published by fabiospampinato over 5 years ago

  • Added $.isWindow
  • Made the TypeScript type system stricter
  • $.guid: ensuring it’s properly exported
  • $.fn.siblings: ensuring it supports multi-element collections
  • $.fn.empty: ensuring it supports multi-element collections
  • $.fn.attr: doing nothing when the value equals undefined
cash - 4.0.0

Published by fabiospampinato over 5 years ago

  • Removed $.fn.removeData
  • Removed $.hasData
  • $.fn.data: removed caching mechanism
  • $.fn.data: added a missing TypeScript method overload
cash - 3.2.0

Published by fabiospampinato over 5 years ago

  • Readme: updated sizes
  • $.fn.off: added support for removing delegated handlers
cash - 3.1.0

Published by fabiospampinato over 5 years ago

  • Improved support for running selectors inside documents
  • Ensuring Cash collections are iterable
  • Added an extra reference implementation for shorthand event methods
  • Added an extra reference implementation for $.getScript
  • Readme: mentioning the extra methods
cash - 3.0.0

Published by fabiospampinato over 5 years ago

  • Rewritten test suite
  • $.fn.hasClass: aligned more with jQuery
  • $.camelCase: aligned more with jQuery
  • $.fn.extend: fixed support for defining plugins with it
  • $.fn.each: improved performance
  • $.fn.prev|next: retrieving all previous/next elements
  • $.fn.replaceWith: much cleaner implementation
  • $.fn.hasClass: much cleaner implementation
  • $.fn.prev|next|parent: much cleaner implementation
  • $.fn.val: cleaner implementation
  • Simplified some events-related helpers
  • unique: improved performance
  • Readme: updated logo
  • Readme: updated comparison tables
  • $.fn.hasClass: ensuring it supports falsy values
  • $.fn.val: improved support for old-ish browsers
  • $.fn.children: cleaner implementation
  • $.fn.closest: faster implementation
  • $.fn.next|parent|prev|siblings: added support for an optional selector
  • $.fn.parents: much cleaner implementation
  • Added $.fn.prevAll
  • Added $.fn.nextAll
  • Added $.fn.hide|show|toggle
  • Added $.fn.unwrap|wrap|wrapAll|wrapInner
  • Added a “Migration Guide”
  • $.fn.trigger: triggering focus/blur natively
  • Event delegation: ensuring events that do not bubble (focus/blur/mouseenter/mouseleave) are still usable
  • Event delegation: ensuring event.currentTarget points to the right element
  • Evaluating the content of script tags when attaching them to the DOM
  • find: improved resilience against text/comment/etc. nodes
  • $.fn.trigger: using MouseEvents when appropriate
  • Added a changelog
  • Readme: improved description of the optional context argument
  • Ensuring valid typescript types are generated
  • Ensuring dist files are updated when bumping the version
cash - v2.3.9

Published by fabiospampinato about 6 years ago

  • $.parseHTML: fixed a regression regarding non-browser environments
cash - v2.3.8

Published by fabiospampinato about 6 years ago

  • $.parseHTML: added support for parsing thead/tbody/tfoot/tr/td/th elements
  • $.parseHTML: added support for malformed single-tags
  • $.fn.append|prepend: ensuring it doesn’t throw when passed undefined
  • $.fn.val: properly handling null
cash - v2.3.7

Published by fabiospampinato about 6 years ago

  • Fixed a bug with $.parseHTML under IE11
cash - v2.3.6

Published by fabiospampinato about 6 years ago

  • $.fn.empty is about 4 times faster.
cash - 2.3.5

Published by fabiospampinato about 6 years ago

Improved support for Node.js

cash -

Published by fabiospampinato over 6 years ago

cash -

Published by fabiospampinato over 6 years ago

cash - 2.3.1

Published by fabiospampinato over 6 years ago

cash - 2.3.0

Published by fabiospampinato over 6 years ago

cash -

Published by fabiospampinato over 6 years ago

cash -

Published by fabiospampinato over 6 years ago

Mostly a bugfix release, many bugs/misalignments have been found by running jQuery's test suite (https://github.com/kenwheeler/cash/issues/193) and fixed.

There are some new feature too:

  • $.fn.css now supports CSS variables too
  • All data attributes can be retrieved at once via $foo.data ()
  • Added $.hasData
  • $.fn.before|after|prepend|append now support multiple arguments, and the elements are inserted in the proper order
  • Attributes can be removed via $foo.attr ( 'my-attr', null ) (passing null as the value basically)
cash -

Published by fabiospampinato over 6 years ago

cash - 2.1.7

Published by fabiospampinato over 6 years ago

Added an ESM build

cash - 2.1.6

Published by fabiospampinato over 6 years ago

cash - 2.1.5

Published by fabiospampinato over 6 years ago