Hacker News new | ask | show | jobs
by guillaumepotier 4904 days ago
Right.

jQuery/Zepto $.data() was fast and easy to implement, rather than searching html5 attr.

I'll think about that ;)

1 comments

It shouldn't be that hard to use a attribute instead: var data = $( self ).attr(type);