- sourcecode.zip
- demo
- App_Data
- App_Start
- bin
- Content
- Controllers
- demo.csproj
- demo.csproj.user
- favicon.ico
- Global.asax
- Global.asax.cs
- Images
- accent.png
- aspNetHome.png
- bullet.png
- facebook.png
- findHosting.png
- heroAccent.png
- NuGetGallery.png
- orderedList0.png
- orderedList1.png
- orderedList2.png
- orderedList3.png
- orderedList4.png
- orderedList5.png
- orderedList6.png
- orderedList7.png
- orderedList8.png
- orderedList9.png
- twitter.png
- windowsLive.png
- Models
- obj
- Debug
- TempPE
- packages.config
- Properties
- Scripts
- Templates
- HTML
- Views
- Web.config
- Web.Debug.config
- Web.Release.config
|
using System.Web;
using System.Web.Optimization;
namespace demo
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-1.*"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui*"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.unobtrusive*",
"~/Scripts/jquery.validate*"));
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));
bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
"~/Content/themes/base/jquery.ui.core.css",
"~/Content/themes/base/jquery.ui.resizable.css",
"~/Content/themes/base/jquery.ui.selectable.css",
"~/Content/themes/base/jquery.ui.accordion.css",
"~/Content/themes/base/jquery.ui.autocomplete.css",
"~/Content/themes/base/jquery.ui.button.css",
"~/Content/themes/base/jquery.ui.dialog.css",
"~/Content/themes/base/jquery.ui.slider.css",
"~/Content/themes/base/jquery.ui.tabs.css",
"~/Content/themes/base/jquery.ui.datepicker.css",
"~/Content/themes/base/jquery.ui.progressbar.css",
"~/Content/themes/base/jquery.ui.theme.css"));
bundles.Add(new StyleBundle("~/Content/bootstrap/css"));
bundles.Add(new ScriptBundle("~/bundles/bootstrap/js").Include("~/Scripts/bootstrap.js"));
bundles.Add(new ScriptBundle("~/bundles/custom").Include(
"~/Scripts/knockout-2.1.0.js",
"~/Scripts/jsRender.js"));
bundles.Add(new ScriptBundle("~/bundles/demo").Include("~/Scripts/demo.js"));
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.