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
|
d403308c21
|
Marko v3: Improved error message for invalid JS expressions
|
2016-01-10 17:52:14 -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
|
f45b1f364f
|
Add assertion to require callee for FunctionCall node
|
2016-01-10 17:22:49 -07:00 |
|
Patrick Steele-Idem
|
94aaab2d6c
|
Reintroduce renderBody for Marko v3
|
2016-01-08 14:13:36 -07:00 |
|
Patrick Steele-Idem
|
fd32ce5a48
|
Removed unused import
|
2016-01-08 10:23:57 -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
|
1c37a6f56c
|
Change how static code is wrapped in a Node
|
2015-12-31 15:08:37 -07:00 |
|
Patrick Steele-Idem
|
3ac2e0daca
|
New test for return statement
|
2015-12-31 15:08:23 -07:00 |
|
Patrick Steele-Idem
|
4780d8182b
|
Fixed formatting for an empty return
|
2015-12-31 13:32:46 -07:00 |
|
Patrick Steele-Idem
|
4e771acd00
|
Allow function declaration name to be an Identifier node
|
2015-12-31 13:32:32 -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 |
|
Patrick Steele-Idem
|
257dd1f5c4
|
Merge pull request #190 from BryceEWatson/assign-tag
Adding assign tag
|
2015-12-29 19:41:11 -07:00 |
|
Bryce Watson
|
dd3a86c564
|
adding assign tag
|
2015-12-29 18:03:33 -08:00 |
|
Patrick Steele-Idem
|
2a34d940e4
|
Expose method for creating an AST node from an HTML element
|
2015-12-29 11:01:48 -07:00 |
|
Patrick Steele-Idem
|
fb6b436063
|
generator -> codegen
|
2015-12-28 21:55:29 -07:00 |
|
Patrick Steele-Idem
|
21ff7769e5
|
handleText -> handleCharacters
|
2015-12-28 14:44:34 -07:00 |
|
Patrick Steele-Idem
|
6e1d1cb505
|
Fixes #194 Allow forEach target to be an iterator function
Also faster
|
2015-12-28 14:44:08 -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
|
a366ef6b0a
|
Fixed codegen for SelfInvokingFunction
|
2015-12-23 17:23:09 -07:00 |
|
Patrick Steele-Idem
|
9b602800a3
|
Handle statements better for returned nodes
|
2015-12-23 17:11:40 -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 |
|