﻿using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;

namespace BootstrapSupport
{
	public class BootstrapBundleConfig
	{
		public static void RegisterBundles(BundleCollection bundles)
		{
			bundles.Add(new ScriptBundle("~/js")
				.Include
				(
				"~/Scripts/jquery-{version}.js",
				"~/Scripts/jquery-migrate-{version}.js",
				"~/Scripts/bootstrap.js",
				"~/Scripts/jquery.validate.js",
				"~/Scripts/jquery.validate.unobtrusive.js",
				"~/Scripts/jquery.validate.unobtrusive-custom-for-bootstrap.js"
				));

			bundles.Add(new StyleBundle("~/content/css")
				.Include
				(
				"~/Content/bootstrap.css",
				"~/Content/body.css",
				"~/Content/bootstrap-responsive.css",
				"~/Content/bootstrap-mvc-validation.css"
				));
			

			return;
		}
	}
}