26 Commits

Author SHA1 Message Date
Patrick Steele-Idem
489321cf54 Fixes #549 - Migrate from "data" to "input" 2017-01-26 17:18:12 -07:00
Michael Rawlings
8a16714e1d use js object for meta and lazily build ast in template root node. removes need for eval in compiled template dependencies getter 2017-01-08 09:55:44 -08:00
Patrick Steele-Idem
20cf6d364e More code size reductions 2017-01-02 15:53:38 -07:00
Michael Rawlings
dada89397a more concise template export 2016-12-13 11:57:50 -08:00
Patrick Steele-Idem
5b9977913e Fixes #455 - Simplify compiled code for UI components 2016-12-13 11:34:26 -07:00
Patrick Steele-Idem
36ef493526 Improved compiled output by setting module.exports at the top 2016-11-08 15:14:55 -07:00
Michael Rawlings
6b4ff673e3 fix conflicts and such 2016-10-26 23:22:53 -07:00
Michael Rawlings
796b60c3ed add support for dependency tracking through metadata 2016-10-26 23:13:16 -07:00
Patrick Steele-Idem
a05f15ce5d Cleaner split of the html and vdom runtimes 2016-10-24 12:36:09 -06:00
Michael Rawlings
af990a04b3 emit events for before/after genrating code for a node type. Allow TemplateRoot exports to be modified. 2016-10-20 16:17:21 -07:00
Michael Rawlings
d0e27d6dfd lazily run the function for a template on first render. simplifies the generated template code while still supporting circular templates 2016-10-20 13:49:15 -07:00
Patrick Steele-Idem
ee815fc49b Runtime now supports both vdom and html output
All tests are passing
2016-10-11 17:28:09 -06:00
Patrick Steele-Idem
0d6efeaf6d require('marko/vdom') for vdom templates 2016-09-30 09:03:36 -06:00
Patrick Steele-Idem
cbd0b37ef2 Introduced concept of an optimizer 2016-09-19 20:42:06 -06:00
Patrick Steele-Idem
e76c7fa6d6 vdom support 2016-09-19 16:50:44 -06:00
Patrick Steele-Idem
c386da875e Fixes #349 - Inline Marko template compilation support
Also changed how JavaScript code is generated
2016-08-19 10:50:28 -06:00
Patrick Steele-Idem
05c6c8c066 Improved whitespace removal for text nodes directly below the root 2016-04-06 17:46:31 -06:00
Patrick Steele-Idem
19f4d41a31 Fixes #240 - Always trim start and end of template (even if preserveWhitespace is true) 2016-04-06 16:12:49 -06:00
Patrick Steele-Idem
795a1d495f Marko v3: Added support for static vars and local variables 2016-02-04 17:09:11 -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
1c37a6f56c Change how static code is wrapped in a Node 2015-12-31 15:08:37 -07:00
Patrick Steele-Idem
6153b13959 Fixes #195 <template-init> added 2015-12-30 19:59:10 -07:00
Patrick Steele-Idem
fb6b436063 generator -> codegen 2015-12-28 21:55:29 -07:00
Patrick Steele-Idem
ef95ce6055 Introduced CompileContext and other refactoring 2015-12-02 19:35:19 -07:00
Patrick Steele-Idem
ad2f43c06e Reintroduced basic support for custom tags 2015-12-01 13:56:31 -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