DataTables CDN fallback expressions
问题 What are the CDN fallback expressions for the DataTables script and its extensions? https://cdn.datatables.net For example (source): jQuery --> window.jQuery jQuery.UI --> window.jQuery.ui Modernizr --> window.Modernizr Bootstrap --> $.fn.modal 回答1: You can determine whether jQuery DataTables is available by testing whether $.fn.dataTable exists. So I assume you need to use: bundle.CdnFallbackExpression = "$.fn.dataTable"; 来源: https://stackoverflow.com/questions/31707750/datatables-cdn