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