Skip to content

Commit 857d2db

Browse files
Fixes misses closing '/' in component declaration
The component declaration 'Component' is missing a now-required '/' on the tag. As is stands the example fails. Is there not a better way of ensuring that documentation samples stay up-to-date and correct? As it's the first port-of-call for people learning a feature, if the examples are wrong, it doesn't create a good experience, especially as one assumes that one's own code is wrong, rather than the example. Maybe embed a fiddle instead of the raw code? Then this can be easily tested on each new release.
1 parent cbff448 commit 857d2db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/0.8/Components.md.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ var ractive = new Ractive({
6969

7070
<script id="template" type="text/ractive">
7171
<div>
72-
<Component>
72+
<Component/>
7373
</div>
7474
</script>
7575

0 commit comments

Comments
 (0)