We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76fe8c7 commit 730cd3dCopy full SHA for 730cd3d
src/helpers/repeat.ts
@@ -9,8 +9,8 @@ export const repeatHelper: HelperConstructorBlock = (ctx) => {
9
}
10
11
let ret = "";
12
- for (let i = 0; i < rawNum; i++) {
13
- ret += options.fn({ ...this, "repeat_index": i });
+ for (let i = 0; i < num; i++) {
+ ret += options.fn({ ...this, repeat_index: i });
14
15
return ret;
16
});
0 commit comments