Created
February 28, 2012 20:35
-
-
Save jeffhandley/1934936 to your computer and use it in GitHub Desktop.
Bundling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Raw --> | |
<link href="~/Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" /> | |
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" /> | |
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /> | |
<script src="~/Scripts/jquery-1.6.2.min.js"></script> | |
<script src="~/Scripts/jquery-ui-1.8.11.js"></script> | |
<script src="~/Scripts/modernizr-2.0.6-development-only.js"></script> | |
<script src="~/Scripts/AjaxLogin.js"></script> | |
<script src="~/Scripts/App.js"></script> | |
<!-- Bundled / Minified --> | |
@{ | |
var styles = new StyleBundle(); | |
styles.Add("~/Content/themes/base/jquery.ui.all.css"); | |
styles.Add("~/Content/Site.css"); | |
styles.Render(); | |
} | |
@{ | |
scripts.Add("~/Scripts/jquery-#.min.js"); | |
scripts.Add("~/Scripts/jquery-ui-#.min.js"); | |
scripts.Add("~/Scripts/modernizr-#-development-only.js"); | |
scripts.Add("~/Scripts/AjaxLogin.js"); | |
scripts.Add("~/Scripts/App.js"); | |
scripts.Render(minify: false, bundle: true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment