mirror of
https://github.com/Shopify/liquid.git
synced 2025-09-21 00:00:32 -04:00
Fix syntax error in for and htmltags files for compatibility with Rubinius 2.0.0-dev
This commit is contained in:
parent
b8d7b9aeda
commit
db07e2b67e
@ -46,7 +46,7 @@ module Liquid
|
||||
'col0' => col,
|
||||
'index0' => index,
|
||||
'rindex' => length - index,
|
||||
'rindex0' => length - index -1,
|
||||
'rindex0' => length - index - 1,
|
||||
'first' => (index == 0),
|
||||
'last' => (index == length - 1),
|
||||
'col_first' => (col == 0),
|
||||
|
@ -110,7 +110,7 @@ module Liquid
|
||||
'index' => index + 1,
|
||||
'index0' => index,
|
||||
'rindex' => length - index,
|
||||
'rindex0' => length - index -1,
|
||||
'rindex0' => length - index - 1,
|
||||
'first' => (index == 0),
|
||||
'last' => (index == length - 1) }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user