7 ms·
Dynamic jquery loading for 3rd party services
solves the problems of dynamically loading jquery if someone else includes your code and you want to use jquery but you aren't sure if jquery is maybe already on the page.
thought i share it because it solved a lot of problems for me.
- DanielRibeiro 16y agoThis is nice. I've crafted one in coffeescript for a bookmarlet I made. It checks version as well, and allows multiple and scoped jquery versions: https://gist.github.com/724103 https://gist.github.com/724103 It was inspired on this one in js: https://github.com/danielribeiro/jQuery-Quarantine https://github.com/danielribeiro/jQuery-Quarantine