4 ms·
Right. jQuery/Zepto $.data() was fast and easy to implement, rather than searching html5 attr. I'll think about that ;)
by guillaumepotier 14y ago
Right.
jQuery/Zepto $.data() was fast and easy to implement, rather than searching html5 attr.
I'll think about that ;)
- akoeberle 14y agoIt shouldn't be that hard to use a attribute instead: var data = $( self ).attr(type);