195 Commits

Author SHA1 Message Date
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
b0df950242 Make flushBufferedWrites() a private method 2015-12-16 21:36:58 -07:00
Patrick Steele-Idem
2c8a24b50f Improve and simplify how slots are handled 2015-12-16 21:36:36 -07:00
Patrick Steele-Idem
841a21e4e6 Allow onDone for builder.slot() 2015-12-16 21:36:11 -07:00
Patrick Steele-Idem
86f7f406e4 Allow an onDone listener to be associated with a slot 2015-12-16 21:35:52 -07:00
Patrick Steele-Idem
a8f6737755 Allow generateCode function to be provided for a node 2015-12-15 14:56:40 -07:00
Patrick Steele-Idem
43211edb09 Allow var declaration element to be just a string or ID node 2015-12-15 14:56:29 -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
149c64395e Minor updates 2015-12-11 15:54:03 -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
eb77d3265d Allow transformers to work on any node that extends HtmlElement or TextOutput 2015-12-08 16:31:51 -07:00
Patrick Steele-Idem
52f719323c Pass the element node to the factory, instead of the element factory 2015-12-08 16:25:10 -07:00
Patrick Steele-Idem
f68e7f245e jshint fixes 2015-12-07 14:05:31 -07:00
Patrick Steele-Idem
76f1a5998a Merge branch 'master' of github.com:marko-js/marko into htmljs-parser 2015-12-07 14:03:23 -07:00
Patrick Steele-Idem
4b38989892 Restored range looping functionality 2015-12-07 13:21:02 -07:00
Patrick Steele-Idem
f98a7dfef9 Fixes #167 - Nested tags only work one level deep 2015-12-07 11:44:08 -07:00
Patrick Steele-Idem
a9fd496589 More cleanup. Made all failing tests pending 2015-12-03 16:29:12 -07:00
Patrick Steele-Idem
c78076f877 Restored most of the looping functionality 2015-12-03 16:07:11 -07:00
Patrick Steele-Idem
6ecb5b32dd Record error for invalid attributes 2015-12-02 23:01:23 -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
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
8095f1e892 jshint fixes 2015-11-23 12:51:03 -07:00
Patrick Steele-Idem
1878dd0109 Fixes #140 - Also de-dupe cached taglibs in finder 2015-10-26 15:18:28 -06:00
Patrick Steele-Idem
722a6339d6 Use shorter relative paths in error messages 2015-10-02 12:23:05 -06:00
Patrick Steele-Idem
370ac4b3ab Fixes #150 - Provide option to prevent writing compiled templates to disk 2015-09-24 10:32:54 -06:00
Patrick Steele-Idem
91efc184d1 Fixes #140 - De-dupe taglibs by module name 2015-09-23 15:34:03 -06: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
9727fa2bd7 Fix to make compiler work in the browser 2015-08-27 17:24:21 -06:00
Patrick Steele-Idem
133d44152e Improved handling of imports 2015-08-25 11:23:01 -06:00
Patrick Steele-Idem
13ad6eb56a Better handling of loading taglibs with circular dependencies 2015-08-25 11:21:28 -06:00
Patrick Steele-Idem
608d9092bb Handle circular imports 2015-08-25 10:01:47 -06:00
Patrick Steele-Idem
2901636bf5 Fixes #131 - Recursively handle taglib imports 2015-08-25 09:35:30 -06:00
Patrick Steele-Idem
80d4de50a6 Code comments 2015-08-18 15:00:08 -06:00
Patrick Steele-Idem
43f2662606 Fixed licensing 2015-08-18 14:28:30 -06:00
Patrick Steele-Idem
1066d92b5d Fixes #127 - Make sure all possible input files are accounted for 2015-08-18 14:02:55 -06:00
Patrick Steele-Idem
8616a9731f Cleanup and code comments 2015-08-18 14:01:42 -06:00
Patrick Steele-Idem
2c49c2779c Fixes #122 Typo in hasAttributes 2015-08-18 10:52:43 -06:00
Patrick Steele-Idem
c2305812e3 Code comments for TemplateBuilder.js 2015-08-18 10:48:00 -06:00
Patrick Steele-Idem
c03e0f7d76 Use browser.json files 2015-08-17 16:50:49 -06:00
Patrick Steele-Idem
dd68358707 Fixes #122 Don't allow invalid attributes when using shorthand 2015-08-17 16:50:27 -06:00
Patrick Steele-Idem
15eee378df Fixes #118 Better error when parsing JSON file for tag 2015-08-12 11:08:22 -06:00
Patrick Steele-Idem
79fbbeb055 Fixes #109 - Allow compiler.createNode('div') 2015-07-28 10:58:54 -07:00
Patrick Steele-Idem
5362cfc933 Fixes #108 - Improve how the MARKO_CLEAN env variable is handled 2015-07-28 10:24:53 -07:00
Patrick Steele-Idem
12204aba75 Code formatting improvement 2015-07-06 10:06:26 -06:00
Patrick Steele-Idem
d04c994271 Fixes #73 - Prevent same taglib from being loaded multiple times 2015-06-18 14:19:11 -06:00
ramahadevan
3e456c76db Merge pull request #87 from patrick-steele-idem/issue-27
Fixes #27 - Preserve IE conditional comments
2015-06-05 13:51:43 -07:00