An absurdly small jQuery alternative for modern browsers.
MIT License
Published by fabiospampinato over 5 years ago
Published by fabiospampinato over 5 years ago
$.fn.removeData
$.hasData
$.fn.data
: removed caching mechanism$.fn.data
: added a missing TypeScript method overloadPublished by fabiospampinato over 5 years ago
Published by fabiospampinato over 5 years ago
$.getScript
Published by fabiospampinato over 5 years ago
$.fn.prevAll
$.fn.nextAll
$.fn.hide|show|toggle
$.fn.unwrap|wrap|wrapAll|wrapInner
event.currentTarget
points to the right elementscript
tags when attaching them to the DOMMouseEvents
when appropriatePublished by fabiospampinato about 6 years ago
Published by fabiospampinato about 6 years ago
undefined
null
Published by fabiospampinato about 6 years ago
$.parseHTML
under IE11Published by fabiospampinato about 6 years ago
$.fn.empty
is about 4 times faster.Published by fabiospampinato about 6 years ago
Improved support for Node.js
Published by fabiospampinato over 6 years ago
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$foo.data ()
$.hasData
$.fn.before|after|prepend|append
now support multiple arguments, and the elements are inserted in the proper order$foo.attr ( 'my-attr', null )
(passing null
as the value basically)Published by fabiospampinato over 6 years ago
Added an ESM build
Published by fabiospampinato over 6 years ago
Published by fabiospampinato over 6 years ago