59 lines
2.4 KiB
C#
59 lines
2.4 KiB
C#
using System.Web;
|
|
using System.Web.Optimization;
|
|
|
|
namespace StockManMVC
|
|
{
|
|
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-{version}.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
|
|
"~/Scripts/jquery-ui-{version}.js"
|
|
));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/globalize").Include(
|
|
"~/Scripts/cldr.js",
|
|
"~/Scripts/cldr/event.js",
|
|
"~/Scripts/cldr/supplemental.js",
|
|
"~/Scripts/globalize.js",
|
|
"~/Scripts/globalize/number.js",
|
|
"~/Scripts/globalize/currency.js",
|
|
"~/Scripts/globalize/date.js"
|
|
));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
|
|
"~/Scripts/jquery.validate.js",
|
|
"~/Scripts/jquery.validate.unobtrusive.js",
|
|
"~/Scripts/jquery.validate.globalize.js"
|
|
));
|
|
|
|
//// bootgrid!
|
|
//bundles.Add(new ScriptBundle("~/bundles/jqbootgrid").Include(
|
|
// "~/Scripts/jquery.bootgrid.fa.js",
|
|
// "~/Scripts/jquery.bootgrid.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.js",
|
|
"~/Scripts/respond.js"));
|
|
|
|
bundles.Add(new StyleBundle("~/Content/css").Include(
|
|
"~/Content/bootstrap.css",
|
|
"~/Content/font-awesome.css",
|
|
//"~/Content/PagedList.css",
|
|
"~/Content/themes/base/*.css",
|
|
//"~/Content/jquery.bootgrid.css",
|
|
"~/Content/site.css"));
|
|
}
|
|
}
|
|
}
|
|
|