Author Topic: JQuery - multiple versions  (Read 2248 times)

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
JQuery - multiple versions
« 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>

Mike

  • Jackass In Charge
  • Posts: 11248
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: JQuery - multiple versions
« Reply #1 on: December 06, 2012, 12:55:20 PM »
Why not just make jquery.min.js a symlink to the version you want?

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: JQuery - multiple versions
« Reply #2 on: December 06, 2012, 01:51:04 PM »
Eh, not worth it at this point.  I'll just use old school JS for this one small thing.