Fixed compile errors

This commit is contained in:
Stefan Zermatten
2018-09-25 16:04:30 +02:00
parent 005433268d
commit cf33bfcce1
3 changed files with 5 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ Schemas.Attribute = new SimpleSchema({
],
},
baseValue: {
Number,
type: Number,
decimal: true,
optional: true,
},
@@ -55,7 +55,7 @@ Schemas.Attribute = new SimpleSchema({
decimal: {
type: Boolean,
optional: true,
}
},
parent: {
type: Schemas.Parent
},

View File

@@ -557,7 +557,7 @@ const recomputeCharacterXP = new ValidatedMethod({
},
});
const recomputeCharacterWeightCarried = new ValidatedMethod){
const recomputeCharacterWeightCarried = new ValidatedMethod({
name: "Character.methods.recomputeCharacterWeightCarried",
validate: new SimpleSchema({
@@ -604,4 +604,4 @@ const recomputeCharacterWeightCarried = new ValidatedMethod){
Characters.update(charId, {$set: {weightCarried}})
return weightCarried;
}
}
});

View File

@@ -146,7 +146,7 @@ getDefaultCharacterDocs = function(charId){
_id: Random.id,
charId,
name: dm.name,
variableName = dm.variableName,
variableName: dm.variableName,
parent: _.clone(baseParent),
});
}