mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 14:30:38 -07:00
feat: implement forloop.name as found in ruby shopify/liquid
This commit is contained in:
@@ -2,8 +2,8 @@ import { ForloopDrop } from './forloop-drop'
|
||||
|
||||
export class TablerowloopDrop extends ForloopDrop {
|
||||
private cols: number
|
||||
public constructor (length: number, cols: number) {
|
||||
super(length)
|
||||
public constructor (length: number, cols: number, collection: string, variable: string) {
|
||||
super(length, collection, variable)
|
||||
this.length = length
|
||||
this.cols = cols
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user