harttle
5412c5a39f
fixes #88
2018-09-29 16:45:11 +08:00
harttle
4d4a2d04ec
refactor
2018-08-21 01:18:13 +08:00
harttle
bc9d8f92af
refactor: import rollup
2018-08-20 23:58:41 +08:00
harttle
19891b2df0
refactor: es6 building and linting
2018-08-16 23:14:12 +08:00
harttle
7a3689067b
feature: support toLiquid, working on #81
2018-08-14 00:11:50 +08:00
harttle
5b43520d78
feature: variable lookup respects to to_liquid, #81
2018-08-14 00:11:50 +08:00
harttle
c3de3fbb19
fix: post-increment, pre-decrement working on #76
2018-07-21 22:59:52 +08:00
harttle
b5cfd2d2c5
fix: {%assign%} now adds a shading scope
2018-07-21 21:30:40 +08:00
harttle
63b5658604
refactor: src/scope.js
2018-07-21 17:02:18 +08:00
harttle
02806b2257
fix #75
2018-07-16 15:02:31 +08:00
harttle
0f9adfb067
change: remove deprecated features, coverall
2017-12-23 21:31:55 +08:00
harttle
ace271c7f0
feature: support static filepath resolving by options.dynamicPartials,
...
fix #51
2017-12-21 14:09:30 +08:00
harttle
a4126e7f10
fix: typo in scope.get("liquid") error message, fixes #50
2017-12-08 00:24:23 +08:00
harttle
4e132ca1c5
tags: use scope.opts insteadof scope.get('liquid')
2017-11-04 10:46:15 +08:00
harttle
21af8c4d7a
fix read/write variable in parent's scope, fix #39
2017-08-26 17:57:43 +08:00
harttle
72597c52e5
cover all
2017-08-14 22:07:08 +08:00
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
harttle
2632e3e97e
eslint
2017-04-24 21:31:30 +08:00
harttle
2d793a63fe
fix #29
2017-04-17 22:49:53 +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
295eee8134
fix: find variable in parent scope (strict_variables)
2016-11-08 21:01:25 +08:00
harttle
ddd06e12b5
strict_filters/strict_variables when creating engine
2016-11-07 00:01:02 +08:00
harttle
1e7873afc0
fix scope hidding
2016-11-06 22:08:26 +08:00
harttle
d7b7b1724f
refactor: merge render register into scope
2016-11-06 15:22:29 +08:00
harttle
258f4a2073
fix include scope.blocks bleeding
2016-11-06 14:57:48 +08:00
harttle
c100a2e25e
refactor: use _.assign
2016-11-03 01:01:36 +08:00
harttle
f70b2ee203
refactor: use assert, fix: respect to express settings.views, close #16
2016-11-03 00:43:23 +08:00
harttle
377c805230
coverage
2016-10-26 02:50:41 +08:00
harttle
da1d28e02e
feature: unshift and shift for scope, working on #15
2016-10-25 18:14:07 +08:00
harttle
6135028015
feature: interpolate bracket access, close #14
2016-10-25 01:46:37 +08:00
harttle
300c3710c6
feature: if the provided date is 'now', create a date ( #14 )
2016-10-23 00:11:22 +08:00
harttle
77930e2d20
enhancement: decrease dist size
2016-10-04 22:31:28 +08:00
harttle
16a66f2b18
feature: browser side support, close #6
2016-09-27 02:28:20 +08:00
harttle
be6c67a1ba
feature: strict_variables, working on #9
2016-09-26 22:49:09 +08:00
harttle
ddc17a6b93
refactor: tests for tags
2016-09-26 21:52:06 +08:00
harttle
82a6a72013
scope get all
2016-06-26 13:16:34 +08:00
harttle
3695eb2d6e
tag: layout, block
2016-06-24 10:44:57 +08:00
harttle
8fbbec089f
tag:include
2016-06-24 02:44:20 +08:00