Removed Polymer 0.5, started implementing Polymer 1.0

This commit is contained in:
Stefan Zermatten
2016-10-03 13:00:27 +02:00
parent d83fe917d0
commit 7af2e80ec1
171 changed files with 259 additions and 130 deletions

View File

@@ -1,24 +0,0 @@
Template.characterList.helpers({
characterDetails: function(){
var char = Characters.findOne(
this._id,
{fields: {name: 1, gender: 1, alignment: 1, race:1, color: 1}}
);
char.title = char.name;
char.field = "base";
char.class = "characterCard";
return char;
}
});
Template.characterList.events({
"tap .characterCard": function(event, instance){
Router.go("characterSheet", {_id: this._id});
},
"tap .addCharacter": function(event, template) {
GlobalUI.showDialog({
heading: "New Character",
template: "newCharacterDialog",
});
},
});