Skip to content

Commit

Permalink
Start docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
Urigo committed Sep 17, 2014
1 parent b82a61a commit 4f67c12
Show file tree
Hide file tree
Showing 10 changed files with 125 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/angular-meteor/.meteor/.finished-upgraders
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 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
1 change: 1 addition & 0 deletions docs/angular-meteor/.meteor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
local
7 changes: 7 additions & 0 deletions docs/angular-meteor/.meteor/.id
Original file line number Diff line number Diff line change
@@ -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

12d4dparaggwcukwsfr
1 change: 1 addition & 0 deletions docs/angular-meteor/.meteor/cordova-plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions docs/angular-meteor/.meteor/release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[email protected]
1 change: 1 addition & 0 deletions docs/angular-meteor/angular-meteor.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* CSS declarations go here */
14 changes: 14 additions & 0 deletions docs/angular-meteor/angular-meteor.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<head>
<title>angular-meteor</title>
</head>

<body>
<h1>Welcome to Meteor!</h1>

{{> hello}}
</body>

<template name="hello">
<button>Click Me</button>
<p>You've pressed the button {{counter}} times.</p>
</template>
23 changes: 23 additions & 0 deletions docs/angular-meteor/angular-meteor.js
Original file line number Diff line number Diff line change
@@ -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
});
}
19 changes: 19 additions & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"dependencies": [
[
"jquery",
"1.0.0"
],
[
"meteor",
"1.0.2"
],
[
"underscore",
"1.0.0"
]
],
"pluginDependencies": [],
"toolVersion": "[email protected]",
"format": "1.0"
}

0 comments on commit 4f67c12

Please sign in to comment.