mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 01:10:41 -07:00
Change all constants to screaming case
This commit is contained in:
@@ -57,10 +57,10 @@ class CountingFileSystem
|
||||
end
|
||||
|
||||
class CustomInclude < Liquid::Tag
|
||||
Syntax = /(#{Liquid::QuotedFragment}+)(\s+(?:with|for)\s+(#{Liquid::QuotedFragment}+))?/o
|
||||
SYNTAX = /(#{Liquid::QUOTED_FRAGMENT}+)(\s+(?:with|for)\s+(#{Liquid::QUOTED_FRAGMENT}+))?/o
|
||||
|
||||
def initialize(tag_name, markup, tokens)
|
||||
markup =~ Syntax
|
||||
markup =~ SYNTAX
|
||||
@template_name = Regexp.last_match(1)
|
||||
super
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user