Open jimmywarting opened 8 years ago
Are you serious using jQuery for one simple thing? managing classes...
It can easily be replaced with this:
element.classList.contains("mdl-js-ripple-effect"); .... element.classList.add(html.join(' '))
its not only faster, but it also don't need to load a hole library that people don't use
I've added a pull request for this #12
Are you serious using jQuery for one simple thing? managing classes...
It can easily be replaced with this:
its not only faster, but it also don't need to load a hole library that people don't use