mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
more micro optimization
This commit is contained in:
@@ -65,7 +65,7 @@ module Liquid
|
|||||||
def next_text_token
|
def next_text_token
|
||||||
start = @ss.pos
|
start = @ss.pos
|
||||||
|
|
||||||
if @ss.skip_until(TAG_OR_VARIABLE_START).nil?
|
unless @ss.skip_until(TAG_OR_VARIABLE_START)
|
||||||
token = @ss.rest
|
token = @ss.rest
|
||||||
@ss.terminate
|
@ss.terminate
|
||||||
return token
|
return token
|
||||||
|
|||||||
Reference in New Issue
Block a user