3 ms·
Neat, but I couldn't get three librairies with minified JS: https://cdn.jsdelivr.net/g/jquery@1.10.2,bootstrap@3.0.3,angularjs@1.2.10 And I couldn't get B
by Dorian-Marie 13y ago
Neat, but I couldn't get three librairies with minified JS:
https://cdn.jsdelivr.net/g/jquery@1.10.2,bootstrap@3.0.3,angularjs@1.2.10
And I couldn't get Boostrap CSS even if they say they also host CSS.
Also, it's not clear if you can or not mix CSS and JS in the query, that would be neat to do that and then to insert CSS with Javascript (or maybe that would be a bad idea).
- jimaek 13y agojQuery was deployed from the official source. And it does load a map file suggesting its minified. Not sure why it looks like this. You can mix CSS and JS in one query but its up to you to make it work. To load Bootstrap CSS you need to specify the exact file like so https://cdn.jsdelivr.net/g/bootstrap@3.1(css/bootstrap.min.css) https://cdn.jsdelivr.net/g/bootstrap@3.1(css/bootstrap.min.c... Because the main file for this project points to a js
- Dorian-Marie 13y agoThe original file was not minified: https://github.com/jsdelivr/jsdelivr/pull/478 https://github.com/jsdelivr/jsdelivr/pull/478
- Dorian-Marie 13y agoThanks, I didn't see the files were in sub-directories for Bootstrap. Here is my final Javascript query: https://cdn.jsdelivr.net/g/jquery@1.10.2(jquery.min.js),bootstrap@3.0.3(js/bootstrap.min.js),angularjs@1.2.10(angular.min.js) https://cdn.jsdelivr.net/g/jquery@1.10.2(jquery.min.js),boot...
- jimaek 13y agoYou dont need to specify the exact files in this case. This code will load the exact same thing https://cdn.jsdelivr.net/g/jquery@1.10.2,bootstrap@3.0.3,angularjs@1.2.10 https://cdn.jsdelivr.net/g/jquery@1.10.2,bootstrap@3.0.3,ang... You need to specify the files if you are loading files other than the one specified in the "mainfile" parameter. Or loading multiple files together.