I try to release a Js Library that need jQuery. Which the best way to include it? I have now this approach:
if(typeof jQuery == 'undefined'){
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use st......
}
//start my code below
But if the loader site has a older version of jQuery?.. How to handle compatibility with my code?
Example: I use the .on
method for events, but old release has .bind
Thanks!