Installing both 1.11 and 2.1 with composer
iquito opened this issue · comments
As far as I can tell, it is impossible to install both the latest 2.1.4 version and 1.11.3 version of jQuery, although both are necessary if one wants to be backwards compatible and use 2.1.4 for "good" browsers and 1.11.3 for IE8 and below.
Because composer does not support installing multiple versions of the same package, ideally there would be a package for jQuery 1 and another package for jQuery 2 - the legacy jQuery 1 could also be named "jquery-legacy", "jquery-old-ie" or something like that. I would really welcome some kind of solution like this - right now I am using this package for 2.1.4, and still manually updating 1.11.3 within my own source files, and I guess other users of this package are doing the same - or they just use 2.1 and are not supporting old IEs anymore, or they are using 1.11 with new browsers to support all browsers, which slows down all new browsers.