Removed unneeded "type" from schemas, use parent.collection instead.

This commit is contained in:
Thaum
2015-04-17 11:30:44 +00:00
parent 1352bd1178
commit 245867dae6
13 changed files with 14 additions and 47 deletions

View File

@@ -13,10 +13,6 @@ Schemas.Proficiency = new SimpleSchema({
type: Number,
allowedValues: [0, 0.5, 1],
},
type: {
type: String,
allowedValues: ["skill", "save", "weapon", "armor", "tool", "language"]
}
});
Proficiencies.attachSchema(Schemas.Proficiency);