Commit Graph
337 Commits
Author SHA1 Message Date
ChenL 7ad9ce95e9 Illegal expression in contains 2017-03-15 20:38:08 +08:00
harttle 0f4edc5b53 add unit test for #21 2017-03-15 17:13:05 +08:00
harttle 492f56cbfb unit test: multiple hash 2017-02-01 13:49:01 +08:00
harttle 21eefe1d7b do not trim output tags and previous \n, #19 2017-01-31 23:15:23 +08:00
harttle 5ecca1b761 feature: greedy trim disabled by default, working on #19 2017-01-31 00:07:46 +08:00
harttle 84f7a399c5 update README and unit test 2016-12-27 00:33:11 +08:00
harttle 044035b8ed unit tests for #17 2016-12-26 23:37:33 +08:00
harttle 564d9cd9f4 feature: whitespace control, fixes #17 2016-12-26 23:23:58 +08:00
harttle fbb1dc8a36 test cases for filters: string->number convertion, #18 2016-12-15 23:14:49 +08:00
harttle 4719544d49 fix: number convertion for plus filter, closes #18 2016-12-15 22:38:48 +08:00
harttle 89636736a4 robust date filter 2016-12-08 23:25:38 +08:00
harttle 543368ed89 unit test for original error for {%layout%} 2016-12-01 00:50:36 +08:00
harttle dcd7b01fa4 update tag test 2016-11-16 02:53:30 +08:00
harttle 40bdd7e94a refactor: move file to token property 2016-11-16 01:06:37 +08:00
harttle 64e9cb7044 fix nested render error message 2016-11-16 00:48:54 +08:00
harttle 2bc53a3850 change: move context error from err.message to err.stack 2016-11-16 00:31:20 +08:00
harttle 397b2e48b6 fix default filter 2016-11-15 21:58:05 +08:00
harttle cb3378b648 refactor: static strict_filters, disable settigns when rendering 2016-11-09 02:37:52 +08:00
harttle 5c0209ec8b feature: rich info error 2016-11-09 01:58:49 +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 fd2df81f9c use native path 2016-11-06 17:20:03 +08:00
harttle a82e50e1ab fix: crash when express views set to string 2016-11-06 16:22:52 +08:00
harttle e9ff3d916d refactor unit test for tags/unless 2016-11-06 15:42:30 +08:00
harttle f3d69fbc6e refactor fs-mock from before() to .it() 2016-11-06 15:33:46 +08:00
harttle 21950295ac unit test for _.echo 2016-11-06 15:26:39 +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 f70b2ee203 refactor: use assert, fix: respect to express settings.views, close #16 2016-11-03 00:43:23 +08:00
harttle ce99bb56eb fix istanbul report writting by mock.restore in test/util/error.js 2016-11-01 23:09:47 +08:00
harttle 951225fb75 refactor: use promise.mapSeries 2016-11-01 22:24:56 +08:00
harttle f8269f4d20 feature: template file lookup error message 2016-11-01 00:22:41 +08:00
harttle 9961afa3dd feture: promise.mapSeries 2016-10-31 23:45:41 +08:00
harttle 6dd836f157 feature: root option allows array of strings 2016-10-31 23:21:28 +08:00
harttle 377c805230 coverage 2016-10-26 02:50:41 +08:00
harttle 34f5cfa34d strftime coverage 2016-10-26 01:55:33 +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 6d20f7aa8e rename expression.js -> syntax.js 2016-10-24 23:11:37 +08:00
harttle cb75e69122 fix strftime test 2016-10-24 02:00:57 +08:00
harttle 9fb5beb756 fix strftime test 2016-10-24 01:57:24 +08:00
harttle fa50ca51d4 fix strftime test 2016-10-23 19:48:44 +02:00
harttle f5a0465b10 fix strftime test 2016-10-24 01:31:18 +08:00
harttle 1cd30733dd feature: Allow hyphens in identifiers, working on #14 2016-10-24 01:19:58 +08:00
harttle fbcd244946 test for strftime 2016-10-24 00:23:50 +08:00
harttle 365a047736 refactor filters and corresponding tests 2016-10-24 00:05:17 +08:00
harttle 300c3710c6 feature: if the provided date is 'now', create a date (#14) 2016-10-23 00:11:22 +08:00
harttle 0dcdadc971 enhancement: robust filters 2016-10-08 23:55:45 +08:00
harttle 77930e2d20 enhancement: decrease dist size 2016-10-04 22:31:28 +08:00