Closed tvler closed 8 years ago
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.
Fixed in https://github.com/tvler/lazy-progressive-enhancement/commit/cf18fce4f392162981ef565efba7b0d7c21e34b5
(79 characters smaller in the min!!)
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.