Permalink
Browse files

[docs] Fix example in `README.md`

  • Loading branch information...
mmalecki committed Nov 10, 2011
1 parent f99a03d commit 888cd2dc4fab6b127694503f84a967ad07db2390
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
View
@@ -16,9 +16,9 @@ A storage agnostic resource-oriented ODM for building prototypical models with v
//
// Specify some properties with validation
//
- Creature.property('diet'); // Defaults to String
- Creature.property('vertebrate', Boolean);
- Creature.property('belly', Array);
+ this.property('diet'); // Defaults to String
+ this.property('vertebrate', Boolean);
+ this.property('belly', Array);
});
//
@@ -204,4 +204,5 @@ All tests are written with [vows][0] and should be run with [npm][1]:
#### License: Apache 2.0
[0]: http://vowsjs.org
-[1]: http://npmjs.org
+[1]: http://npmjs.org
+

0 comments on commit 888cd2d

Please sign in to comment.