mirror of
https://github.com/Shopify/liquid.git
synced 2025-09-21 00:00:32 -04:00
Remove old warning method
This commit is contained in:
parent
77db92de54
commit
5bdfb62bf2
@ -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]
|
||||
|
@ -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)
|
||||
|
@ -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 = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user