Is there a CDN for jqGrid?

亡梦爱人 提交于 2019-12-23 07:26:44

问题


Anyone know if there is a CDN for jqGrid?

Thanks!


回答1:


Here is CDN for JQgrid ; not min version, though.

http://www.jsdelivr.com/#!jqgrid

Once you get to the website, click on the Integration button and it will give you the JS code snippet you need to include to use the CDN.




回答2:


There's none that I could find, sorry.

You could take a look here: Hosting Javascript/CSS file on CDN similar to Google hosting jQuery




回答3:


You can try submitting a request to http://www.jsdelivr.com




回答4:


You could always link to the raw files on the Master branch at GitHub:

CSS: https://raw.github.com/tonytomov/jqGrid/master/css/ui.jqgrid.css

JS: https://github.com/tonytomov/jqGrid/tree/master/js

CSS is a clear win, but JS would need to include each individual module. That probably erodes the benefit of sourcing the include to an external site.

[update]

I wouldn't advocate doing this anywhere outside of development. In the long run, I think tools like Grunt/Bower are going to make CDNs less essential-unless you have multi-page apps.



来源:https://stackoverflow.com/questions/10358316/is-there-a-cdn-for-jqgrid

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!