EntropySink
Technical & Scientific => Programming => Topic started by: ober on December 06, 2012, 12:38:33 PM
-
SO I have an interesting problem. In our platform on the current production version (patch branch), we have 'jquery-1-5-1.js' or something like that. On the current HEAD version, we have jquery-min.js (newer version, no version in the filename). That's not a problem for core code, but for custom client code, the pages will span versions. So eventually jquery-1-5-1.js will no longer exist.
So... can I just include both? Would that work??
<script type="text/javascript" src="javascript/jquery-1.5.1.js"></script>
<script type="text/javascript" src="javascript/jquery.min.js"></script>
-
Why not just make jquery.min.js a symlink to the version you want?
-
Eh, not worth it at this point. I'll just use old school JS for this one small thing.