Skip to content

Commit

Permalink
Fix for vulcanize use cases
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelli committed Jan 17, 2017
1 parent 58b1c68 commit 1b1a1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions progress-bar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template>
<template id="progress-bar">
<style>
:host {
display: block;
Expand Down Expand Up @@ -68,7 +68,7 @@

<script>
(function() {
var template = document.currentScript.ownerDocument.querySelector('template');
var template = document.currentScript.ownerDocument.querySelector('template#progress-bar');
var prototype = Object.create(HTMLElement.prototype);

prototype.createdCallback = function() {
Expand Down

0 comments on commit 1b1a1be

Please sign in to comment.