Skip to content

Commit 9eb726c

Browse files
committed
Inital commit.
0 parents  commit 9eb726c

10 files changed

+114
-0
lines changed

.meteor/.finished-upgraders

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file contains information which helps Meteor properly upgrade your
2+
# app when you run 'meteor update'. You should check it into version control
3+
# with your project.
4+
5+
notices-for-0.9.0
6+
notices-for-0.9.1
7+
0.9.4-platform-file
8+
notices-for-facebook-graph-api-2

.meteor/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
local

.meteor/.id

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file contains a token that is unique to your project.
2+
# Check it into your repository along with the rest of this directory.
3+
# It can be used for purposes such as:
4+
# - ensuring you don't accidentally deploy one app on top of another
5+
# - providing package authors with aggregated statistics
6+
7+
o5nqei176nzm81dzysll

.meteor/packages

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Meteor packages used by this project, one per line.
2+
# Check this file (and the other files in this directory) into your repository.
3+
#
4+
# 'meteor add' and 'meteor remove' will edit this file for you,
5+
# but you can also edit it by hand.
6+
7+
meteor-platform
8+
autopublish
9+
insecure

.meteor/platforms

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
server
2+
browser

.meteor/release

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

meteor-slack.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* CSS declarations go here */

meteor-slack.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<head>
2+
<title>meteor-slack</title>
3+
</head>
4+
5+
<body>
6+
<h1>Welcome to Meteor!</h1>
7+
8+
{{> hello}}
9+
</body>
10+
11+
<template name="hello">
12+
<button>Click Me</button>
13+
<p>You've pressed the button {{counter}} times.</p>
14+
</template>

meteor-slack.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
if (Meteor.isClient) {
2+
// counter starts at 0
3+
Session.setDefault('counter', 0);
4+
5+
Template.hello.helpers({
6+
counter: function () {
7+
return Session.get('counter');
8+
}
9+
});
10+
11+
Template.hello.events({
12+
'click button': function () {
13+
// increment the counter when button is clicked
14+
Session.set('counter', Session.get('counter') + 1);
15+
}
16+
});
17+
}
18+
19+
if (Meteor.isServer) {
20+
Meteor.startup(function () {
21+
// code to run on server at startup
22+
});
23+
}

0 commit comments

Comments
 (0)