using System.Web.Optimization;

namespace GalleryMVC_With_Auth
{
    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/jquery").Include(
                "~/Scripts/jquery-2.1.4.min.js",
                "~/Scripts/Parallax.js",
                "~/scripts/jquery.unobtrusive-ajax.min.js"));
            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                "~/Scripts/jquery.validate.min.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/bootstrap.min.js",
                "~/Scripts/respond.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/magic").Include(
                "~/Scripts/transp_menu_magic.js"
                ));

            bundles.Add(new ScriptBundle("~/bundles/galmagic").Include(
                "~/Content/blueimp-gallery2/js/blueimp-gallery.min.js",
                "~/Scripts/BlueimpGal.js",
                "~/Scripts/jquery.lazyload.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/reactJS").Include(
                "~/Scripts/react/react-0.13.1.js",
                "~/Scripts/react/JSXTransformer-0.13.1",
                "~/Scripts/react/react-with-addons-0.13.1"));

            bundles.Add(new ScriptBundle("~/bundles/Avatar").Include(
                "~/Scripts/processing.min.js",
                "~/Scripts/AvatarGenerator.js"
                ));

            bundles.Add(new StyleBundle("~/Content/styles").Include(
                "~/Content/css/hover_effects/component.css",
                "~/Content/css/hover_effects/normalize.css",
                "~/Content/css/bootstrap.min.css",
                "~/Content/css/site.css",
                "~/Content/css/transp_menu.css",
                "~/Content/css/sticky-footer.css",
                "~/Content/blueimp-gallery2/css/blueimp-gallery.min.css"));

            BundleTable.EnableOptimizations = true;
        }
    }
}