andrewdavey/cassette — Issue #204: Local fallback asset wrong
Author: joakimfischer
Created: 2012-03-02 11:02:50+00:00
State: open

Hi,

I use your suggested tecnique for local fallback (http://getcassette.net/documentation/scripts/external) but I think there is a small error with fallbackurl.. the scripts write out the CDN instead of the local assett in the fallback script. See below example

```c#
Bundles.Reference("scripts/fallback/jquery.js");
```
```c#
bundles.AddUrlWithLocalAssets(
"//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js",
new LocalAssetSettings
{
// Local assets for use in debug mode.
Path = "scripts/fallback/jquery.js",
// When condition is true, uses the local assets
FallbackCondition = "!window.jQuery"
}
);
```
```javsacript

```