Im leaning towards this not being possible, based on all my searching prior to posting this (unless using jquery Can I use multiple versions of jQuery on the same page? which i am not) but I figured I would check.
I have come accross a situation where I need one version of socket.io in order for my web application to work, and another version in order to communicate with my python websockets.
Is it possible to use multiple versions of the same js? for instance, one remote, one local:
<script src="/socket.io/socket.io.js" as="ioA"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.6/socket.io.js" as="ioB"></script>
Obviously that itself isnt going to work but I hope it helps illustrate what I want.
If my fear is true that this isnt doable, is there a workaround? Such as containing what I need from the remote one in another js/ejs file, and somehow calling to it from the first page? or will the imports clobber each other.
Apologies if this is a dumb question - haven't come accross this in my limited use of these languages, and can't get a straight answer from my own searches