From 664cabbda7d210268b138b5e447ca66604bbb6f3 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 21 Apr 2018 08:06:55 -0700 Subject: [PATCH] make timeline components async --- routes/_components/timeline/Timeline.html | 86 ++++++++++++----------- routes/_utils/asyncModules.js | 18 ++++- 2 files changed, 61 insertions(+), 43 deletions(-) diff --git a/routes/_components/timeline/Timeline.html b/routes/_components/timeline/Timeline.html index 2f138d10..e87244a6 100644 --- a/routes/_components/timeline/Timeline.html +++ b/routes/_components/timeline/Timeline.html @@ -4,46 +4,41 @@ on:focusWithCapture="saveFocus(event)" on:blurWithCapture="clearFocus(event)" > - {{#if virtual}} - - {{else}} - - - {{/if}} + {{catch error}} +
Error: component failed to load! Try reloading. {{error}}
+ {{/await}}