Remove old warning method

This commit is contained in:
Tristan Hume 2013-08-22 12:57:16 -04:00
parent 77db92de54
commit 5bdfb62bf2
3 changed files with 0 additions and 3 deletions

View File

@ -58,7 +58,6 @@ module Liquid
end
def render(context)
context.errors.concat(@warnings) if @warnings
context.registers[:for] ||= Hash.new(0)
collection = context[@collection_name]

View File

@ -29,7 +29,6 @@ module Liquid
end
def render(context)
context.errors.concat(@warnings) if @warnings
context.stack do
@blocks.each do |block|
if block.evaluate(context)

View File

@ -87,7 +87,6 @@ module Liquid
def render(context)
return '' if @name.nil?
context.errors << @warning if @warning
@filters.inject(context[@name]) do |output, filter|
filterargs = []
keyword_args = {}