tvler/lazy-progressive-enhancement

Scroll-based load: Use a variable to store original src instead of a data attribute

tvler opened this issue · 1 comments

tvler commented

Data attributes are slower and create more markup cruft. It would be better to pass the original source string in as a parameter into the scroll logic –– it will prob make the minified file smaller too.

tvler commented

Fixed in cf18fce

(79 characters smaller in the min!!)