46 Commits

Author SHA1 Message Date
Patrick Steele-Idem
2f15401fc4 Fixes #470 - Ensure deprecated tags/attrs are not suggested for autocomplete 2017-01-07 17:51:43 -07:00
Patrick Steele-Idem
20cf6d364e More code size reductions 2017-01-02 15:53:38 -07:00
Michael Rawlings
ac47c069f9 remove need to pass node to and , get it automatically from the context 2016-12-14 18:07:47 -08:00
Michael Rawlings
6b1c0c4a2b switch to using the context.deprecate method 2016-12-13 20:46:24 -08:00
Ethan Marmaduke
3f20336662 Pass null instead of void 0 in the <await> tag Promise handling code 2016-11-22 12:53:31 -05:00
Ethan Marmaduke
96d93ee9fe The <await> tag should attempt .then(undefined, ...) when resolving a thenable if neither .catch nor .fail is a function. 2016-11-22 09:59:38 -05:00
Patrick Steele-Idem
afa870ad78 Merge branch '410-await-reorderer-body-transform' of https://github.com/austinkelleher/marko 2016-11-14 18:46:54 -07:00
austinkelleher
f192f486cc Fixes #410 - <await-reorderer> tag automatically inserted by the compiler. 2016-11-14 16:24:47 -05:00
austinkelleher
b5bbd05a76 Fixes #426 - Remove support for deprecated emitted async events. 2016-11-14 07:55:55 -05:00
Patrick Steele-Idem
7de6384420 Added more descriptive name to exported function 2016-10-28 12:10:45 -06:00
Patrick Steele-Idem
2434275caa Improved vdom support for async and cached fragments 2016-10-14 13:18:21 -06:00
Patrick Steele-Idem
c386da875e Fixes #349 - Inline Marko template compilation support
Also changed how JavaScript code is generated
2016-08-19 10:50:28 -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
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
f22b8b37a3 Merge pull request #305 from mlrawlings/asyncfragment-info
Asyncfragment info
2016-06-09 09:33:25 -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
0fe4dd1175 Fixes #304 - async-fragment-tag-transformer.js being loaded by PhantomJS 2016-06-07 09:01:15 -06: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
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
186e5fca03 Changes to allow marko v3 compiler to work in the browser 2016-03-02 17:03:30 -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
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
6f147786c6 Split out async and layout taglibs into separate modules 2014-06-04 21:48:57 -06:00
Patrick Steele-Idem
1c6dd4f6cc Flattened directory structure a bit by dropping lib 2014-04-29 22:21:20 -06:00
Patrick Steele-Idem
64be29ca79 Refactored out core taglibs into separate modules and cleaned up code 2014-04-28 22:29:54 -06:00
Patrick Steele-Idem
d857d4b6a2 Allow "method" to be set for a data provider to maintain "this" 2014-04-22 13:35:51 -06:00
Patrick Steele-Idem
da274538ab Dropped support for namespaces and updated docs and tests 2014-04-14 13:44:38 -06:00
Patrick Steele-Idem
8e183d1ea0 beginAsync changes 2014-03-14 16:39:34 -06:00
Patrick Steele-Idem
3bdd557015 beginAsync instead of beginAsyncFragment 2014-03-14 14:29:13 -06:00
Patrick Steele-Idem
b59b5f6fe5 Use lower case tag name 2014-02-27 17:33:03 -07:00
Patrick Steele-Idem
5fc68a8373 Async fragments and data providers working 2014-02-06 19:24:28 -07:00
Patrick Steele-Idem
910fa93156 Added async rendering tests (currently broken) 2014-02-06 17:43:48 -07:00
Patrick Steele-Idem
f8578b94db Dynamic attribute support improved and other improvements 2014-02-05 12:15:50 -07:00
Patrick Steele-Idem
4cf0ae528c Simple template compilation is working 2014-01-24 14:27:15 -07:00