Skip to content

Allows `.` (dot) in for-of key

Compare
Choose a tag to compare
@mikemitchel mikemitchel released this 11 Jun 18:13
· 62 commits to master since this release

This fixes an issue where the key in a for-of loop contains a dot, for example, if the data looks like this:

"Page.2" : {
pageName: "Page.2"
}
can-stache could not read/render item.pageName where item is the object above. Now the dot or dots are escaped which allows the value to be read and rendered.

#698