193 Commits

Author SHA1 Message Date
Patrick Steele-Idem
da4c341c78 Introducing the <include-html> tag 2016-09-26 13:24:08 -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
1d480e82ca Fixes #353 - body-only-if does not work with custom tags (only HTML tags) 2016-08-11 16:07:53 -06:00
Patrick Steele-Idem
6807033bfe Fixes #231 - Allow <assign count++> 2016-08-03 15:48:27 -06:00
Patrick Steele-Idem
e3aaf5991b Fixes #342 - emit await:finish with client reorder and sync completion 2016-07-20 16:10:42 -06:00
Michael Rawlings
902390a6e2 fix bug with transforms being called on detached nodes 2016-06-24 14:13:19 -07:00
Patrick Steele-Idem
702bfb0a6e "var" and "data-provider" should not show up in autocomplete suggestions (make them private) 2016-06-24 09:49:28 -07:00
Patrick Steele-Idem
61255823f9 Merge branch 'await-tag' of https://github.com/mlrawlings/marko 2016-06-24 09:03:18 -07:00
Patrick Steele-Idem
db0e6bcfe2 Fixed import path for deprecateHyphensPath 2016-06-23 13:07:31 -07:00
Patrick Steele-Idem
6b26f7501d Fixes #314 - Remove hyphens from include props 2016-06-23 13:01:30 -07:00
Michael Rawlings
ef294526d1 don't use split, use a regex match 2016-06-20 17:29:40 -07:00
Michael Rawlings
4c9ceb0aa8 remove and rename references to <async-fragment> in the code (except deprecated events, tests, and transforms) 2016-06-18 12:49:31 -07:00
Michael Rawlings
09111f20c7 remove unnecessary code 2016-06-18 00:21:05 -07:00
Michael Rawlings
6725683b7d deprecate <async-fragment> replace with <await> 2016-06-17 23:56:57 -07:00
Patrick Steele-Idem
a3be3c9985 Merge branch 'master' of github.com:marko-js/marko 2016-06-09 09:33:52 -06:00
Patrick Steele-Idem
f22b8b37a3 Merge pull request #305 from mlrawlings/asyncfragment-info
Asyncfragment info
2016-06-09 09:33:25 -06:00
Patrick Steele-Idem
3fc70f83fd Fixed snippet for layout-use 2016-06-09 09:23:15 -06:00
Michael Rawlings
a115251977 add additional event info (finished/timedout) to the data emitted from <async-fragment> tags. Ensure that renderBody() is not called again if the fragment has already finished (timed out). 2016-06-08 17:51:29 -07:00
Patrick Steele-Idem
3689b51018 Updated autocomplete information 2016-06-08 12:03:01 -06:00
Patrick Steele-Idem
4f36c4d501 Updated type information for core attributes 2016-06-07 10:38:56 -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
Michael Rawlings
6aef4d100f <macro> tag now requires a name as its first attribute, which may or may not be an argument attribute 2016-06-02 16:04:46 -07:00
Patrick Steele-Idem
81bf79b9f3 Additional tweaks for #298 - Always emit correct events for async fragments 2016-05-26 15:21:59 -06:00
Patrick Steele-Idem
d0ff86be64 Fixes #298 - Always emit correct events for async fragments 2016-05-26 13:23:52 -06:00
Prakasam Kannan
68405ae03f Emit asyncFragmentBegin always before invoking data provider 2016-05-23 17:04:43 -07:00
Prakasam Kannan
78be7ddbe1 Emit async frament name on asyncFragmentFinish event 2016-05-09 14:19:42 -07:00
Michael Rawlings
977bd09b8c Fixes #284 - Remove Duplicate, Outdated Docs 2016-05-05 11:17:45 -07: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
76ae730593 Fixes #257 - Placeholders don't render for out-of-order async fragments 2016-03-30 10:27:32 -06:00
Patrick Steele-Idem
0a745336e6 Use <noscript> for out-of-order async fragment placeholders
Browsers don't like <span> placeholders in the <head> section and that introduces some quirks
2016-03-24 16:06:25 -06:00
Patrick Steele-Idem
b2728fda40 Further improvements to error messaging for if/else-if/unless/etc. 2016-03-11 09:35:20 -08:00
Patrick Steele-Idem
186e5fca03 Changes to allow marko v3 compiler to work in the browser 2016-03-02 17:03:30 -07:00
Patrick Steele-Idem
7c12f2b9b9 Fixes #237 - handling reserved javascript keywords 2016-02-29 10:44:49 -07:00
Patrick Steele-Idem
97c9a78d87 Fixed error handling for "status-var" option 2016-02-22 16:35:24 -07:00
Patrick Steele-Idem
f3886a77cf Marko v3: Allow status-var to be quoted string or identifier 2016-02-22 15:23:58 -07:00
Patrick Steele-Idem
7890ec74ec Marko v3: Allow macro with no arguments 2016-02-22 15:22:59 -07:00
Patrick Steele-Idem
ef1374097f Marko v3: Allow <else if(foo)> 2016-02-16 22:24:03 -07:00
Patrick Steele-Idem
7e9e408c2a Fixed typo in error message 2016-02-16 22:14:02 -07:00
Patrick Steele-Idem
0467643f53 Fixes #228 - Marko v3: while loop support 2016-02-16 22:13:43 -07:00
Patrick Steele-Idem
0c1babd588 Fixes #226 - Allow placeholders in tag name 2016-02-16 19:01:00 -07:00
Patrick Steele-Idem
a574a2be82 Marko v3: parse init/test/update parts of for loop 2016-02-12 17:18:51 -07:00
Patrick Steele-Idem
763b8b7c70 Fixes #225 - Marko v3: Migrate <cached-fragment> 2016-02-12 16:20:15 -07:00
Patrick Steele-Idem
e8e4ef332d Fixes #224 and Fixes #216 - Marko v3: marko-taglib.json --> marko.json and improved taglib discovery 2016-02-12 16:02:40 -07:00
Patrick Steele-Idem
70716e2209 Fixes #176 - Marko v3: Migrate async taglib 2016-02-11 15:00:58 -07:00
Patrick Steele-Idem
4339c8dfd1 Marko v3: Added "preserveWhitespace" as a load template/compiler option 2016-02-09 16:02:34 -07:00
Patrick Steele-Idem
9a43cc7663 Marko v3: Introduced <include-text('./foo.txt')/> 2016-02-08 23:43:04 -07:00
Patrick Steele-Idem
a3d76a3678 Fixes #178 - Marko v3: include tag 2016-02-08 23:29:50 -07:00
Patrick Steele-Idem
6d366ab1ee Marko v3: Node#wrap --> Node#wrapWith 2016-02-08 22:42:44 -07:00
Patrick Steele-Idem
f89f9c548e Marko v3: Improved for loop parsing 2016-02-05 11:51:07 -07:00