mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
undo mini opt
This commit is contained in:
@@ -68,7 +68,6 @@ module Liquid
|
||||
|
||||
def shift
|
||||
token = @tokens[@offset]
|
||||
@tokens[@offset] = nil
|
||||
|
||||
return unless token
|
||||
|
||||
@@ -205,6 +204,5 @@ module Liquid
|
||||
end
|
||||
|
||||
# Remove this once we can depend on strscan >= 3.1.1
|
||||
# Tokenizer = StringScanner.instance_methods.include?(:scan_byte) ? Tokenizer2 : Tokenizer1
|
||||
Tokenizer = Tokenizer2
|
||||
Tokenizer = StringScanner.instance_methods.include?(:scan_byte) ? Tokenizer2 : Tokenizer1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user