Implemented a javascript code style
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
Template.attackEditList.helpers({
|
||||
attacks: function(){
|
||||
attacks: function() {
|
||||
var cursor = Attacks.find({"parent.id": this.parentId, charId: this.charId});
|
||||
return cursor;
|
||||
}
|
||||
});
|
||||
|
||||
Template.attackEditList.events({
|
||||
"tap #addAttackButton": function(){
|
||||
"tap #addAttackButton": function() {
|
||||
Attacks.insert({
|
||||
charId: this.charId,
|
||||
parent: {
|
||||
|
||||
Reference in New Issue
Block a user