33 Commits

Author SHA1 Message Date
Patrick Steele-Idem
29d7482c90 Fixes #508 - Bugs in the static sub-tree optimization for VDOM compilation 2017-01-05 11:05:44 -07:00
Patrick Steele-Idem
59fee06892 MIT license 2017-01-03 15:56:58 -07:00
Patrick Steele-Idem
8ed3977a5a Improved deprecation messages 2016-12-14 13:54:07 -07:00
Charlie Duong
fc82ef0cf0 Deprecated w-on* attributes (#434)
Added support for on*() attributes.
2016-11-16 10:53:51 -08:00
Patrick Steele-Idem
0e9fe17735 Fixes #432 (safeHTML), also initial work for #401 (bind additional arguments) 2016-11-14 18:43:00 -07:00
Patrick Steele-Idem
da52209e5a Use flags provided with RegExp instead of defaulting to "gi" 2016-11-10 07:59:46 -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
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
73b9268e0c Fixes #354 - regular expressions used in attribute values are not being handled correctly 2016-08-11 16:33:20 -06:00
Patrick Steele-Idem
8d34d6b9b3 Avoid using a JavaScript reserved/special word as a tag name var 2016-06-24 09:32:40 -07:00
Patrick Steele-Idem
eb24417fb6 Fixes #303 - addStaticVar is not generating unique variable names correctly 2016-06-03 13:55:37 -06:00
Patrick Steele-Idem
a41559b2a2 raptor-modules will be deprecated. Using alternatives 2016-04-06 16:21:28 -06:00
Patrick Steele-Idem
c21f8aabbc Rethrow exception inside parseJavaScript if it doesn't look like an Esprima error object 2016-03-31 14:30:57 -06:00
sraveesh
a16af0bbb3 better error reporting during compilation of template 2016-03-11 02:18:26 -08:00
Patrick Steele-Idem
7c12f2b9b9 Fixes #237 - handling reserved javascript keywords 2016-02-29 10:44:49 -07:00
Patrick Steele-Idem
e59e50b790 Marko v3: Provide both parseExpression and parseStatement 2016-02-12 17:14:13 -07:00
Patrick Steele-Idem
3eb9084a2c Marko v3: Better handling of attribute placeholders 2016-02-09 11:41:05 -07:00
Patrick Steele-Idem
4c6d4d0661 Marko v3: Do replacement on exit so that all nodes are walked 2016-02-02 15:56:35 -07:00
Patrick Steele-Idem
42b2a349fd Marko v3: Don't put quotes around property name if not necessary 2016-01-19 11:04:52 -07:00
Patrick Steele-Idem
14a448ae03 Marko v3: Changes to avoid problems with cyclic module dependencies 2016-01-19 10:49:35 -07:00
Patrick Steele-Idem
294c6335be Marko v3: Better handling of escaping for custom tags input 2016-01-11 13:15:26 -07:00
Patrick Steele-Idem
d403308c21 Marko v3: Improved error message for invalid JS expressions 2016-01-10 17:52:14 -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
c51362e793 Fixes #170 - macro support in Marko v3 2016-01-04 17:30:11 -07:00
Patrick Steele-Idem
4557d307b0 Improvements to adjustIndent 2015-12-30 19:59:10 -07:00
Patrick Steele-Idem
73f383e96e Added compiler/util/adjustIndent.js 2015-12-30 19:59:10 -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
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
ad2f43c06e Reintroduced basic support for custom tags 2015-12-01 13:56:31 -07:00
Patrick Steele-Idem
43f2662606 Fixed licensing 2015-08-18 14:28:30 -06:00
Patrick Steele-Idem
294cd24bd3 Changes to make the compiler work on the client-side when using a module bundler 2014-10-22 11:11:54 -06:00