There are a lot of open source JS libraries available on CDNs. Using the bundle feature of ASP.NET MVC it is possible to define the fallback if a CDN fails.
The CdnFallbackExpression is a useful feature, however, I cannot seem to find any list of the expressions to use for libraries other than jquery. There a few listed in this blog post: http://geekswithblogs.net/cskardon/archive/2014/07/04/cdnfallbackexpression-for-jquery-jquery.ui-modernizr-and-bootstrap.aspx
If I don't know the fallback expression, how can I find it out?
UPDATE:
For anyone else looking, here are the ones I've managed to find so far:
## Library ## ## Expression ##
jQuery window.jQuery
jQuery.UI window.jQuery.ui
Modernizr window.Modernizr
Bootstrap $.fn.modal
jquery.transit $.transit
jquery.validate $.validator
json2 JSON.stringify
webfont WebFont
jquery.blockUI $.unblockUI()
respond window.respond
moment window.moment
I'm still missing the expressions for
wow.js
uploadify.js
jcrop.js
form.js
TweenMax.js
ScrollToPlugin.js