Ractive.escapeKey()

Escapes the given key so that it can be concatenated with a keypath string e.g. foo.bar => foo\.bar.

Ractive.escapeKey( key )

Returns the properly escaped key.

key String

The key to escape.