3 ms·
this is my covid project: a ground up, jQuery (and all other dependencies)-free rewrite of intercooler.js
by recursivedoubts 6y ago
this is my covid project: a ground up, jQuery (and all other dependencies)-free rewrite of intercooler.js
- newx 6y agoGreat idea! ++ for things that are jQuery-free. :) One quick (fix/)suggestion: the kutty header on the top left, even being a clickable link to home as expected, changes the cursor to textual selection cursor upon hover instead of the usual link/hand/finger pointer. :)
- recursivedoubts 6y agoYeah, there is an annoyance w sinon.js (the library I use for mocking AJAX) that breaks the top nav (I'm using the kt-boost attribute) I'll fix it up. update: fixed, thanks for calling me out for being lazy
- CSSer 6y agoI've been really interested in Intercooler.js, but the jQuery dependency bummed me out. This is a very cool project, and I highly appreciate you putting in the work here! I do have one question. Is there a specific reason why you chose not to follow the standardized specification[0] of using data-* prefixes for HTML attributes? I realize it's pedantic, but I'd like to see this project receive wide support and usage. I'm concerned many potential users will criticize this. [0]: https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-%2a-attributes https://html.spec.whatwg.org/multipage/dom.html#embedding-cu... Edit: Nevermind, I just looked through the docs from the start. You do support it!
- recursivedoubts 6y ago:) Yep, do it the way you like. Btw, check out the kt-classes attribute if you want to do some slick CSS transitions w/o javascript: https://kutty.org/attributes/kt-classes/ https://kutty.org/attributes/kt-classes/