rgrove / lazyload

:skull: An ancient tiny JS and CSS loader from the days before everyone had written one. Unmaintained.
MIT License
1.39k stars 288 forks source link

[New Feature] - Check link/script already loaded/exists on browser #28

Closed demonslord closed 10 years ago

demonslord commented 10 years ago

Hi, Will be nice if the plugin check for exists/loaded link's/script's.

Best Regards.

rgrove commented 10 years ago

This is something you should probably do yourself if you need it. Doing it generically and reliably in LazyLoad is tricky and complicated and would significantly increase its size, but if you know how you're loading things you're in a much better position to keep track of what you're loading.