120 Commits

Author SHA1 Message Date
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
Patrick Steele-Idem
bfa47f294a Fixes #135 Allow "attrs" attribute on custom tags 2015-08-26 09:41:46 -06:00
Patrick Steele-Idem
43f2662606 Fixed licensing 2015-08-18 14:28:30 -06:00
Patrick Steele-Idem
8616a9731f Cleanup and code comments 2015-08-18 14:01:42 -06:00
Patrick Steele-Idem
c03e0f7d76 Use browser.json files 2015-08-17 16:50:49 -06:00
Patrick Steele-Idem
b475f15dc3 Allow *.html extension for layouts
Fix for https://github.com/raptorjs/marko-layout/issues/2
2015-07-22 10:04:40 -06:00
Patrick Steele-Idem
44fcba5651 Allow template-data to be combined with other attrs on the <include> tag 2015-07-06 11:04:38 -06:00
Patrick Steele-Idem
6de11ddc9f Fixes #96 - Allow dynamic relative paths 2015-07-06 10:08:21 -06:00
Patrick Steele-Idem
d04c994271 Fixes #73 - Prevent same taglib from being loaded multiple times 2015-06-18 14:19:11 -06:00
Patrick Steele-Idem
0e34a7a570 Fixes #84 - Allow XML escaping for tag to be disabled as part of tag def 2015-06-04 16:06:27 -06:00
Patrick Steele-Idem
a231f79328 Fixes #75 Always assign the tag property to custom tag nodes 2015-05-19 10:32:34 -06:00
Patrick Steele-Idem
0f6a615efa Improved error message when a nested tag is not nested in its parent tag 2015-04-24 08:44:29 -06:00
Patrick Steele-Idem
183c3c62c4 Fixes #61 Simplify parent/child relationships 2015-04-23 18:43:41 -06:00
Patrick Steele-Idem
0bed9b258a Fixes #65 - Generated variable name is an empty string in some cases 2015-04-21 11:38:31 -06:00
Patrick Steele-Idem
d4d3842194 Added more code comments for #53 2015-04-10 11:15:42 -06:00
Patrick Steele-Idem
299a8f94b3 Fixes #53 Merge c-input with attr props 2015-04-10 09:47:43 -06:00
Patrick Steele-Idem
be1072a146 Fixes #60 Don't replace special operators when for body functions 2015-04-08 12:19:30 -06:00
Patrick Steele-Idem
2252b54a2b Code formatting: add spaces in var code 2015-04-07 11:50:49 -06:00
Patrick Steele-Idem
b7fc101663 Fixes #51 Allow body content to be mapped to a String input property 2015-03-20 13:01:04 -06:00
Sean Gates
066b06936a Remove varNameRegExp since it's never used; 2015-03-18 18:06:37 -07:00
Sean Gates
0d7ff3ea4e Allowing complex var names;
Removing the else if block in order to allow complex var names on the left hand of the assignment.
2015-03-18 16:46:33 -07:00
Patrick Steele-Idem
be76bda604 Only add body function if there are children 2015-02-25 09:45:22 -07:00
Patrick Steele-Idem
e1e9287c35 Fixes #36 - Don't use invokeBody in cache taglib 2015-02-23 17:52:23 -07:00
Patrick Steele-Idem
a936c93b4c Fixes #36 - Deprecate invokeBody for <include> 2015-02-23 17:44:42 -07:00
Patrick Steele-Idem
cb3648328d Fixes #36 Don't use invokeBody for HTML comments tag 2015-02-23 17:11:20 -07:00
Patrick Steele-Idem
79aa92254f Fixes #36 Deprecated invokeBody in favor of renderBody 2015-02-23 16:35:30 -07:00
Patrick Steele-Idem
6a2f603ea9 Fixes #37 Fixed duplicate property 2015-02-23 16:30:12 -07:00
Patrick Steele-Idem
288562d205 Fixes #34 2015-02-16 13:42:18 -07:00
Patrick Steele-Idem
dba43a8733 Create local variable for helpers 2015-02-16 13:23:03 -07:00
Patrick Steele-Idem
4d9cdfa706 Fixed #33 2015-02-16 13:03:53 -07:00
Patrick Steele-Idem
2ac6d56a8e Fixed support for using native for loops 2015-02-04 17:26:18 -07:00
Patrick Steele-Idem
f620173b79 Cleaned up the core-tag-transformer to avoid duplicate logic for handling attributes 2015-02-04 11:53:43 -07:00
Patrick Steele-Idem
7b0b137424 Fixed doctype support 2015-02-04 11:53:43 -07:00
Patrick Steele-Idem
9f668f896b Removed unused thisObj arg 2015-02-04 11:53:42 -07:00
Patrick Steele-Idem
5f994f8f96 Fixed #13 remove-dashes now works for dynamic attributes even if target-property is null 2015-01-01 13:00:46 -07:00
Phil Gates-Idem
aa67c7bc17 Fixes #9 assign tag should allow "." (period) in the variable name 2014-12-18 19:30:42 -05:00
Patrick Steele-Idem
ddc6cd5de8 Added support for "body-only-if" 2014-12-10 21:22:51 -07:00