mirror of
https://github.com/skishore/makemeahanzi.git
synced 2025-10-30 02:18:16 +08:00
Add Meteor app to do corrections
This commit is contained in:
13
client/client.js
Normal file
13
client/client.js
Normal 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);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user