docs: website for LiquidJS

This commit is contained in:
harttle
2020-03-28 17:21:07 +08:00
parent 0633dbeabb
commit 3e42d6b1b0
422 changed files with 14509 additions and 50335 deletions
+8
View File
@@ -27,6 +27,14 @@ describe('tags/cycle', function () {
return expect(html).to.equal('1e1e1')
})
it('should considered different groups for different arguments', async function () {
const src = "{% cycle '1', '2', '3'%}" +
"{% cycle '1', '2'%}" +
"{% cycle '1', '2', '3'%}"
const html = await liquid.parseAndRender(src)
return expect(html).to.equal('112')
})
it('should support cycle group', async function () {
const src = "{% cycle one: '1', '2', '3'%}" +
"{% cycle 1: '1', '2', '3'%}" +