Skip to content

Commit 471ff64

Browse files
AshKydfskreuz
authored andcommitted
typo peypath => keypath
1 parent 1c5ea02 commit 471ff64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/0.8/Keypaths.md.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ ractive.get( 'letters[0]' ); // returns undefined
7070

7171
## Escaping
7272

73-
While not ideal, sometimes properties of objects have `.`s in name e.g. `foo['bar.baz']`. Note that while numbers are supported in array notation, strings are not. To access a peypath with a literal `.` in one of the keys, you can escape it with a `\` e.g. `foo.bar\.baz`. Any keys accessible in the template will be unescaped, so if you're trying to use them with simple string concatenation to access a keypath with a `.` in it, you'll need to make sure you escape it first.
73+
While not ideal, sometimes properties of objects have `.`s in name e.g. `foo['bar.baz']`. Note that while numbers are supported in array notation, strings are not. To access a keypath with a literal `.` in one of the keys, you can escape it with a `\` e.g. `foo.bar\.baz`. Any keys accessible in the template will be unescaped, so if you're trying to use them with simple string concatenation to access a keypath with a `.` in it, you'll need to make sure you escape it first.

0 commit comments

Comments
 (0)