CyberX

mobile

$('.class') and $$.('selector') now availible

Not related to the jQuery $ we now can use more short replacement for document.querySelector('.class'):

// old
document.querySelector(".myClass");

// new
$(".myClass");

And now availible replacement for document.querySelectorAll('.class'):

// old
document.querySelectorAll(".myClass");

// new
$$(".myClass");

Thats great news!

Reviews

You can write here as guest with moderation. Please confirm your person if you have an account or register.

Add a review as guest
Lets draw: