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