using System.Web;
using System.Web.Optimization;

namespace ToDoList
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/script").Include(
                         "~/Scripts/jquery-2.1.4.js",
                         "~/Scripts/bootstrap.js",
                         "~/Scripts/angular.js",
                         "~/Scripts/angular-animate.js",
                         "~/Scripts/angular-route.js",
                         "~/Scripts/angular-resource.js",
                         "~/Scripts/angular-messages.js",
                         "~/Scripts/angular-loading-bar.js",
                         "~/Scripts/Site.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/bootstrap").Include(

            //          "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/bootstrap-theme.css",
                      "~/fonts/font-awesome-4.4.0/css/font-awesome.css",
                      "~/Content/animate.css",
                      "~/Content/angular-loading-bar.css",
                      "~/Content/site.css"));

            bundles.Add(new ScriptBundle("~/bundles/app").Include(
                       "~/app/app.module.js",
                       "~/app/app.config.js",
                       "~/app/app.route.js",
                       "~/app/app.message.directive.js",
                       "~/app/app.controller.js",
                       "~/app/list/list.module.js",
                       "~/app/list/list.route.js",
                       "~/app/list/list.service.js",
                       "~/app/list/list.controller.js",
                       "~/app/list/list.modify.controller.js",
                       "~/app/task/task.module.js",
                       "~/app/task/task.service.js",
                       "~/app/task/task.route.js",
                       "~/app/task/task.controller.js",
                       "~/app/task/task.modify.controller.js"
                       ));
        }
    }
}
