Skip to content

Commit

Permalink
Merge pull request #12664 from balinterdi/precise-docstring-for-with-…
Browse files Browse the repository at this point in the history
…helper

Include NaN as a falsey value in the `with` helper's docstring
  • Loading branch information
rwjblue committed Dec 1, 2015
2 parents 4593e27 + 32e9438 commit f455bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-htmlbars/lib/helpers/with.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import shouldDisplay from 'ember-views/streams/should_display';
for semantic clarity as it allows you to retain default scope or to reference a property from another
`{{with}}` block.
If the aliased property is "falsey", for example: `false`, `undefined` `null`, `""`, `0` or
If the aliased property is "falsey", for example: `false`, `undefined` `null`, `""`, `0`, NaN or
an empty array, the block will not be rendered.
```handlebars
Expand Down

0 comments on commit f455bc9

Please sign in to comment.