Updated persona tab to Polymer 1

This commit is contained in:
Stefan Zermatten
2017-01-31 09:58:35 +02:00
parent 7af3b8e06e
commit 9c61493a12
13 changed files with 116 additions and 131 deletions

View File

@@ -3,11 +3,6 @@ Template.features.helpers({
var features = Features.find({charId: this._id}, {sort: {color: 1, name: 1}});
return features;
},
shortDescription: function() {
if (_.isString(this.description)){
return this.description.split(/^( *[-*_]){3,} *(?:\n+|$)/m)[0];
}
},
hasUses: function(){
return this.usesValue() > 0;
},