389 Commits

Author SHA1 Message Date
Patrick Steele-Idem
1f852a52df Fixes #382 - Local variable for tag should have prefix or suffix to avoid conflict 2016-10-17 13:12:52 -06:00
Patrick Steele-Idem
103c1473b0 Silently ignore errors when parsing tag def code inlined in JS 2016-10-06 11:24:27 -06:00
Patrick Steele-Idem
45735ce600 Fixes #370 - HTML characters in separator string should not be escaped 2016-09-29 05:29:23 -06:00
Patrick Steele-Idem
40786f500e Fixes #355 - status-var/separator not handled when looping over properties 2016-08-11 17:32:00 -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
1d480e82ca Fixes #353 - body-only-if does not work with custom tags (only HTML tags) 2016-08-11 16:07:53 -06:00
Michael Rawlings
6cd33dbf65 use the raptor-util behavior for both literals and dynamic values 2016-08-04 16:36:36 -07:00
Patrick Steele-Idem
7ff286d5d5 Fixes #345 - Whitespace preservation should apply to all nested nodes 2016-08-03 12:13:55 -06:00
Michael Rawlings
2cdc18afc5 fixed #340 2016-07-20 14:29:10 -07:00
Michael Rawlings
8099959355 Add autodiscover of components/ directory. fixes #329 2016-07-19 16:27:49 -06:00
Patrick Steele-Idem
b85b59d594 Fixes #339 - Tag transformers are not being applied to tags with a dynamic tag name 2016-07-18 15:48:38 -06:00
Patrick Steele-Idem
d24757953b Merge pull request #333 from bkuri/patch-2
change value of literalUndefined to undefined
2016-07-18 09:26:07 -06:00
Bernardo Kuri
3ba451a20c change value of literalUndefined to undefined 2016-07-16 22:16:30 -05:00
Bernardo Kuri
6f6479dc4c change value of literalFalse to false 2016-07-16 22:02:43 -05:00
Patrick Steele-Idem
b7798f8d09 Fixes #328 - Improve error reporting when taglib/tag definition fails to load 2016-07-13 09:22:01 -06:00
Patrick Steele-Idem
641f62edd9 Fixes #326 - Never escape within body of the <script> tag 2016-07-10 11:38:35 -06:00
Patrick Steele-Idem
4f79a8042e Fixes #322 - Autoescaping doesen't work in <script> tag context 2016-07-01 10:54:11 -06:00
Patrick Steele-Idem
cd797322ad Fixes #318 - Make configuration a singleton object shared by all marko instances 2016-06-30 14:55:04 -06:00
Patrick Steele-Idem
c26614f078 Removed extra whitespace 2016-06-30 14:46:08 -06:00
Ian Holt
c76ffa2382 Adding detection for process.env.MARKO_HOT_RELOAD with assumeUpToDate configuration variable. If files are hot reloaded, we should never assume that they are up to date.
Fixes issue #319
2016-06-27 12:00:26 -07:00
Michael Rawlings
902390a6e2 fix bug with transforms being called on detached nodes 2016-06-24 14:13:19 -07: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
b35410402b Fixes #316 - Autocomplete for tags is not updated when tag files updated despite clearing cache 2016-06-24 08:16:10 -07:00
Patrick Steele-Idem
8e6c40f84d Updated tests for #309 - Excluding Directory or Package 2016-06-14 06:09:16 -07:00
Gleb Ryshkov
f8c8b5f331 Added functionality to exclude specific directory or package from marko.json finder; Updated tests; 2016-06-14 12:21:54 +01:00
Michael Rawlings
01f8a24dc0 fixes #307 2016-06-13 17:02:38 -07:00
Patrick Steele-Idem
8848266c70 Added support for an "enum" attribute value 2016-06-09 17:54:26 -06:00
Patrick Steele-Idem
e100c5e662 Default attribute type to null 2016-06-07 10:38:44 -06:00
Patrick Steele-Idem
0fe4dd1175 Fixes #304 - async-fragment-tag-transformer.js being loaded by PhantomJS 2016-06-07 09:01:15 -06:00
Patrick Steele-Idem
5f583a8862 Added autocomplete information to tags for tooling purposes 2016-06-06 12:13:54 -06: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
06c4bf72dc Keep both stack traces when there is a error during code generation 2016-05-27 16:12:52 -06:00
Michael Rawlings
8d9466be5a add additional context to errors thrown from the code generator functions of nodes 2016-05-26 22:06:15 -07:00
Patrick Steele-Idem
6eb6350309 Provide helper method to get a list of tags sorted 2016-05-09 15:35:45 -06:00
Patrick Steele-Idem
33a6aaff98 Fixes #288 - Provide API for discovering custom tags and attributes for autocomplete/tooling purposes 2016-05-05 22:39:30 -07:00
Austin Rausch
f75043178f jsonminify to strip-json-comments 2016-05-03 21:10:18 -04:00
Patrick Steele-Idem
30150ff10d Fixes #274 - marko-compiler-options tag is not properly ended when using raw parsing (for prettyprint 2016-04-25 16:04:37 -06:00
Patrick Steele-Idem
d131e7fbe1 Fixes #268 - this.write is not a function for empty ArrayExpression 2016-04-19 13:46:21 -06:00
Patrick Steele-Idem
640a5a05ce Fixes #262 - node-require module removes .marko extension from filenames in compiled code 2016-04-18 11:32:33 -06:00
Patrick Steele-Idem
54662e53dc Fixed error reporting when using parseRaw() 2016-04-12 11:58:35 -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
a41559b2a2 raptor-modules will be deprecated. Using alternatives 2016-04-06 16:21:28 -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
bf471f39dd Fixes #254 - Allow preserve whitespace to be enabled at the global level 2016-04-06 16:11:42 -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
Patrick Steele-Idem
075829e50d Fixes #256 - Convert attrs to title case if no attributes are declared for a custom tag 2016-03-29 14:27:42 -06:00
Patrick Steele-Idem
43917c150d Store tagDef with HtmlElement node with raw parsing 2016-03-16 16:43:27 -06:00
Patrick Steele-Idem
d06c2d57c3 Support for the MARKO_CLEAN environment variable 2016-03-16 15:44:10 -06:00
sraveesh
a16af0bbb3 better error reporting during compilation of template 2016-03-11 02:18:26 -08:00
Patrick Steele-Idem
bd51b39ce0 Added support for parsing a template to get the "raw" AST (no resolving custom tags, custom attributes, placeholders, etc.) 2016-03-04 10:45:38 -07:00