diff --git a/.meteor/.finished-upgraders b/.meteor/.finished-upgraders new file mode 100644 index 0000000..68df3d8 --- /dev/null +++ b/.meteor/.finished-upgraders @@ -0,0 +1,7 @@ +# This file contains information which helps Meteor properly upgrade your +# app when you run 'meteor update'. You should check it into version control +# with your project. + +notices-for-0.9.0 +notices-for-0.9.1 +0.9.4-platform-file diff --git a/.meteor/.gitignore b/.meteor/.gitignore new file mode 100644 index 0000000..4083037 --- /dev/null +++ b/.meteor/.gitignore @@ -0,0 +1 @@ +local diff --git a/.meteor/.id b/.meteor/.id new file mode 100644 index 0000000..4083db2 --- /dev/null +++ b/.meteor/.id @@ -0,0 +1,7 @@ +# This file contains a token that is unique to your project. +# Check it into your repository along with the rest of this directory. +# It can be used for purposes such as: +# - ensuring you don't accidentally deploy one app on top of another +# - providing package authors with aggregated statistics + +1i530y1aqmxpd1pq5mnl diff --git a/.meteor/packages b/.meteor/packages new file mode 100644 index 0000000..e893668 --- /dev/null +++ b/.meteor/packages @@ -0,0 +1,8 @@ +# Meteor packages used by this project, one per line. +# +# 'meteor add' and 'meteor remove' will edit this file for you, +# but you can also edit it by hand. + +meteor-platform +autopublish +insecure diff --git a/.meteor/platforms b/.meteor/platforms new file mode 100644 index 0000000..efeba1b --- /dev/null +++ b/.meteor/platforms @@ -0,0 +1,2 @@ +server +browser diff --git a/.meteor/release b/.meteor/release new file mode 100644 index 0000000..7057f80 --- /dev/null +++ b/.meteor/release @@ -0,0 +1 @@ +METEOR@0.9.4 diff --git a/.meteor/versions b/.meteor/versions new file mode 100644 index 0000000..8f169db --- /dev/null +++ b/.meteor/versions @@ -0,0 +1,51 @@ +application-configuration@1.0.3 +autopublish@1.0.1 +autoupdate@1.1.2 +base64@1.0.1 +binary-heap@1.0.1 +blaze-tools@1.0.1 +blaze@2.0.2 +boilerplate-generator@1.0.1 +callback-hook@1.0.1 +check@1.0.2 +ctl-helper@1.0.4 +ctl@1.0.2 +ddp@1.0.10 +deps@1.0.5 +ejson@1.0.4 +fastclick@1.0.1 +follower-livedata@1.0.2 +geojson-utils@1.0.1 +html-tools@1.0.2 +htmljs@1.0.2 +http@1.0.7 +id-map@1.0.1 +insecure@1.0.1 +jquery@1.0.1 +json@1.0.1 +livedata@1.0.11 +logging@1.0.4 +meteor-platform@1.1.2 +meteor@1.1.2 +minifiers@1.1.1 +minimongo@1.0.4 +mobile-status-bar@1.0.1 +mongo@1.0.7 +observe-sequence@1.0.3 +ordered-dict@1.0.1 +random@1.0.1 +reactive-dict@1.0.4 +reactive-var@1.0.3 +reload@1.1.1 +retry@1.0.1 +routepolicy@1.0.2 +session@1.0.3 +spacebars-compiler@1.0.3 +spacebars@1.0.3 +templating@1.0.8 +tracker@1.0.3 +ui@1.0.4 +underscore@1.0.1 +url@1.0.1 +webapp-hashing@1.0.1 +webapp@1.1.3 diff --git a/simple-todos.css b/simple-todos.css new file mode 100644 index 0000000..b6b4052 --- /dev/null +++ b/simple-todos.css @@ -0,0 +1 @@ +/* CSS declarations go here */ diff --git a/simple-todos.html b/simple-todos.html new file mode 100644 index 0000000..b08c7c3 --- /dev/null +++ b/simple-todos.html @@ -0,0 +1,14 @@ + + simple-todos + + + +

Welcome to Meteor!

+ + {{> hello}} + + + diff --git a/simple-todos.js b/simple-todos.js new file mode 100644 index 0000000..f8bee6b --- /dev/null +++ b/simple-todos.js @@ -0,0 +1,23 @@ +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 + }); +}