Skip to content

Commit

Permalink
remove last trace of groups
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCuse committed May 23, 2012
1 parent b827b00 commit 59b5195
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SquishIt.Framework/Base/BundleBase.cs
Expand Up @@ -316,7 +316,7 @@ private string Render(string renderTo, string key, IRenderer renderer)

public string RenderNamed(string name)
{
bundleState = GetCachedGroupBundle(name);
bundleState = GetCachedBundleState(name);
//TODO: this sucks
// Revisit https://github.com/jetheredge/SquishIt/pull/155 and https://github.com/jetheredge/SquishIt/issues/183
//hopefully we can find a better way to satisfy both of these requirements
Expand All @@ -332,7 +332,7 @@ public string RenderNamed(string name)

public string RenderCached(string name)
{
bundleState = GetCachedGroupBundle(name);
bundleState = GetCachedBundleState(name);
var content = CacheRenderer.Get(CachePrefix, name);
if(content == null)
{
Expand All @@ -344,7 +344,7 @@ public string RenderCached(string name)

public string RenderCachedAssetTag(string name)
{
bundleState = GetCachedGroupBundle(name);
bundleState = GetCachedBundleState(name);
return Render(null, name, new CacheRenderer(CachePrefix, name));
}

Expand Down Expand Up @@ -617,7 +617,7 @@ internal virtual void BeforeRenderDebug()

}

private BundleState GetCachedGroupBundle(string name)
private BundleState GetCachedBundleState(string name)
{
var bundle = bundleStateCache[CachePrefix + name];
if(bundle.ForceDebug)
Expand Down

0 comments on commit 59b5195

Please sign in to comment.