Skip to content

Commit

Permalink
Fix concatenated asset when using spriting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavey committed Jun 27, 2013
1 parent 147865e commit a279607
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion src/Cassette/BundleProcessing/ConcatenatedAsset.cs
Expand Up @@ -44,7 +44,12 @@ public override byte[] Hash

public override Type AssetCacheValidatorType
{
get { throw new NotImplementedException(); }
get
{
var first = children.FirstOrDefault();
if (first != null) return first.AssetCacheValidatorType;
throw new InvalidOperationException();
}
}

public override IEnumerable<AssetReference> References
Expand Down
6 changes: 3 additions & 3 deletions src/SharedAssemblyInfo.cs
Expand Up @@ -4,7 +4,7 @@
[assembly: AssemblyProduct("Cassette")]
[assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")]

[assembly: AssemblyInformationalVersion("2.2.0")]
[assembly: AssemblyInformationalVersion("2.2.1")]

[assembly: AssemblyVersion("2.2.0.*")]
[assembly: AssemblyFileVersion("2.2.0.0")]
[assembly: AssemblyVersion("2.2.1.*")]
[assembly: AssemblyFileVersion("2.2.1.0")]

0 comments on commit a279607

Please sign in to comment.