Skip to content

Commit 4ccbaf5

Browse files
author
Sashko Stubailo
committed
Merge pull request meteor#206 from iDoMeteor/patch-5
Grammatical Change
2 parents a3f8abb + b57d0a8 commit 4ccbaf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/blaze.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ Additionally, for better clarity, always explicitly provide a data context to an
293293

294294
For similar reasons to the above, it's better to use `{% raw %}{{#each todo in todos}}{% endraw %}` rather than the older `{% raw %}{{#each todos}}{% endraw %}`. The second sets the entire data context of its children to a single `todo` object, and makes it difficult to access any context from outside of the block.
295295

296-
The only reason not to use `{% raw %}{{#each .. in}}{% endraw %}` because it makes it difficult to access the `todo` symbol inside event handlers. Typically the solution to this is simply to use a sub-component to render the inside of the loop.
296+
The only reason not to use `{% raw %}{{#each .. in}}{% endraw %}` would be because it makes it difficult to access the `todo` symbol inside event handlers. Typically the solution to this is simply to use a sub-component to render the inside of the loop.
297297

298298
<h3 id="pass-data-into-helpers">Pass data into helpers</h3>
299299

0 commit comments

Comments
 (0)