65 lines
2.6 KiB
C#
65 lines
2.6 KiB
C#
using System.Web.Optimization;
|
||
|
||
namespace MoonProTablet
|
||
{
|
||
public class BundleConfig
|
||
{
|
||
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726
|
||
public static void RegisterBundles(BundleCollection bundles)
|
||
{
|
||
bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
|
||
"~/Scripts/WebForms/WebForms.js",
|
||
"~/Scripts/WebForms/WebUIValidation.js",
|
||
"~/Scripts/WebForms/MenuStandards.js",
|
||
"~/Scripts/WebForms/Focus.js",
|
||
"~/Scripts/WebForms/GridView.js",
|
||
"~/Scripts/WebForms/DetailsView.js",
|
||
"~/Scripts/WebForms/TreeView.js",
|
||
"~/Scripts/WebForms/WebParts.js"));
|
||
|
||
bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
|
||
"~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
|
||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
|
||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
|
||
"~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));
|
||
|
||
#if false
|
||
// Use the Development version of Modernizr to develop with and learn from. Then, when you’re
|
||
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need
|
||
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
||
"~/Scripts/modernizr-*"));
|
||
|
||
|
||
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
|
||
"~/Scripts/jquery-ui-{version}.js"));
|
||
|
||
bundles.Add(new ScriptBundle("~/bundles/BrowserWindowSize").Include(
|
||
"~/Scripts/BrowserWindowSize.js"));
|
||
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
|
||
"~/Scripts/jquery-{version}.js"));
|
||
#endif
|
||
|
||
|
||
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
|
||
"~/Scripts/bootstrap.bundle.js"));
|
||
|
||
#if false
|
||
/*---------------------------------------
|
||
* vedere:
|
||
* http://twitter.github.io/typeahead.js/
|
||
* http://twitter.github.io/typeahead.js/examples/
|
||
* https://msdn.microsoft.com/en-us/magazine/dn913180.aspx?f=255&MSPPError=-2147217396
|
||
*/
|
||
bundles.Add(new ScriptBundle("~/bundles/typeahead").Include(
|
||
"~/Scripts/bloodhound.min.js",
|
||
"~/Scripts/typeahead.bundle.min.js",
|
||
"~/Scripts/typeahead.jquery.min.js"
|
||
));
|
||
#endif
|
||
|
||
// abilito boundle "forzato"!
|
||
BundleTable.EnableOptimizations = true;
|
||
}
|
||
|
||
}
|
||
} |