using System; using System.Collections.Generic; using System.Linq; using System.Web; 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")); // 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/jquery").Include( "~/Scripts/jquery-2.0.3.min.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( "~/Scripts/jquery-ui-1.10.3.min.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryui-i18n").Include( "~/Scripts/jquery-ui-i18n.min.js")); bundles.Add(new ScriptBundle("~/bundles/jquerymobile").Include( "~/Scripts/jquery.mobile-1.3.2.min.js")); // aggiungo bundle dinamico x less --> css //bundles.Add(new DynamicFolderBundle("less", "*.less")); // aggiungo bundle dinamico x coffee --> jscript //bundles.Add(new DynamicFolderBundle("coffee", "*.coffee")); } } }