3 ms·
Would a decrease in overall size count as an improvement? If you are already loading jQuery sometimes it's nice to use jQuery "native" libraries because there i
by PetrolMan 15y ago
Would a decrease in overall size count as an improvement? If you are already loading jQuery sometimes it's nice to use jQuery "native" libraries because there is less replicated code and consequently smaller files.
Just a thought.
- dhbanes 15y agoThat was my first thought too. But after looking into it further, the jQuery implementation weighs in at 11.549 kb [1] vs 9.67 kb [2] for the original. Am I missing something? Seems pretty pointless to me as well. [1] https://github.com/shama/jmpress.js/blob/master/js/jmpress.js https://github.com/shama/jmpress.js/blob/master/js/jmpress.j... [2] https://github.com/bartaz/impress.js/blob/master/js/impress.js https://github.com/bartaz/impress.js/blob/master/js/impress....