|
|
@@ -1,15 +1,4 @@
|
|
|
if (Meteor.isClient) {
|
|
|
- Template.hello.greeting = function () {
|
|
|
- return "Welcome to astroid-web.";
|
|
|
- };
|
|
|
-
|
|
|
- Template.hello.events({
|
|
|
- 'click input' : function () {
|
|
|
- // template data, if any, is available in 'this'
|
|
|
- if (typeof console !== 'undefined')
|
|
|
- console.log("You pressed the button");
|
|
|
- }
|
|
|
- });
|
|
|
}
|
|
|
|
|
|
if (Meteor.isServer) {
|