Skip to content

Commit

Permalink
Corrects "Cards and Atoms" demo code sample
Browse files Browse the repository at this point in the history
Drops the opening `<figure>` to the next line and fixes a typo by changing the closing tag from `</figura>` to `</figure>`
  • Loading branch information
dcousineau authored Nov 8, 2016
1 parent 1d53f94 commit bf2eaff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,11 @@ <h2>Cards and Atoms</h2>
name: 'kitten',
type: 'dom',
render() {
let el$ = $(`&lt;figure&gt;
let el$ = $(`
&lt;figure&gt;
&lt;img src="http://placekitten.com/200/100"&gt;
&lt;figcaption&gt;Image of a kitten&lt;/figcaption&gt;
&lt;/figura&gt;
&lt;/figure&gt;
`);
return el[0]; // return DOM node
}
Expand Down

0 comments on commit bf2eaff

Please sign in to comment.