Skip to content

Commit

Permalink
Properties are considered unique by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael committed Mar 21, 2012
1 parent 90f33bf commit fc4ce96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data.js
Expand Up @@ -769,7 +769,7 @@
this.key = id;
this._id = id;
this.type = type;
this.unique = options.unique;
this.unique = options.unique !== undefined ? options.unique : true;
this.name = options.name;
this.meta = options.meta || {};
this.validator = options.validator;
Expand Down

0 comments on commit fc4ce96

Please sign in to comment.