fix(variable): Prevent crash on unknown index in array

This commit is contained in:
Kyle Fuller
2016-10-13 13:11:02 +01:00
parent 72f3cb579a
commit 1e3afc0dd5
3 changed files with 29 additions and 1 deletions

View File

@@ -1,4 +1,14 @@
# Stencil Changelog
## Master
### Bug Fixes
- Variables (`{{ variable.5 }}`) that reference an array index at an unknown
index will now resolve to `nil` instead of causing a crash.
[#72](https://github.com/kylef/Stencil/issues/72)
## 0.6.0
### Enhancements