ChessSharp.Web.BundleConfig.RegisterBundles C# (CSharp) Method

RegisterBundles() public static method

public static RegisterBundles ( BundleCollection bundles ) : void
bundles BundleCollection
return void
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            // 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/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));

            bundles.Add(new ScriptBundle("~/bundles/angular").Include(
                      "~/Scripts/angular.js",
                      "~/Scripts/angular-route.js",
                      "~/Angular/Router.js",
                      "~/Angular/ChessService.js",
                      "~/Angular/Directives/directives.js",
                      "~/Angular/Controllers/PlayChessCtrl.js",
                      "~/Angular/Controllers/HistoryChessCtrl.js",
                      "~/Angular/Controllers/ChallengeCtrl.js",
                      "~/Angular/Controllers/NotificationCtrl.js"));
        }
BundleConfig