Merge pull request #31 from aleclarson/remove-stop-skip

Remove unused `stop` and `skip` from `forloop` object
This commit is contained in:
Jun Yang
2017-07-13 16:10:10 +08:00
committed by GitHub
+1 -3
View File
@@ -60,9 +60,7 @@ module.exports = function (liquid) {
last: i === length - 1, last: i === length - 1,
length: length, length: length,
rindex: length - i, rindex: length - i,
rindex0: length - i - 1, rindex0: length - i - 1
stop: false,
skip: false
} }
return ctx return ctx
}) })