I've written some JS snippets that webmasters are required to insert into their website to enable various features.
My code depends on jQuery.
My questions are:
- What's the best way of bundling jQuery with my code, instead of the normal
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>, which seems like a bad idea.
- How can I make sure any jQuery I import doesn't interfere with any jQuery they might already have on their site?