summaryrefslogtreecommitdiff
path: root/colors.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-09 16:37:36 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-09 16:37:36 +0300
commit527dd3373c4d4a54a080557408c4786aa7e03f87 (patch)
tree36a245c7f12c52e4311849b9894d5fbc2315eb9d /colors.js
parent1c151d4e5afaa1558618ded6bf9efe47742e8b26 (diff)
Client dir
Diffstat (limited to 'colors.js')
-rw-r--r--colors.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/colors.js b/colors.js
deleted file mode 100644
index 4f8c65d..0000000
--- a/colors.js
+++ /dev/null
@@ -1,23 +0,0 @@
-if (Meteor.isClient) {
- // counter starts at 0
- Session.setDefault('counter', 0);
-
- Template.hello.helpers({
- counter: function () {
- return Session.get('counter');
- }
- });
-
- Template.hello.events({
- 'click button': function () {
- // increment the counter when button is clicked
- Session.set('counter', Session.get('counter') + 1);
- }
- });
-}
-
-if (Meteor.isServer) {
- Meteor.startup(function () {
- // code to run on server at startup
- });
-}