Skip to content

Commit

Permalink
partially address #190
Browse files Browse the repository at this point in the history
  • Loading branch information
shashi committed Oct 8, 2016
1 parent 952dd17 commit fe5f4b9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions assets/escherd.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,16 @@
<dom-module
id="signal-container">

<style>
#content {
display: inherit;
}
</style>

<template>
<content></content>
<div id="content">
<content></content>
</div>
</template>

<script>
Expand All @@ -263,7 +271,8 @@

_initCleanSubtree: function (id) {
// XXX: Initial value of tile signals is Escher.empty which is <div></div>
this.vnode = new Patchwork.Node(id, {t: "div"}, new Sneaky(this), sneakyDoc);
this.$.content.innerHTML = "<div></div>";
this.vnode = new Patchwork.Node(id, {t: "div"}, new Sneaky(this.$.content), sneakyDoc);
Escher.addSubtree(id, this.vnode)
this._prevId = id
},
Expand Down

0 comments on commit fe5f4b9

Please sign in to comment.