I'm experiencing right now an interesting fact:
If I write this to load only jQuery minified version:
document.write('<script type="text/javascript" src="../rtvizion/Scripts/jquery-1.10.2.min.js"></script>');
both versions of jQuery files are being loaded:
jquery-1.10.2.js
jquery-1.10.2.min.js
as can be seen in Google Chrome Sources:
If I comment out that document.write
line then no jQuery file gets loaded.
The problem I have with both files loading is that it's creating duplicate objects/handlers in my own code.
Of course I can safely delete the one not minified (jquery-1.10.2.js) since I'm not using/referencing it anywhere but I'm really curious about what's causing this behavior...
Why is this happening?