156 Commits

Author SHA1 Message Date
Patrick Steele-Idem
ef1374097f Marko v3: Allow <else if(foo)> 2016-02-16 22:24:03 -07:00
Patrick Steele-Idem
7e9e408c2a Fixed typo in error message 2016-02-16 22:14:02 -07:00
Patrick Steele-Idem
0467643f53 Fixes #228 - Marko v3: while loop support 2016-02-16 22:13:43 -07:00
Patrick Steele-Idem
0c1babd588 Fixes #226 - Allow placeholders in tag name 2016-02-16 19:01:00 -07:00
Patrick Steele-Idem
a574a2be82 Marko v3: parse init/test/update parts of for loop 2016-02-12 17:18:51 -07:00
Patrick Steele-Idem
763b8b7c70 Fixes #225 - Marko v3: Migrate <cached-fragment> 2016-02-12 16:20:15 -07:00
Patrick Steele-Idem
e8e4ef332d Fixes #224 and Fixes #216 - Marko v3: marko-taglib.json --> marko.json and improved taglib discovery 2016-02-12 16:02:40 -07:00
Patrick Steele-Idem
70716e2209 Fixes #176 - Marko v3: Migrate async taglib 2016-02-11 15:00:58 -07:00
Patrick Steele-Idem
4339c8dfd1 Marko v3: Added "preserveWhitespace" as a load template/compiler option 2016-02-09 16:02:34 -07:00
Patrick Steele-Idem
9a43cc7663 Marko v3: Introduced <include-text('./foo.txt')/> 2016-02-08 23:43:04 -07:00
Patrick Steele-Idem
a3d76a3678 Fixes #178 - Marko v3: include tag 2016-02-08 23:29:50 -07:00
Patrick Steele-Idem
6d366ab1ee Marko v3: Node#wrap --> Node#wrapWith 2016-02-08 22:42:44 -07:00
Patrick Steele-Idem
f89f9c548e Marko v3: Improved for loop parsing 2016-02-05 11:51:07 -07:00
Patrick Steele-Idem
7d730049d9 Marko v3: Restored more of the tests from Marko v2 2016-02-04 20:52:00 -07:00
Patrick Steele-Idem
9abbf5d2ec Fixes #214 - Marko v3: <script marko-init> 2016-02-03 14:37:57 -07:00
Patrick Steele-Idem
a76fa41321 Fixed error handling code 2016-02-02 15:56:13 -07:00
Patrick Steele-Idem
9dbb77870f Fixes #198 - Marko v3: Replace <div attrs(myAttrs)> with <div ${myAttrs}> 2016-02-01 16:31:12 -07:00
Patrick Steele-Idem
241bcc7db6 Marko v3: Added support for <html-element> 2016-01-19 16:41:39 -07:00
Patrick Steele-Idem
b54c9da89c Marko v3: Moved over tests related to require (now template-init) 2016-01-19 16:29:59 -07:00
Patrick Steele-Idem
2096e47668 Marko v3: Added support for <html-comment> 2016-01-19 16:18:54 -07:00
Patrick Steele-Idem
426ec24069 Fixes #209 - Marko v3: Re-introduce support for the layout taglib 2016-01-19 10:52:11 -07:00
Patrick Steele-Idem
9515cebe07 Marko v3: Minor code cleanup for var-tag.js 2016-01-19 10:51:18 -07:00
Patrick Steele-Idem
7c3bc9bc50 Marko v3: Explicitly allow core directive attributes on all tags 2016-01-18 20:14:18 -07:00
Patrick Steele-Idem
84de017839 Fixes #207 - Marko v3: Re-introduce support for "body-function" in taglib 2016-01-18 14:22:20 -07:00
Patrick Steele-Idem
7f6e9f65fa Fixes #205 - Marko v3: Provide full control over whitespace 2016-01-15 16:55:22 -07:00
Patrick Steele-Idem
e218cf876c Fixes #204 - preserve whitespace for script, textarea and pre 2016-01-14 10:13:47 -07:00
Patrick Steele-Idem
5d123c2013 Marko v3: Re-introduced <unless> tag support 2016-01-11 11:17: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
fd32ce5a48 Removed unused import 2016-01-08 10:23:57 -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
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
6153b13959 Fixes #195 <template-init> added 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
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
28a851723a More compiler tests, docs and improvements 2015-12-11 15:48:35 -07:00
Patrick Steele-Idem
d621ef13df Various cleanup 2015-12-11 09:08:27 -07:00
Patrick Steele-Idem
c78076f877 Restored most of the looping functionality 2015-12-03 16:07:11 -07:00
Patrick Steele-Idem
ef95ce6055 Introduced CompileContext and other refactoring 2015-12-02 19:35:19 -07:00
Patrick Steele-Idem
66f9be0d4e Reintroduced attrs support 2015-12-01 09:36:44 -07:00
Patrick Steele-Idem
069b3e5ba9 Initial commit for marko v3 with htmljs-parser
Work-in-progress. Lots of failing tests.
2015-11-24 14:30:32 -07:00
Patrick Steele-Idem
d60289c50f Fixes #161 - Nested tags with no body content are not handled correctly 2015-11-10 10:21:02 -07:00
Patrick Steele-Idem
722a6339d6 Use shorter relative paths in error messages 2015-10-02 12:23:05 -06:00
Kristian Mandrup
51e4c5f3a1 fix unless and update docs 2015-09-15 18:38:38 +02:00
Kristian Mandrup
39d44a235e add UnlessNode 2015-09-15 07:59:01 +02:00
Kristian Mandrup
eb70abb2fe conditional unless added 2015-09-15 06:24:03 +02:00
Patrick Steele-Idem
fef06cab1f Fixes #137 - adds support for dynamic HTML tag names 2015-08-28 08:56:27 -06:00