Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #212 from sandstrom/patch-1

Use `:` instead of `=` in transforms code example
  • Loading branch information...
commit b29cd4362a7897f2c4f7fc4ac23c639f96fe2a8c 2 parents b41d355 + 22d702b
@tomdale tomdale authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -99,7 +99,7 @@ can also register custom attribute types. For example, here's a `boolString`
attribute type that converts booleans into the string `"Y"` or `"N"`:
```javascript
-DS.attr.transforms.boolString: {
+DS.attr.transforms.boolString = {
from: function(serialized) {
if (serialized === 'Y') {
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.