Add Meteor app to do corrections

This commit is contained in:
Shaunak Kishore
2015-08-27 00:57:29 -04:00
parent 3ee25c4d0c
commit 4c366184a3
12 changed files with 7198 additions and 0 deletions

13
client/client.js Normal file
View File

@ -0,0 +1,13 @@
Session.setDefault('counter', 0);
Template.hello.helpers({
counter: function () {
return Session.get('counter');
}
});
Template.hello.events({
'click button': function () {
Session.set('counter', Session.get('counter') + 1);
}
});