187 Commits

Author SHA1 Message Date
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
Patrick Steele-Idem
a1cd4384da Removed escapeXml out of CommentNode constructor params 2015-06-05 14:46:09 -06:00
Patrick Steele-Idem
209a4de099 Merge branch 'perf' of github.com:patrick-steele-idem/marko
Conflicts:
	package.json
2015-06-05 11:27:25 -06:00
Patrick Steele-Idem
91cc5e35fb Fixes #27 - Preserve IE conditional comments 2015-06-05 11:08:42 -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
9c0290b3c9 Revert 'use strict' for compiled templates 2015-05-27 11:47:54 -06:00
Patrick Steele-Idem
c41b8d99b8 create fs read options once 2015-05-27 11:07:21 -06:00
Patrick Steele-Idem
f54da679ba 'use strict' for compiled templates 2015-05-27 11:05:24 -06:00
Patrick Steele-Idem
7c00085380 #78 Change compiled templates to export a loaded Template instance 2015-05-26 16:57:39 -06:00