flippant.js
flippant.js copied to clipboard
Plays nice with jQuery?
While trying to use Flippant on my project I quickly realized that if I passed a $('#my-id') as the front part it wouldn't work due to using classList and a few other methods that are only available to the element.
Is this intended? Perhaps is there something I could help with to make this jQuery Friendly?
+1
I think you could easily change $('#my-id') to document.getElementById('my-id')
Isn't that enough?