mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 08:45:42 +03:00
Remove old warning method
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user