From 9975e03fadacf00b515593e2cea6431d87c185e7 Mon Sep 17 00:00:00 2001 From: Jonathan Cox Date: Wed, 16 May 2018 10:46:30 -0500 Subject: [PATCH] Fix demo load timing; Fixes #227 --- demo/index.html | 91 ++++++++++++-------------- wysiwyg-e.js | 169 +++++++++++++++++++++++++----------------------- 2 files changed, 131 insertions(+), 129 deletions(-) diff --git a/demo/index.html b/demo/index.html index b6cae32..afb8e73 100644 --- a/demo/index.html +++ b/demo/index.html @@ -5,27 +5,27 @@ WYSIWYG-E Demo - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -35,8 +35,8 @@ - - + + @@ -48,31 +48,26 @@ - - - + + req.open('GET', '../README.md', true); + req.send(); + } + ); + - + \ No newline at end of file diff --git a/wysiwyg-e.js b/wysiwyg-e.js index 08d25ac..62d6fee 100644 --- a/wysiwyg-e.js +++ b/wysiwyg-e.js @@ -47,13 +47,14 @@ if (document) { export class WysiwygE extends PolymerElement { static get _targetTemplate() { - return html`
`; + return html` +
+ `; } static get template() { return html` - -