Last active
December 17, 2015 15:39
-
-
Save Daniel15/5632859 to your computer and use it in GitHub Desktop.
Load HTML5 Shim with Cassette
This file contains hidden or 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
// HTML5 shim needs to be separate as only IE needs it | |
bundles.AddUrlWithAlias<ScriptBundle>("//html5shim.googlecode.com/svn/trunk/html5.js", "_js/html5shim", bundle => | |
{ | |
bundle.PageLocation = "head"; | |
// Cast to ScriptBundle is a hack until https://github.com/andrewdavey/cassette/pull/384 is fixed | |
((ScriptBundle)bundle).Condition = "lt IE 9"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment