From 527dd3373c4d4a54a080557408c4786aa7e03f87 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 9 Jun 2015 16:37:36 +0300 Subject: Client dir --- colors.js | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 colors.js (limited to 'colors.js') 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 - }); -} -- cgit v1.3.1