PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/App_Start/BundleConfig.cs

https://bitbucket.org/parivedasolutions/attributeroutingtest
C# | 43 lines | 34 code | 6 blank | 3 comment | 0 complexity | 2451d34be88aeb25a4d4b208db3724ef MD5 | raw file
 1using System.Web;
 2using System.Web.Optimization;
 3
 4namespace AttributeRoutingTest
 5{
 6    public class BundleConfig
 7    {
 8        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
 9        public static void RegisterBundles(BundleCollection bundles)
10        {
11            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
12                        "~/Scripts/jquery-{version}.js"));
13
14            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
15                        "~/Scripts/jquery-ui-{version}.js"));
16
17            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
18                        "~/Scripts/jquery.unobtrusive*",
19                        "~/Scripts/jquery.validate*"));
20
21            // Use the development version of Modernizr to develop with and learn from. Then, when you're
22            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
23            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
24                        "~/Scripts/modernizr-*"));
25
26            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
27
28            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
29                        "~/Content/themes/base/jquery.ui.core.css",
30                        "~/Content/themes/base/jquery.ui.resizable.css",
31                        "~/Content/themes/base/jquery.ui.selectable.css",
32                        "~/Content/themes/base/jquery.ui.accordion.css",
33                        "~/Content/themes/base/jquery.ui.autocomplete.css",
34                        "~/Content/themes/base/jquery.ui.button.css",
35                        "~/Content/themes/base/jquery.ui.dialog.css",
36                        "~/Content/themes/base/jquery.ui.slider.css",
37                        "~/Content/themes/base/jquery.ui.tabs.css",
38                        "~/Content/themes/base/jquery.ui.datepicker.css",
39                        "~/Content/themes/base/jquery.ui.progressbar.css",
40                        "~/Content/themes/base/jquery.ui.theme.css"));
41        }
42    }
43}