Skip to content

Commit

Permalink
Step 4.7: Add submit method
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and Dotan Simha committed Nov 22, 2016
1 parent cbfea28 commit 2e76e4e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion imports/ui/components/partyAdd/partyAdd.js
Expand Up @@ -3,7 +3,15 @@ import angularMeteor from 'angular-meteor';

import template from './partyAdd.html';

class PartyAdd {}
class PartyAdd {
constructor() {
this.party = {};
}

submit() {
console.log('submit:', this.party);
}
}

const name = 'partyAdd';

Expand Down

0 comments on commit 2e76e4e

Please sign in to comment.