mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
code clean up
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ module Liquid
|
||||
end
|
||||
|
||||
def initialize(input)
|
||||
@ss = Lexer2.string_scanner
|
||||
@ss = self.class.string_scanner
|
||||
@ss.string = input
|
||||
end
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ module Liquid
|
||||
if @for_liquid_tag
|
||||
@tokens = @source.split("\n")
|
||||
else
|
||||
@ss = Tokenizer2.string_scanner
|
||||
@ss = self.class.string_scanner
|
||||
@ss.string = @source
|
||||
@tokens << shift_normal until @ss.eos?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user