Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Properties are considered unique by default.

  • Loading branch information...
commit fc4ce962e7404cc25a8a8b1ff30dc6b20de9036b 1 parent 90f33bf
Michael Aufreiter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  data.js
View
2  data.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.