Skip to content

Commit

Permalink
Merge pull request #4 from ebidel/patch-1
Browse files Browse the repository at this point in the history
createShadowRoot is unprefixed
  • Loading branch information
zinas committed Jun 23, 2014
2 parents bbde89f + 258db52 commit da59b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nineties-under-construction/nineties-under-construction.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ <h1></h1>

var clone = document.importNode(tpl.content, true);
this.innerHTML = '';
this.webkitCreateShadowRoot().appendChild(clone);
this.createShadowRoot().appendChild(clone);
}

document.registerElement('nineties-under-construction', {prototype: UnderConstruction});
})();
</script>
</script>

0 comments on commit da59b34

Please sign in to comment.