Selector context VS. .find()

Nu de puține ori am văzut cod scris așa: Chiar dacă nu este nimic greșit în acest cod, .find() s-ar putea scrie ceva mai pe scurt, folosind o chestie ce se numește selector context Intern, jQuery folosește cea de-a doua metodă ca scurtătură pentru prima. Teoretic, .find() ar fi mai rapid. Practic, din testele făcute […]

Recently I had to build a combined animation: when first animation is at 5%, the next animation should start. Well, the problem is that the current doesn’t have any events to track css animation keyframe progress (other than start, end and iteration/loop). So, with the newly discovered – by me – requestAnimationFrame, I started to […]

A Beginner’s Guide To jQuery-Based JSON API Clients Authoring jQuery Plugins With Object Oriented JavaScript 30 Days to Learn jQuery Naming Convention in CSS Don’t use class names to find HTML elements with JS Learn from Haskell – Functional, Reusable JavaScript Valid JavaScript variable names. Hint: ლ_ಠ益ಠ_ლ & ಠ_ಠ Internationalization: You’re probably doing it wrong […]

windows apple dropbox facebook twitter