Skip to content

Commit

Permalink
make tests work on polyfill.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Sep 1, 2015
1 parent bd90b57 commit 9ff2ee4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/unit/polymer-dom-observeNodes.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@
<div>static</div>
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-static'
});
});
</script>
</dom-module>

Expand All @@ -33,9 +35,11 @@
[<content id="content"></content>]
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content'
});
});
</script>
</dom-module>

Expand All @@ -44,9 +48,11 @@
<test-content id="content"><content></content></test-content>
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content1'
});
});
</script>
</dom-module>

Expand All @@ -55,9 +61,11 @@
<test-content1 id="content"><content></content></test-content1>
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content2'
});
});
</script>
</dom-module>

Expand All @@ -66,9 +74,11 @@
<test-content2 id="content"><content></content></test-content2>
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content3'
});
});
</script>
</dom-module>

Expand All @@ -77,9 +87,11 @@
[<content id="content" select="[d]"></content>]
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content-attr'
});
});
</script>
</dom-module>

Expand All @@ -88,9 +100,11 @@
<test-content-attr id="content"><content select="[c]"></content></test-content-attr>
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content-attr1'
});
});
</script>
</dom-module>

Expand All @@ -99,9 +113,11 @@
<test-content-attr1 id="content"><content select="[b]"></content></test-content-attr1>
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content-attr2'
});
});
</script>
</dom-module>

Expand All @@ -110,9 +126,11 @@
<test-content-attr2 id="content"><content select="[a]"></content></test-content-attr2>
</template>
<script>
HTMLImports.whenReady(function() {
Polymer({
is:'test-content-attr3'
});
});
</script>
</dom-module>

Expand Down

0 comments on commit 9ff2ee4

Please sign in to comment.