powmedia/backbone-deep-model — pull request #15 by sqs (2012-06-29 11:11:34+00:00)
Title: Allow use of separators other than "."

I have models with nested objects whose keys are email addresses, JVM package names, etc. We would like to use something other than "." as a key path separator (it's much easier for us to enforce that "~" never appears in a nested attribute object key than "."). This patch accomplishes that goal. It's definitely possible to do this more cleanly than in this patch (i.e., by not passing the keyPathSeparator around everywhere), so I'm open to advice whether or not you want to pull this.

Thanks!