Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Aug 5, 2018
1 parent cce3a30 commit b26ee1c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions test/custom-elements/samples/props/my-widget.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<p>{(items || []).length} items</p>
<p>{(items || []).join(', ')}</p>
<p>{JSON.stringify(items)}</p>
<p>{items.length} items</p>
<p>{items.join(', ')}</p>

<script>
export default {
tag: 'my-widget'
tag: 'my-widget',

data() {
return {
items: []
};
}
};
</script>

0 comments on commit b26ee1c

Please sign in to comment.