Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
script inside dom-module, remove <content>
Browse files Browse the repository at this point in the history
  • Loading branch information
valdrinkoshi committed Dec 1, 2016
1 parent 0849df1 commit e02513f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 32 deletions.
25 changes: 8 additions & 17 deletions demo/simple-fit.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,14 @@
text-align: center;
}
</style>

<content></content>
<slot></slot>
</template>

<script>
Polymer({
is: 'simple-fit',
behaviors: [
Polymer.IronFitBehavior
]
});
</script>
</dom-module>

<script>

Polymer({

is: 'simple-fit',

behaviors: [
Polymer.IronFitBehavior
]

});

</script>
23 changes: 8 additions & 15 deletions test/test-fit.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,12 @@
</style>
<slot></slot>
</template>

<script>
Polymer({
is: 'test-fit',
behaviors: [
Polymer.IronFitBehavior
]
});
</script>
</dom-module>

<script>

Polymer({

is: 'test-fit',

behaviors: [
Polymer.IronFitBehavior
]

});

</script>

0 comments on commit e02513f

Please sign in to comment.