Permalink
Browse files

code cleanup

  • Loading branch information...
groue committed Sep 29, 2012
1 parent 865b784 commit 1998b1b479f104638a4ab3cf3f8324d5b03643ff
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/classes/GRMustacheRuntime.m
@@ -219,8 +219,7 @@ - (void)delegateValue:(id)value interpretation:(GRMustacheInterpretation)interpr
- (id<GRMustacheRenderingElement>)resolveRenderingElement:(id<GRMustacheRenderingElement>)element
{
if (element.isOverridable) {
- id<GRMustacheRenderingElement> overridingElement = [self resolveOverridableRenderingElement:element];
- if (overridingElement) { return overridingElement; }
+ element = [self resolveOverridableRenderingElement:element];
}
return element;
}

0 comments on commit 1998b1b

Please sign in to comment.