Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[docs] Fix example in `README.md`

  • Loading branch information...
commit 888cd2dc4fab6b127694503f84a967ad07db2390 1 parent f99a03d
@mmalecki mmalecki authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
View
9 README.md
@@ -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
+
Please sign in to comment.
Something went wrong with that request. Please try again.