270 Commits

Author SHA1 Message Date
Patrick Steele-Idem
8d68296631 Test cleanup 2016-01-14 10:12:56 -07:00
Patrick Steele-Idem
1333198195 Marko v3: Moved over some pending tests for the compiler 2016-01-13 12:39:55 -07:00
Patrick Steele-Idem
294c6335be Marko v3: Better handling of escaping for custom tags input 2016-01-11 13:15:26 -07:00
Patrick Steele-Idem
5d123c2013 Marko v3: Re-introduced <unless> tag support 2016-01-11 11:17:28 -07:00
Patrick Steele-Idem
b3f0977c2e Marko v3: Moved over test for <var> and <assign> 2016-01-11 10:55:51 -07:00
Patrick Steele-Idem
598199c08d Marko v3: HTML entities in body test 2016-01-11 10:53:17 -07:00
Patrick Steele-Idem
3850a0c276 Fixed test 2016-01-11 10:39:28 -07:00
Patrick Steele-Idem
fd6da21e48 Marko v3: Don't remove core directive attributes if they don't have an arg 2016-01-11 10:35:34 -07:00
Patrick Steele-Idem
5b1e3111c6 Marko v3: Added test for @if and @for on same tag 2016-01-11 10:34:49 -07:00
Patrick Steele-Idem
6056703a78 Marko v3: Moved over test for expressions in body placeholders 2016-01-11 10:26:32 -07:00
Patrick Steele-Idem
73f939cf03 Marko v3: Added for dynamic attribute that resolves to true 2016-01-11 10:25:27 -07:00
Patrick Steele-Idem
59f361dc2a Marko v3: Renamed "test/fixtures/render-async" to "test/fixtures/async-render" 2016-01-11 10:25:03 -07:00
Patrick Steele-Idem
0460830088 Marko v3: Moved over test for scanned custom tags 2016-01-11 10:19:20 -07:00
Patrick Steele-Idem
1ed8881b4d Marko v3: Don't render attribute value if it is an empty string 2016-01-11 09:59:49 -07:00
Patrick Steele-Idem
0e9d9652a3 Marko v3: Moved over test for global data 2016-01-11 09:55:43 -07:00
Patrick Steele-Idem
748f8ad881 Removed unneeded pending test 2016-01-11 09:54:30 -07:00
Patrick Steele-Idem
ab59abaee9 Fixes #201 - Marko v3: Don't allow "undefined" and "null" in output for placeholders 2016-01-11 09:43:46 -07:00
Patrick Steele-Idem
9cadda400d Marko v3: Added tests for JS simple conditionals 2016-01-10 18:02:50 -07:00
Patrick Steele-Idem
08b63b535a Marko v3: Added test case for conditional attribute 2016-01-10 17:51:57 -07:00
Patrick Steele-Idem
15f2f18a28 Fixes #200 - Marko v3: Allow custom tag to be mapped to a template 2016-01-10 17:26:10 -07:00
Patrick Steele-Idem
94aaab2d6c Reintroduce renderBody for Marko v3 2016-01-08 14:13:36 -07:00
Patrick Steele-Idem
c014b81259 Fixes #199 - Better handling of open-only and self-closed tags in Marko v3 2016-01-08 10:23:44 -07:00
Patrick Steele-Idem
1bcdc42b1f Fixes #179 - invoke tag support in Marko v3 2016-01-07 16:38:57 -07:00
Patrick Steele-Idem
8c96302550 Fixes #197 - Better attribute code generation
Use attr helper and handle attribute escaping
Also improved AST and added walking capability
2016-01-07 16:05:26 -07:00
Patrick Steele-Idem
c51362e793 Fixes #170 - macro support in Marko v3 2016-01-04 17:30:11 -07:00
Patrick Steele-Idem
70d47e6d5b Fixes #177 - body-only-if support in Marko v3 2016-01-04 11:44:04 -07:00
Patrick Steele-Idem
39c5fa1e0a Added parseExpression test for literals 2016-01-04 10:44:42 -07:00
Patrick Steele-Idem
3ac2e0daca New test for return statement 2015-12-31 15:08:23 -07:00
Patrick Steele-Idem
13be833b15 Docs and test cases for builder.code(value) 2015-12-30 20:19:08 -07:00
Patrick Steele-Idem
6153b13959 Fixes #195 <template-init> added 2015-12-30 19:59:10 -07:00
Patrick Steele-Idem
4557d307b0 Improvements to adjustIndent 2015-12-30 19:59:10 -07:00
Patrick Steele-Idem
c786be744b .gitignore actual.txt 2015-12-30 19:59:10 -07:00
Patrick Steele-Idem
73f383e96e Added compiler/util/adjustIndent.js 2015-12-30 19:59:10 -07:00
Patrick Steele-Idem
8263c6aad4 Don't escape for $!{} 2015-12-30 19:59:10 -07:00
Bryce Watson
dd3a86c564 adding assign tag 2015-12-29 18:03:33 -08:00
Patrick Steele-Idem
fb6b436063 generator -> codegen 2015-12-28 21:55:29 -07:00
Patrick Steele-Idem
81ca6753d4 If/ElseIf/Else cleanup 2015-12-28 14:42:37 -07:00
Patrick Steele-Idem
705f22c29f Clone the array before searching for siblings 2015-12-28 14:41:36 -07:00
Patrick Steele-Idem
5fb7089624 marko v3: custom iterator support 2015-12-28 11:45:40 -07:00
Patrick Steele-Idem
6752065e5a Removed autotest-pending/looping-range (completed) 2015-12-28 10:17:56 -07:00
Patrick Steele-Idem
d7800711b5 Fixes #184 - Looping over object properties 2015-12-28 10:17:22 -07:00
Patrick Steele-Idem
1bf6838c2c Lot's of improvements
All string expressions are now parsed using esprima when using the builder API
2015-12-23 16:47:42 -07:00
Patrick Steele-Idem
b6d6f4fdad Improved tests for the var tag 2015-12-22 10:54:25 -07:00
Bryce Watson
9d5a7429c5 Updating Vars to allow scoped anonymous functions 2015-12-21 18:55:28 -08:00
Patrick Steele-Idem
90fb80b71f Fixes #185 - Allow the <var> tag to have body content 2015-12-20 16:02:59 -07:00
Patrick Steele-Idem
53700d4e94 More tests and compiler API docs 2015-12-16 21:37:19 -07:00
Patrick Steele-Idem
6465b81d2d More builder tests and improved compiler API docs (round 2) 2015-12-15 14:56:51 -07:00
Patrick Steele-Idem
1533325034 More builder tests and improved compiler API docs 2015-12-15 11:19:01 -07:00
Patrick Steele-Idem
28a851723a More compiler tests, docs and improvements 2015-12-11 15:48:35 -07:00
Patrick Steele-Idem
eed53e84ec Delete the test/node_modules dir 2015-12-11 09:52:48 -07:00