franciscop/umbrella
View on GitHub ↗ ★ 2,349 JavaScript
:umbrella: Lightweight javascript library for DOM manipulation and events
12 mentions on Hacker News by 4 people: 1 story, 11 comments · first 2017-02-08 · latest 2022-08-16
20082026
-
…that do that job which may be worth looking into. https://github.com/fabiospampinato/cash or https://github.com/franciscop/umbrella to give a couple of examples. Some explicitly support IE11 so you are not dropping as much support for…
comment by dspillett · 2022-08-16 · in The impact of removing jQuery on our web performance -
…function (el, name) { el.classList.add(name); }); }; [1] https://youmightnotneedjquery.com/ [2] https://github.com/franciscop/umbrella/blob/master/src/plugi...
comment by franciscop · 2022-01-18 · in Replacing jQuery (110kb) With UmbrellaJS (8kb) -
…not really moved over, compare "addClass" in jQuery vs UmbrellaJS: - Umbrella 6 lines (max col 55): https://github.com/franciscop/umbrella/blob/master/src/plugi... - jQuery 35 lines (max col 83): https://github.com/jquery/jquery/blob/master…
comment by franciscop · 2021-01-14 · in You might not need jQuery (2014) -
▲ 1
Lightweight JavaScript library for DOM manipulation and eventsstory by axiomdata316 · 2018-08-21 · 0 comments
-
…a screenshot and/or the device and browser you are using please? Ideally in Github as an issue: https://github.com/franciscop/umbrella/issues/new , but here is fine as well.
comment by franciscop · 2018-08-19 · in Show HN: Umbrella JS, a 2.5kb jQuery alternative -
…[3] Cash tests: https://github.com/kenwheeler/cash/blob/master/test/index.js [4] Umbrella tests: https://github.com/franciscop/umbrella/blob/master/docs/test... [5] Cash addClass code: https://github.com/kenwheeler/cash/tree/master/src/attr…
comment by franciscop · 2018-08-19 · in Show HN: Umbrella JS, a 2.5kb jQuery alternative -
…Umbrella JS supports Internet Explorer 11+, with some of the known bugs and wont-fix here: https://github.com/franciscop/umbrella#support-ie11 There is a polyfill to help here: https://github.com/franciscop/umbrella/blob/master/polyfill....
comment by franciscop · 2018-08-19 · in Show HN: Umbrella JS, a 2.5kb jQuery alternative -
…IMHO (since it also makes for a much smaller size, compare to jQuery's .addClass(name) [2]). [1] https://github.com/franciscop/umbrella/blob/master/src/plugi... [2] https://github.com/jquery/jquery/blob/master/src/attributes/...
comment by franciscop · 2018-08-19 · in Show HN: Umbrella JS, a 2.5kb jQuery alternative -
whenever i feel the need for jquery these days, i typically reach for the much smaller, faster, ie11+ https://github.com/franciscop/umbrella
comment by leeoniya · 2017-12-21 · in The Future of JQuery UI and JQuery Mobile -
…https://github.com/jquery/jquery/blob/master/src/attributes/... - Umbrella JS's addClass(), 5 lines: https://github.com/franciscop/umbrella/blob/master/src/plugi... So the choice is either well-tested libraries that slows your users down…
comment by franciscop · 2017-04-15 · in Mini.css: Minimal, responsive, style-agnostic CSS framework -
…won't contain commas OR that it should be split in the commas), one way to do it in Javascript ( https://github.com/franciscop/umbrella/blob/master/src/plugi... ): return args.toString().split(/[\s,]+/).filter(/* ... */);
comment by franciscop · 2017-02-24 · in Why it’s hard for programmers to write a program to flatten a list? -
…from that: - Picnic CSS: http://picnicss.com/ - Umbrella JS (right now website in maintenance): http://github.com/franciscop/umbrella Also I wrote an article on the topic: - https://medium.com/@fpresencia/understanding-gzip-size-836c7...…
comment by franciscop · 2017-02-08 · in The web sucks if you have a slow connection