harttle
a2a076d038
refactor access seq parsing
2017-08-03 13:46:00 +08:00
jaswrks and GitHub
3dc37bf980
Bug fix for foo.bar[0].foo that is not working.
...
Corrects a bug where `foo.bar[0].foo` results in error: 'Cannot read property `foo` of undefined', because the sequence contains an empty string; i.e., `seq.push('')` should be avoided.
Another possible solution would be to strip empty strings from the final `seq` variable, but this PR fixes the immediate problem.
2017-08-02 10:37:11 -08:00
harttle
4ee2bc964c
upgrade outdated dependencies
2017-07-28 21:25:24 +08:00
wojtask9 and Jun Yang
ea2a5f5c3b
add identation value to token ( #34 )
...
* add identation value to token
* fix lint problems
* use var instead of let
2017-07-21 12:44:27 +08:00
harttle
52e2be68ab
1.9.1
v1.9.1
2017-07-17 01:09:22 +08:00
harttle
cbde48971a
rename to liquidjs
2017-07-17 01:08:51 +08:00
harttle
e91cc8c950
update: auto publish after version
2017-07-14 10:42:01 +08:00
harttle
314aa6b467
1.9.0
v1.9.0
2017-07-14 00:37:08 +08:00
harttle
14e53ed3a9
test cases for #32
2017-07-14 00:34:12 +08:00
harttle
cf6d3e78fe
Merge branch 'object-for-loop' of https://github.com/aleclarson/liquid-node
2017-07-13 23:24:48 +08:00
aleclarson
fb52c864b1
Add isPlainObject to 'util/underscore.js'
2017-07-13 10:33:01 -04:00
harttle
9f82aec569
add test case for truncate
2017-07-13 16:28:32 +08:00
Jun Yang and GitHub
29fe8dcb4b
Merge pull request #31 from aleclarson/remove-stop-skip
...
Remove unused `stop` and `skip` from `forloop` object
2017-07-13 16:10:10 +08:00
aleclarson
2a16800305
Iterate keys of object when used with for...in loop
2017-07-12 15:33:48 -04:00
aleclarson
154cf379a8
Remove unused stop and skip from forloop object
2017-07-12 15:33:09 -04:00
harttle
ed20fe6072
1.8.0
v1.8.0
2017-04-24 21:31:56 +08:00
harttle
2632e3e97e
eslint
2017-04-24 21:31:30 +08:00
harttle
82f84d96c1
1.7.9
v1.7.9
2017-04-20 10:33:49 +08:00
harttle
1126dffd7d
fix default filter use isTruthy, working on #30
2017-04-20 10:33:10 +08:00
harttle
07ec997ffd
tests for truthy
2017-04-20 10:31:02 +08:00
harttle
79815784c1
1.7.8
v1.7.8
2017-04-17 22:56:16 +08:00
harttle
2d793a63fe
fix #29
2017-04-17 22:49:53 +08:00
harttle
cc2b2ea5d1
1.7.7
v1.7.7
2017-04-10 19:07:51 +08:00
Jun Yang and GitHub
8ff9eeb51d
Merge pull request #28 from wojtask9/master
...
support multiline tags
2017-04-10 19:06:16 +08:00
wojtask9
3bc7caa387
support multiline tags
2017-04-10 11:58:45 +02:00
harttle
20044c4256
1.7.6
v1.7.6
2017-03-21 18:00:27 +08:00
chenos and Jun Yang
e72f295bd0
Comparison on NULL is always false ( #27 )
...
* All values in Liquid are truthy except nil and false.
* The falsy values are null, undefined and false.
* comparison on null
2017-03-21 14:54:26 +08:00
chenos and Jun Yang
66774865f4
All values in Liquid are truthy except nil and false. ( #26 )
...
* All values in Liquid are truthy except nil and false.
* The falsy values are null, undefined and false.
2017-03-21 12:25:11 +08:00
harttle
2ae6874397
1.7.5
v1.7.5
2017-03-20 15:07:10 +08:00
chenos and Jun Yang
b307f6ffd0
Size can also be used with dot notation ( #25 )
...
* Size can also be used with dot notation (for example, {{ my_string.size }}).
* Fixed test failed.
* Optimization
2017-03-20 15:06:32 +08:00
harttle
5b5db616e2
1.7.4
v1.7.4
2017-03-16 19:29:16 +08:00
harttle
551a15f373
import value declaration syntax
2017-03-16 19:27:54 +08:00
ChenL
45e0fb21dc
Fixed array arguments bug
2017-03-16 19:02:30 +08:00
ChenL
4fc977268f
Support create variables on the filter line.
2017-03-16 18:26:10 +08:00
harttle
8231727428
update README
2017-03-16 10:44:21 +08:00
harttle
0a068ac51c
1.7.3
v1.7.3
2017-03-16 10:40:27 +08:00
harttle
6f1d6f3d05
Merge branch 'chenos-master'
2017-03-16 10:40:09 +08:00
harttle
aa52a31e90
fix: contains return false when left side equals null
2017-03-16 10:39:10 +08:00
ChenL
e4056a79ee
Test if an array contains a specific number/string.
2017-03-16 10:05:50 +08:00
ChenL
f1d68409b1
Do not throw error in contains when variable is illegal.
2017-03-15 21:20:00 +08:00
ChenL
7ad9ce95e9
Illegal expression in contains
2017-03-15 20:38:08 +08:00
harttle
ea7e334d87
1.7.2
v1.7.2
2017-03-15 17:14:21 +08:00
harttle
4f123c1d6b
Merge branch 'chenos-master'
2017-03-15 17:13:58 +08:00
harttle
0f4edc5b53
add unit test for #21
2017-03-15 17:13:05 +08:00
chenos and GitHub
48bee428d5
reversed position
...
eg:
- reversed limit:4 offset:2
- limit:4 reversed offset:2
- limit:4 offset:2 reversed
2017-03-15 16:59:24 +08:00
Jun Yang and GitHub
2d1f05799f
Update README.md
2017-02-18 17:14:51 +08:00
harttle
dbc18539a0
modified: README.md
2017-02-14 10:57:57 +08:00
harttle
492f56cbfb
unit test: multiple hash
2017-02-01 13:49:01 +08:00
harttle
4018ffe68b
1.7.1
v1.7.1
2017-01-31 23:17:08 +08:00
harttle
21eefe1d7b
do not trim output tags and previous \n, #19
2017-01-31 23:15:23 +08:00