Skip to content

Commit af4e0e4

Browse files
nickbendersivakumar-kailasam
authored andcommitted
Remove Undefined Diff from articles each loop.
While working through the tutorial, I noticed that there exists a diff for a line that doesn't exist, causing `undefined` to be displayed. <img width="636" alt="screen shot 2018-05-23 at 11 25 27 am" src="https://user-images.githubusercontent.com/1660286/40440734-1b1620e4-5e7c-11e8-89ad-b90953a5eaa8.png"> Found on Safari 11.1.1 Confirmed on Chrome 66.0.3359.181
1 parent eb6d64c commit af4e0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/v3.2.0/tutorial/model-hook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ We can use the model attribute to display our list of rentals.
6464
Here, we'll use another common Handlebars helper called [`{{each}}`](../../templates/displaying-a-list-of-items/).
6565
This helper will let us loop through each of the rental objects in our model:
6666

67-
```handlebars {data-filename="app/templates/rentals.hbs" data-diff="+12,+13,+14,+15,+16,+17,+18,+19,+20,+21,+22,+23,+24,+25,+26,+27,+28,+29"}
67+
```handlebars {data-filename="app/templates/rentals.hbs" data-diff="+12,+13,+14,+15,+16,+17,+18,+19,+20,+21,+22,+23,+24,+25,+26,+27,+28"}
6868
<div class="jumbo">
6969
<div class="right tomster"></div>
7070
<h2>Welcome!</h2>

0 commit comments

Comments
 (0)