Commit Graph
100 Commits
Author SHA1 Message Date
harttle fbb1dc8a36 test cases for filters: string->number convertion, #18 2016-12-15 23:14:49 +08:00
harttle c99dfd69e7 1.5.4 2016-12-15 22:39:52 +08:00
harttle 4719544d49 fix: number convertion for plus filter, closes #18 2016-12-15 22:38:48 +08:00
harttle 2c0ba9bfd9 1.5.3 2016-12-08 23:26:00 +08:00
harttle 89636736a4 robust date filter 2016-12-08 23:25:38 +08:00
harttle deca9677dd modified: README.md 2016-12-05 23:49:07 +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 209d3910ab 1.5.2 2016-11-16 01:07:08 +08:00
harttle 40bdd7e94a refactor: move file to token property 2016-11-16 01:06:37 +08:00
harttle 03b7ee95ed 1.5.1 2016-11-16 00:50:21 +08:00
harttle 64e9cb7044 fix nested render error message 2016-11-16 00:48:54 +08:00
harttle 20af0c489e 1.5.0 2016-11-16 00:32:16 +08:00
harttle 2bc53a3850 change: move context error from err.message to err.stack 2016-11-16 00:31:20 +08:00
harttle 3a450bba1b 1.4.3 2016-11-15 21:58:25 +08:00
harttle 397b2e48b6 fix default filter 2016-11-15 21:58:05 +08:00
harttle d89e9a214b 1.4.2 2016-11-12 23:54:17 +08:00
harttle a6f915ce42 update README: live reload 2016-11-12 23:53:47 +08:00
harttle 5fd47f82e5 1.4.1 2016-11-12 20:05:54 +08:00
harttle e5dd38dd03 modified: package.json 2016-11-12 20:04:23 +08:00
harttle cb3378b648 refactor: static strict_filters, disable settigns when rendering 2016-11-09 02:37:52 +08:00
harttle 4bdc169d0f dist 2016-11-09 02:00:04 +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 fd9fed154c dist 2016-11-07 00:04:07 +08:00
harttle c51a5c0626 update demo 2016-11-07 00:03:34 +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 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 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
Jun YangandGitHub baac31b037 Update README.md 2016-10-16 18:29:40 +08:00
harttle a20e8d2d36 modified: README.md 2016-10-16 18:10:18 +08:00
harttle 72ed4c5812 modified: package.json 2016-10-15 23:37:36 +08:00
harttle 0dcdadc971 enhancement: robust filters 2016-10-08 23:55:45 +08:00
harttle 8b4b89cf82 refactor: filepath resolving into getTemplate 2016-10-05 12:08:30 +08:00
harttle 77930e2d20 enhancement: decrease dist size 2016-10-04 22:31:28 +08:00
harttle 1e1b6e8cc3 feature: rendering options for express 2016-09-27 13:07:04 +08:00
harttle fe049b48e2 increase version 2016-09-27 13:02:04 +08:00
Jun YangandGitHub af55567990 Merge pull request #11 from ScottFreeCode/patch-1
Add strict* options to Express engine shortcut
2016-09-27 13:01:35 +08:00
harttle 52661c04b1 modified: README.md 2016-09-27 03:13:31 +08:00
harttle 5e16b552cb fix coveralls 2016-09-27 03:01:29 +08:00
harttle aca2843c12 update dependency info 2016-09-27 02:47:11 +08:00
harttle 514fc71095 fix travis CI coverage reports 2016-09-27 02:41:32 +08:00
harttle 16a66f2b18 feature: browser side support, close #6 2016-09-27 02:28:20 +08:00
harttle 937d213a2d feature: strict rendering, close #9 2016-09-26 23:25:08 +08:00
harttle be6c67a1ba feature: strict_variables, working on #9 2016-09-26 22:49:09 +08:00
harttle 38916ae864 increase version, close #3 2016-09-26 21:55:48 +08:00
harttle 110bbc3c59 update README 2016-09-26 21:54:39 +08:00
harttle 83a0a0547e add: demo 2016-09-26 21:52:23 +08:00
harttle ddc17a6b93 refactor: tests for tags 2016-09-26 21:52:06 +08:00
Jun YangandGitHub afca74b238 Merge pull request #10 from thardy/asyncSpike
Conversion to Async
2016-09-26 10:14:58 +08:00
harttle 698bbd75cf fix unless: null elseTemplates 2016-07-19 07:38:05 +08:00
harttle 2fe81af5a8 modified: README.md 2016-06-30 12:50:01 +08:00
harttle 32719935d1 modified: package.json 2016-06-30 12:43:56 +08:00
harttle 1acc88ebe0 modified: package.json 2016-06-30 12:33:24 +08:00
harttle 82a6a72013 scope get all 2016-06-26 13:16:34 +08:00
harttle a482b4abe5 render undefined to '' 2016-06-26 12:52:37 +08:00
harttle a0feabce5b update README 2016-06-25 13:10:17 +08:00
harttle 88b2dc3795 err.file for #renderFile() 2016-06-24 12:25:55 +08:00
harttle aebf9812cb express 2016-06-24 11:17:10 +08:00
harttle e6cd6e4d46 modified: README.md 2016-06-24 10:49:33 +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
harttle 21bde3cb6d updated readme 2016-06-23 18:58:57 +08:00
harttle 8053d7021f raw and comment 2016-06-20 01:10:43 +08:00
harttle 54bc206d36 enable cache: parse and render 2016-06-20 00:34:54 +08:00
harttle aa1df95714 Coverage 2016-06-19 11:16:36 +08:00
harttle 1bc6d9355a coverage 2016-06-19 00:46:29 +08:00
harttle 4595e2872e filters: all 2016-06-18 23:18:46 +08:00
harttle b478c798fd tag: tablerow 2016-06-17 14:59:30 +08:00
harttle 0b7da2abf7 fix existing tags
new tags: for,cycle
2016-06-17 08:39:23 +08:00
harttle 8b9e9f759a import parser to support nested tags 2016-06-17 03:38:03 +08:00
harttle a842284628 test scripts for filters and tags 2016-06-16 02:08:53 +08:00
harttle 2e65b5e2d1 global locale test for date filter 2016-06-16 01:25:44 +08:00
harttle d9b56904f8 remove dev-dep: chai-as-promised 2016-06-16 01:05:08 +08:00