├── votingApp #11
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.js
│ └── main.html
├── server
│ └── main.js
├── package.json
└── imports
│ ├── ui
│ ├── item.html
│ ├── item.js
│ ├── body.html
│ └── body.js
│ └── api
│ ├── items.js
│ └── methods.js
├── votingApp #12
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.js
│ ├── main.html
│ └── main.css
├── server
│ └── main.js
├── package.json
└── imports
│ ├── api
│ ├── items.js
│ └── methods.js
│ └── ui
│ ├── item.js
│ ├── item.html
│ ├── body.html
│ └── body.js
├── votingApp #13
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.js
│ ├── main.html
│ └── main.css
├── server
│ └── main.js
├── package.json
└── imports
│ ├── api
│ ├── items.js
│ └── methods.js
│ └── ui
│ ├── item.js
│ ├── item.html
│ ├── body.html
│ └── body.js
├── votingApp #3
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.js
│ └── main.html
├── imports
│ └── ui
│ │ ├── body.js
│ │ ├── test.html
│ │ └── body.html
├── server
│ └── main.js
└── package.json
├── votingApp #5
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.js
│ └── main.html
├── imports
│ ├── api
│ │ └── items.js
│ └── ui
│ │ ├── body.html
│ │ └── body.js
├── server
│ └── main.js
└── package.json
├── votingApp #6
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.js
│ └── main.html
├── .DS_Store
├── imports
│ ├── api
│ │ └── items.js
│ └── ui
│ │ ├── body.html
│ │ └── body.js
├── server
│ └── main.js
└── package.json
├── votingApp #7
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.js
│ └── main.html
├── .DS_Store
├── imports
│ ├── api
│ │ └── items.js
│ └── ui
│ │ ├── body.html
│ │ └── body.js
├── server
│ └── main.js
└── package.json
├── votingApp #8
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.js
│ └── main.html
├── .DS_Store
├── imports
│ ├── api
│ │ └── items.js
│ └── ui
│ │ ├── item.html
│ │ ├── item.js
│ │ ├── body.html
│ │ └── body.js
├── server
│ └── main.js
└── package.json
├── votingApp #9
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.css
│ ├── main.js
│ └── main.html
├── imports
│ ├── api
│ │ ├── items.js
│ │ └── methods.js
│ └── ui
│ │ ├── item.html
│ │ ├── item.js
│ │ ├── body.html
│ │ └── body.js
├── server
│ └── main.js
└── package.json
├── votingApp end
├── .gitignore
├── .meteor
│ ├── .gitignore
│ ├── release
│ ├── platforms
│ ├── .id
│ ├── .finished-upgraders
│ ├── packages
│ └── versions
├── client
│ ├── main.js
│ ├── main.html
│ └── main.css
├── server
│ └── main.js
├── package.json
└── imports
│ ├── api
│ ├── items.js
│ └── methods.js
│ └── ui
│ ├── item.js
│ ├── item.html
│ ├── body.html
│ └── body.js
└── .DS_Store
/votingApp #11/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #12/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #13/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #3/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #5/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #6/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #7/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #8/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #9/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp end/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
--------------------------------------------------------------------------------
/votingApp #11/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #12/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #13/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #3/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #5/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #6/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #7/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #8/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #9/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp end/.meteor/.gitignore:
--------------------------------------------------------------------------------
1 | local
2 |
--------------------------------------------------------------------------------
/votingApp #11/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #12/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #13/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #3/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #5/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #6/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #7/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #8/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #9/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp end/.meteor/release:
--------------------------------------------------------------------------------
1 | METEOR@1.4.1.1
2 |
--------------------------------------------------------------------------------
/votingApp #3/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #5/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #6/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #7/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #8/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #9/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #11/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #12/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #13/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp end/.meteor/platforms:
--------------------------------------------------------------------------------
1 | server
2 | browser
3 |
--------------------------------------------------------------------------------
/votingApp #3/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingApp #3/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #5/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingApp #5/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #6/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingApp #6/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #7/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingApp #7/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #8/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingApp #8/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #9/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingApp #9/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #11/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 |
--------------------------------------------------------------------------------
/votingApp #11/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #12/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #13/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp end/client/main.js:
--------------------------------------------------------------------------------
1 | import '../imports/ui/body.js';
2 |
--------------------------------------------------------------------------------
/votingApp #3/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #3/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import './body.html';
2 | import './test.html';
3 |
--------------------------------------------------------------------------------
/votingApp #5/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #6/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #7/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #8/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #9/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #11/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #12/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #13/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/votingApp end/client/main.html:
--------------------------------------------------------------------------------
1 |
2 | votingApp
3 |
4 |
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/meteor-1-4-for-everyone/HEAD/.DS_Store
--------------------------------------------------------------------------------
/votingApp #3/imports/ui/test.html:
--------------------------------------------------------------------------------
1 |
2 | Inside the template
3 |
4 |
--------------------------------------------------------------------------------
/votingApp #6/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/meteor-1-4-for-everyone/HEAD/votingApp #6/.DS_Store
--------------------------------------------------------------------------------
/votingApp #7/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/meteor-1-4-for-everyone/HEAD/votingApp #7/.DS_Store
--------------------------------------------------------------------------------
/votingApp #8/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/leveluptuts/meteor-1-4-for-everyone/HEAD/votingApp #8/.DS_Store
--------------------------------------------------------------------------------
/votingApp #3/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
5 | {{> test}}
6 |
7 |
--------------------------------------------------------------------------------
/votingApp #3/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 |
3 | Meteor.startup(() => {
4 | // code to run on server at startup
5 | });
6 |
--------------------------------------------------------------------------------
/votingApp #5/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 | export default Items;
5 |
--------------------------------------------------------------------------------
/votingApp #6/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 | export default Items;
5 |
--------------------------------------------------------------------------------
/votingApp #7/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 | export default Items;
5 |
--------------------------------------------------------------------------------
/votingApp #8/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 |
3 | const Items = new Mongo.Collection('items');
4 | export default Items;
5 |
--------------------------------------------------------------------------------
/votingApp #9/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 | import './methods';
3 |
4 | const Items = new Mongo.Collection('items');
5 | export default Items;
6 |
--------------------------------------------------------------------------------
/votingApp #11/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #12/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #13/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #5/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #6/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #7/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #8/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #9/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp end/server/main.js:
--------------------------------------------------------------------------------
1 | import { Meteor } from 'meteor/meteor';
2 | import '../imports/api/items.js';
3 |
4 | Meteor.startup(() => {
5 | // code to run on server at startup
6 | });
7 |
--------------------------------------------------------------------------------
/votingApp #3/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/votingApp #5/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/votingApp #6/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/votingApp #7/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "meteor-node-stubs": "~0.2.0"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/votingApp #11/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "bcrypt": "^0.8.7",
9 | "meteor-node-stubs": "~0.2.0"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #12/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "bcrypt": "^0.8.7",
9 | "meteor-node-stubs": "~0.2.0"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #13/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "bcrypt": "^0.8.7",
9 | "meteor-node-stubs": "~0.2.0"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #8/imports/ui/item.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{itemOne.text}} {{itemOne.value}}
4 | vs
5 | {{itemTwo.text}} {{itemTwo.value}}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/votingApp #8/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "bcrypt": "^0.8.7",
9 | "meteor-node-stubs": "~0.2.0"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #9/imports/ui/item.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{itemOne.text}} {{itemOne.value}}
4 | vs
5 | {{itemTwo.text}} {{itemTwo.value}}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/votingApp #9/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "bcrypt": "^0.8.7",
9 | "meteor-node-stubs": "~0.2.0"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp end/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "votingApp",
3 | "private": true,
4 | "scripts": {
5 | "start": "meteor run"
6 | },
7 | "dependencies": {
8 | "bcrypt": "^0.8.7",
9 | "meteor-node-stubs": "~0.2.0"
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #11/imports/ui/item.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{itemOne.text}} {{itemOne.value}}
4 | vs
5 | {{itemTwo.text}} {{itemTwo.value}}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/votingApp #5/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | {{#each items}}
7 | {{text}}
8 | {{/each}}
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/votingApp #6/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | {{#each items}}
7 | {{text}}
8 | {{/each}}
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/votingApp #7/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | {{#each items}}
7 | {{text}}
8 | {{/each}}
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/votingApp #11/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 | import './methods';
3 |
4 | const Items = new Mongo.Collection('items');
5 | export default Items;
6 |
7 | if (Meteor.isServer) {
8 | Meteor.publish('allItems', function() {
9 | return Items.find({});
10 | });
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #12/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 | import './methods';
3 |
4 | const Items = new Mongo.Collection('items');
5 | export default Items;
6 |
7 | if (Meteor.isServer) {
8 | Meteor.publish('allItems', function() {
9 | return Items.find({});
10 | });
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #13/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 | import './methods';
3 |
4 | const Items = new Mongo.Collection('items');
5 | export default Items;
6 |
7 | if (Meteor.isServer) {
8 | Meteor.publish('allItems', function() {
9 | return Items.find({});
10 | });
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp end/imports/api/items.js:
--------------------------------------------------------------------------------
1 | import {Mongo} from 'meteor/mongo';
2 | import './methods';
3 |
4 | const Items = new Mongo.Collection('items');
5 | export default Items;
6 |
7 | if (Meteor.isServer) {
8 | Meteor.publish('allItems', function() {
9 | return Items.find({});
10 | });
11 | }
12 |
--------------------------------------------------------------------------------
/votingApp #3/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #5/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #6/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #7/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #8/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #9/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #11/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #12/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #13/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #5/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 |
3 | import Items from '../api/items.js';
4 |
5 | import './body.html';
6 |
7 | Template.body.helpers({
8 | items() {
9 | return Items.find({});
10 | }
11 | });
12 |
13 | Template.body.events({
14 | 'click .test'(event) {
15 | console.log('hello');
16 | }
17 | });
18 |
--------------------------------------------------------------------------------
/votingApp #6/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 |
3 | import Items from '../api/items.js';
4 |
5 | import './body.html';
6 |
7 | Template.body.helpers({
8 | items() {
9 | return Items.find({});
10 | }
11 | });
12 |
13 | Template.body.events({
14 | 'click .test'(event) {
15 | console.log('hello');
16 | }
17 | });
18 |
--------------------------------------------------------------------------------
/votingApp #7/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 |
3 | import Items from '../api/items.js';
4 |
5 | import './body.html';
6 |
7 | Template.body.helpers({
8 | items() {
9 | return Items.find({});
10 | }
11 | });
12 |
13 | Template.body.events({
14 | 'click .test'(event) {
15 | console.log('hello');
16 | }
17 | });
18 |
--------------------------------------------------------------------------------
/votingApp end/.meteor/.id:
--------------------------------------------------------------------------------
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 | u3qkzkiwaou1q3pj5o
8 |
--------------------------------------------------------------------------------
/votingApp #11/imports/ui/item.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import './item.html';
3 |
4 | import Items from '../api/items.js';
5 |
6 | Template.item.events({
7 | 'click .vote-one'(event) {
8 | Meteor.call('voteOnItem', 'itemOne', this._id);
9 | },
10 | 'click .vote-two'(event) {
11 | Meteor.call('voteOnItem', 'itemTwo', this._id);
12 | }
13 | })
14 |
--------------------------------------------------------------------------------
/votingApp #12/imports/ui/item.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import './item.html';
3 |
4 | import Items from '../api/items.js';
5 |
6 | Template.item.events({
7 | 'click .vote-one'(event) {
8 | Meteor.call('voteOnItem', 'itemOne', this._id);
9 | },
10 | 'click .vote-two'(event) {
11 | Meteor.call('voteOnItem', 'itemTwo', this._id);
12 | }
13 | })
14 |
--------------------------------------------------------------------------------
/votingApp #13/imports/ui/item.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import './item.html';
3 |
4 | import Items from '../api/items.js';
5 |
6 | Template.item.events({
7 | 'click .vote-one'(event) {
8 | Meteor.call('voteOnItem', 'itemOne', this._id);
9 | },
10 | 'click .vote-two'(event) {
11 | Meteor.call('voteOnItem', 'itemTwo', this._id);
12 | }
13 | })
14 |
--------------------------------------------------------------------------------
/votingApp end/imports/ui/item.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import './item.html';
3 |
4 | import Items from '../api/items.js';
5 |
6 | Template.item.events({
7 | 'click .vote-one'(event) {
8 | Meteor.call('voteOnItem', 'itemOne', this._id);
9 | },
10 | 'click .vote-two'(event) {
11 | Meteor.call('voteOnItem', 'itemTwo', this._id);
12 | }
13 | })
14 |
--------------------------------------------------------------------------------
/votingApp #9/imports/api/methods.js:
--------------------------------------------------------------------------------
1 | import {Meteor} from 'meteor/meteor';
2 | import Items from './items';
3 |
4 | Meteor.methods({
5 | createNewItem(itemOne, itemTwo) {
6 | Items.insert({
7 | itemOne: {
8 | text:itemOne,
9 | value: 0
10 | },
11 | itemTwo: {
12 | text:itemTwo,
13 | value: 0
14 | }
15 | });
16 |
17 | }
18 |
19 | });
20 |
--------------------------------------------------------------------------------
/votingApp #12/imports/ui/item.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
{{itemOne.value}}
5 |
6 | {{itemOne.text}}
7 |
8 |
9 |
vs
10 |
11 |
{{itemTwo.value}}
12 |
13 | {{itemTwo.text}}
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/votingApp #13/imports/ui/item.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
{{itemOne.value}}
5 |
6 | {{itemOne.text}}
7 |
8 |
9 |
vs
10 |
11 |
{{itemTwo.value}}
12 |
13 | {{itemTwo.text}}
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/votingApp end/imports/ui/item.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
{{itemOne.value}}
5 |
6 | {{itemOne.text}}
7 |
8 |
9 |
vs
10 |
11 |
{{itemTwo.value}}
12 |
13 | {{itemTwo.text}}
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/votingApp #8/imports/ui/item.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import './item.html';
3 |
4 | import Items from '../api/items.js';
5 |
6 | Template.item.events({
7 | 'click .vote-one'(event) {
8 | Items.update(this._id, {
9 | $set: {'itemOne.value': this.itemOne.value + 1}
10 | });
11 | },
12 | 'click .vote-two'(event) {
13 | Items.update(this._id, {
14 | $set: {'itemTwo.value': this.itemTwo.value + 1}
15 | });
16 | }
17 | })
18 |
--------------------------------------------------------------------------------
/votingApp #9/imports/ui/item.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import './item.html';
3 |
4 | import Items from '../api/items.js';
5 |
6 | Template.item.events({
7 | 'click .vote-one'(event) {
8 | Items.update(this._id, {
9 | $set: {'itemOne.value': this.itemOne.value + 1}
10 | });
11 | },
12 | 'click .vote-two'(event) {
13 | Items.update(this._id, {
14 | $set: {'itemTwo.value': this.itemTwo.value + 1}
15 | });
16 | }
17 | })
18 |
--------------------------------------------------------------------------------
/votingApp #11/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Level Up Voting
4 | {{> loginButtons}}
5 |
6 |
7 | {{#if loggedIn}}
8 |
13 | {{/if}}
14 | {{#each items}}
15 | {{> item}}
16 | {{/each}}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/votingApp #12/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Level Up Voting
4 | {{> loginButtons}}
5 |
6 |
7 | {{#if loggedIn}}
8 |
13 | {{/if}}
14 | {{#each items}}
15 | {{> item}}
16 | {{/each}}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/votingApp #8/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Level Up Voting
4 | {{> loginButtons}}
5 |
6 |
7 | {{#if loggedIn}}
8 |
13 | {{/if}}
14 | {{#each items}}
15 | {{> item}}
16 | {{/each}}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/votingApp #9/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Level Up Voting
4 | {{> loginButtons}}
5 |
6 |
7 | {{#if loggedIn}}
8 |
13 | {{/if}}
14 | {{#each items}}
15 | {{> item}}
16 | {{/each}}
17 |
18 |
19 |
--------------------------------------------------------------------------------
/votingApp #3/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #5/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #6/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #7/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #8/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #9/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #11/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #12/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #13/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp end/.meteor/.finished-upgraders:
--------------------------------------------------------------------------------
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
9 | 1.2.0-standard-minifiers-package
10 | 1.2.0-meteor-platform-split
11 | 1.2.0-cordova-changes
12 | 1.2.0-breaking-changes
13 | 1.3.0-split-minifiers-package
14 | 1.4.0-remove-old-dev-bundle-link
15 | 1.4.1-add-shell-server-package
16 |
--------------------------------------------------------------------------------
/votingApp #9/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 |
3 | import Items from '../api/items.js';
4 |
5 | import './body.html';
6 | import './item.js';
7 |
8 | Template.body.helpers({
9 | items() {
10 | return Items.find({});
11 | },
12 | loggedIn() {
13 | return Meteor.userId();
14 | }
15 | });
16 |
17 | Template.body.events({
18 | 'submit .new-items'(event) {
19 | event.preventDefault();
20 | Meteor.call('createNewItem', event.target.item1.value, event.target.item2.value);
21 |
22 | event.target.item1.value = '';
23 | event.target.item2.value = '';
24 | }
25 | });
26 |
--------------------------------------------------------------------------------
/votingApp #13/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Level Up Voting
4 | {{> loginButtons}}
5 |
6 |
7 | {{#if showForm}}
8 | {{#if loggedIn}}
9 |
14 | {{/if}}
15 | {{else}}
16 |
17 | {{/if}}
18 | {{#each items}}
19 | {{> item}}
20 | {{/each}}
21 |
22 |
23 |
--------------------------------------------------------------------------------
/votingApp end/imports/ui/body.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Level Up Voting
4 | {{> loginButtons}}
5 |
6 |
7 | {{#if showForm}}
8 | {{#if loggedIn}}
9 |
14 | {{/if}}
15 | {{else}}
16 |
17 | {{/if}}
18 | {{#each items}}
19 | {{> item}}
20 | {{/each}}
21 |
22 |
23 |
--------------------------------------------------------------------------------
/votingApp #8/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 |
3 | import Items from '../api/items.js';
4 |
5 | import './body.html';
6 | import './item.js';
7 |
8 | Template.body.helpers({
9 | items() {
10 | return Items.find({});
11 | },
12 | loggedIn() {
13 | return Meteor.userId();
14 | }
15 | });
16 |
17 | Template.body.events({
18 | 'submit .new-items'(event) {
19 | event.preventDefault();
20 | Items.insert({
21 | itemOne: {
22 | text:event.target.item1.value,
23 | value: 0
24 | },
25 | itemTwo: {
26 | text:event.target.item2.value,
27 | value: 0
28 | }
29 | });
30 | event.target.item1.value = '';
31 | event.target.item2.value = '';
32 | }
33 | });
34 |
--------------------------------------------------------------------------------
/votingApp #11/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 |
3 | import Items from '../api/items.js';
4 |
5 | import './body.html';
6 | import './item.js';
7 |
8 | Template.body.onCreated(function() {
9 | Meteor.subscribe('allItems');
10 | });
11 |
12 | Template.body.helpers({
13 | items() {
14 | return Items.find({});
15 | },
16 | loggedIn() {
17 | return Meteor.userId();
18 | }
19 | });
20 |
21 | Template.body.events({
22 | 'submit .new-items'(event) {
23 | event.preventDefault();
24 | Meteor.call('createNewItem', event.target.item1.value, event.target.item2.value, (err, res)=>{
25 | if(err) {
26 | console.log(err);
27 | } else {
28 | event.target.item1.value = '';
29 | event.target.item2.value = '';
30 | }
31 | });
32 | }
33 | });
34 |
--------------------------------------------------------------------------------
/votingApp #11/imports/api/methods.js:
--------------------------------------------------------------------------------
1 | import {Meteor} from 'meteor/meteor';
2 | import {check} from 'meteor/check';
3 |
4 | import Items from './items';
5 |
6 | Meteor.methods({
7 | createNewItem(itemOne, itemTwo) {
8 | check(itemOne, String);
9 | check(itemTwo, String);
10 | Items.insert({
11 | itemOne: {
12 | text:itemOne,
13 | value: 0
14 | },
15 | itemTwo: {
16 | text:itemTwo,
17 | value: 0
18 | }
19 | });
20 | },
21 | voteOnItem(which, id) {
22 | check(which, String);
23 | check(id, String);
24 |
25 | if (which === 'itemOne') {
26 | Items.update(id, {
27 | $inc: {'itemOne.value': 1}
28 | });
29 | } else {
30 | Items.update(id, {
31 | $inc: {'itemTwo.value': 1}
32 | });
33 | }
34 |
35 | }
36 |
37 | });
38 |
--------------------------------------------------------------------------------
/votingApp #12/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 |
3 | import Items from '../api/items.js';
4 |
5 | import './body.html';
6 | import './item.js';
7 |
8 | Template.body.onCreated(function() {
9 | Meteor.subscribe('allItems');
10 | });
11 |
12 | Template.body.helpers({
13 | items() {
14 | return Items.find({}, {
15 | limit: 1,
16 | sort: { lastUpdated: 1 }
17 | });
18 | },
19 | loggedIn() {
20 | return Meteor.userId();
21 | }
22 | });
23 |
24 | Template.body.events({
25 | 'submit .new-items'(event) {
26 | event.preventDefault();
27 | Meteor.call('createNewItem', event.target.item1.value, event.target.item2.value, (err, res)=>{
28 | if(err) {
29 | console.log(err);
30 | } else {
31 | event.target.item1.value = '';
32 | event.target.item2.value = '';
33 | }
34 | });
35 | }
36 | });
37 |
--------------------------------------------------------------------------------
/votingApp #12/imports/api/methods.js:
--------------------------------------------------------------------------------
1 | import {Meteor} from 'meteor/meteor';
2 | import {check} from 'meteor/check';
3 |
4 | import Items from './items';
5 |
6 | Meteor.methods({
7 | createNewItem(itemOne, itemTwo) {
8 | check(itemOne, String);
9 | check(itemTwo, String);
10 | Items.insert({
11 | itemOne: {
12 | text:itemOne,
13 | value: 0
14 | },
15 | itemTwo: {
16 | text:itemTwo,
17 | value: 0
18 | }
19 | });
20 | },
21 | voteOnItem(which, id) {
22 | check(which, String);
23 | check(id, String);
24 | let date = new Date();
25 |
26 | if (which === 'itemOne') {
27 | Items.update(id, {
28 | $inc: {'itemOne.value': 1},
29 | $set: { lastUpdated: date }
30 | });
31 | } else {
32 | Items.update(id, {
33 | $inc: {'itemTwo.value': 1},
34 | $set: { lastUpdated: date }
35 | });
36 | }
37 |
38 | }
39 |
40 | });
41 |
--------------------------------------------------------------------------------
/votingApp #13/imports/api/methods.js:
--------------------------------------------------------------------------------
1 | import {Meteor} from 'meteor/meteor';
2 | import {check} from 'meteor/check';
3 |
4 | import Items from './items';
5 |
6 | Meteor.methods({
7 | createNewItem(itemOne, itemTwo) {
8 | check(itemOne, String);
9 | check(itemTwo, String);
10 | Items.insert({
11 | itemOne: {
12 | text:itemOne,
13 | value: 0
14 | },
15 | itemTwo: {
16 | text:itemTwo,
17 | value: 0
18 | }
19 | });
20 | },
21 | voteOnItem(which, id) {
22 | check(which, String);
23 | check(id, String);
24 | let date = new Date();
25 |
26 | if (which === 'itemOne') {
27 | Items.update(id, {
28 | $inc: {'itemOne.value': 1},
29 | $set: { lastUpdated: date }
30 | });
31 | } else {
32 | Items.update(id, {
33 | $inc: {'itemTwo.value': 1},
34 | $set: { lastUpdated: date }
35 | });
36 | }
37 |
38 | }
39 |
40 | });
41 |
--------------------------------------------------------------------------------
/votingApp end/imports/api/methods.js:
--------------------------------------------------------------------------------
1 | import {Meteor} from 'meteor/meteor';
2 | import {check} from 'meteor/check';
3 |
4 | import Items from './items';
5 |
6 | Meteor.methods({
7 | createNewItem(itemOne, itemTwo) {
8 | check(itemOne, String);
9 | check(itemTwo, String);
10 | Items.insert({
11 | itemOne: {
12 | text:itemOne,
13 | value: 0
14 | },
15 | itemTwo: {
16 | text:itemTwo,
17 | value: 0
18 | }
19 | });
20 | },
21 | voteOnItem(which, id) {
22 | check(which, String);
23 | check(id, String);
24 | let date = new Date();
25 |
26 | if (which === 'itemOne') {
27 | Items.update(id, {
28 | $inc: {'itemOne.value': 1},
29 | $set: { lastUpdated: date }
30 | });
31 | } else {
32 | Items.update(id, {
33 | $inc: {'itemTwo.value': 1},
34 | $set: { lastUpdated: date }
35 | });
36 | }
37 |
38 | }
39 |
40 | });
41 |
--------------------------------------------------------------------------------
/votingApp #11/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 |
22 |
23 | accounts-ui
24 | accounts-password
25 |
--------------------------------------------------------------------------------
/votingApp #12/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 |
22 |
23 | accounts-ui
24 | accounts-password
25 | reactive-dict
26 |
--------------------------------------------------------------------------------
/votingApp #13/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 |
22 |
23 | accounts-ui
24 | accounts-password
25 | reactive-dict
26 | session
27 |
--------------------------------------------------------------------------------
/votingApp #9/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 | autopublish@1.0.7 # Publish all data to the clients (for prototyping)
22 |
23 |
24 | accounts-ui
25 | accounts-password
26 |
--------------------------------------------------------------------------------
/votingApp end/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 |
22 |
23 | accounts-ui
24 | accounts-password
25 | reactive-dict
26 | session
27 | accounts-twitter
28 | accounts-facebook
29 | accounts-google
30 |
--------------------------------------------------------------------------------
/votingApp #3/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 | autopublish@1.0.7 # Publish all data to the clients (for prototyping)
22 | insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
23 |
--------------------------------------------------------------------------------
/votingApp #5/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 | autopublish@1.0.7 # Publish all data to the clients (for prototyping)
22 | insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
23 |
--------------------------------------------------------------------------------
/votingApp #6/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 | autopublish@1.0.7 # Publish all data to the clients (for prototyping)
22 | insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
23 |
--------------------------------------------------------------------------------
/votingApp #7/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 | autopublish@1.0.7 # Publish all data to the clients (for prototyping)
22 | insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
23 |
--------------------------------------------------------------------------------
/votingApp #8/.meteor/packages:
--------------------------------------------------------------------------------
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-base@1.0.4 # Packages every Meteor app needs to have
8 | mobile-experience@1.0.4 # Packages for a great mobile UX
9 | mongo@1.1.12 # The database Meteor supports right now
10 | blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11 | reactive-var@1.0.10 # Reactive variable for tracker
12 | jquery@1.11.9 # Helpful client-side library
13 | tracker@1.1.0 # Meteor's client-side reactive programming library
14 |
15 | standard-minifier-css@1.2.0 # CSS minifier run for production mode
16 | standard-minifier-js@1.2.0 # JS minifier run for production mode
17 | es5-shim@4.6.14 # ECMAScript 5 compatibility for older browsers.
18 | ecmascript@0.5.8 # Enable ECMAScript2015+ syntax in app code
19 | shell-server@0.2.1 # Server-side component of the `meteor shell` command
20 |
21 | autopublish@1.0.7 # Publish all data to the clients (for prototyping)
22 | insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
23 | accounts-ui
24 | accounts-password
25 |
--------------------------------------------------------------------------------
/votingApp #13/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import {ReactiveDict} from 'meteor/reactive-dict';
3 | import {Session} from 'meteor/session';
4 |
5 |
6 | import Items from '../api/items.js';
7 |
8 | import './body.html';
9 | import './item.js';
10 |
11 | Template.body.onCreated(function() {
12 | this.state = new ReactiveDict();
13 | Meteor.subscribe('allItems');
14 | });
15 |
16 | Template.body.helpers({
17 | items() {
18 | return Items.find({}, {
19 | limit: 1,
20 | sort: { lastUpdated: 1 }
21 | });
22 | },
23 | loggedIn() {
24 | return Meteor.userId();
25 | },
26 | showForm() {
27 | const instance = Template.instance();
28 | return instance.state.get('showForm');
29 | },
30 | bgColor() {
31 | return Session.get('bgColor');
32 | }
33 | });
34 |
35 | Template.body.events({
36 | 'click .show-form'(event, instance) {
37 | Session.set('bgColor', 'green');
38 | instance.state.set('showForm', true);
39 | },
40 | 'submit .new-items'(event, instance) {
41 | event.preventDefault();
42 | Meteor.call('createNewItem', event.target.item1.value, event.target.item2.value, (err, res)=>{
43 | if(err) {
44 | console.log(err);
45 | } else {
46 | instance.state.set('showForm', false);
47 | event.target.item1.value = '';
48 | event.target.item2.value = '';
49 | }
50 | });
51 | }
52 | });
53 |
--------------------------------------------------------------------------------
/votingApp end/imports/ui/body.js:
--------------------------------------------------------------------------------
1 | import {Template} from 'meteor/templating';
2 | import {ReactiveDict} from 'meteor/reactive-dict';
3 | import {Session} from 'meteor/session';
4 |
5 |
6 | import Items from '../api/items.js';
7 |
8 | import './body.html';
9 | import './item.js';
10 |
11 | Template.body.onCreated(function() {
12 | this.state = new ReactiveDict();
13 | Meteor.subscribe('allItems');
14 | });
15 |
16 | Template.body.helpers({
17 | items() {
18 | return Items.find({}, {
19 | limit: 1,
20 | sort: { lastUpdated: 1 }
21 | });
22 | },
23 | loggedIn() {
24 | return Meteor.userId();
25 | },
26 | showForm() {
27 | const instance = Template.instance();
28 | return instance.state.get('showForm');
29 | },
30 | bgColor() {
31 | return Session.get('bgColor');
32 | }
33 | });
34 |
35 | Template.body.events({
36 | 'click .show-form'(event, instance) {
37 | Session.set('bgColor', 'green');
38 | instance.state.set('showForm', true);
39 | },
40 | 'submit .new-items'(event, instance) {
41 | event.preventDefault();
42 | Meteor.call('createNewItem', event.target.item1.value, event.target.item2.value, (err, res)=>{
43 | if(err) {
44 | console.log(err);
45 | } else {
46 | instance.state.set('showForm', false);
47 | event.target.item1.value = '';
48 | event.target.item2.value = '';
49 | }
50 | });
51 | }
52 | });
53 |
--------------------------------------------------------------------------------
/votingApp #3/.meteor/versions:
--------------------------------------------------------------------------------
1 | allow-deny@1.0.5
2 | autopublish@1.0.7
3 | autoupdate@1.2.11
4 | babel-compiler@6.9.1
5 | babel-runtime@0.1.11
6 | base64@1.0.9
7 | binary-heap@1.0.9
8 | blaze@2.1.8
9 | blaze-html-templates@1.0.4
10 | blaze-tools@1.0.9
11 | boilerplate-generator@1.0.9
12 | caching-compiler@1.0.6
13 | caching-html-compiler@1.0.6
14 | callback-hook@1.0.9
15 | check@1.2.3
16 | ddp@1.2.5
17 | ddp-client@1.2.9
18 | ddp-common@1.2.6
19 | ddp-server@1.2.10
20 | deps@1.0.12
21 | diff-sequence@1.0.6
22 | ecmascript@0.5.8
23 | ecmascript-runtime@0.3.14
24 | ejson@1.0.12
25 | es5-shim@4.6.14
26 | fastclick@1.0.12
27 | geojson-utils@1.0.9
28 | hot-code-push@1.0.4
29 | html-tools@1.0.10
30 | htmljs@1.0.10
31 | http@1.1.8
32 | id-map@1.0.8
33 | insecure@1.0.7
34 | jquery@1.11.9
35 | launch-screen@1.0.12
36 | livedata@1.0.18
37 | logging@1.1.15
38 | meteor@1.2.17
39 | meteor-base@1.0.4
40 | minifier-css@1.2.14
41 | minifier-js@1.2.14
42 | minimongo@1.0.17
43 | mobile-experience@1.0.4
44 | mobile-status-bar@1.0.12
45 | modules@0.7.6
46 | modules-runtime@0.7.6
47 | mongo@1.1.12
48 | mongo-id@1.0.5
49 | npm-mongo@1.5.48
50 | observe-sequence@1.0.12
51 | ordered-dict@1.0.8
52 | promise@0.8.4
53 | random@1.0.10
54 | reactive-var@1.0.10
55 | reload@1.1.10
56 | retry@1.0.8
57 | routepolicy@1.0.11
58 | shell-server@0.2.1
59 | spacebars@1.0.12
60 | spacebars-compiler@1.0.12
61 | standard-minifier-css@1.2.0
62 | standard-minifier-js@1.2.0
63 | templating@1.1.14
64 | templating-tools@1.0.4
65 | tracker@1.1.0
66 | ui@1.0.11
67 | underscore@1.0.9
68 | url@1.0.10
69 | webapp@1.3.11
70 | webapp-hashing@1.0.9
71 |
--------------------------------------------------------------------------------
/votingApp #5/.meteor/versions:
--------------------------------------------------------------------------------
1 | allow-deny@1.0.5
2 | autopublish@1.0.7
3 | autoupdate@1.2.11
4 | babel-compiler@6.9.1
5 | babel-runtime@0.1.11
6 | base64@1.0.9
7 | binary-heap@1.0.9
8 | blaze@2.1.8
9 | blaze-html-templates@1.0.4
10 | blaze-tools@1.0.9
11 | boilerplate-generator@1.0.9
12 | caching-compiler@1.0.6
13 | caching-html-compiler@1.0.6
14 | callback-hook@1.0.9
15 | check@1.2.3
16 | ddp@1.2.5
17 | ddp-client@1.2.9
18 | ddp-common@1.2.6
19 | ddp-server@1.2.10
20 | deps@1.0.12
21 | diff-sequence@1.0.6
22 | ecmascript@0.5.8
23 | ecmascript-runtime@0.3.14
24 | ejson@1.0.12
25 | es5-shim@4.6.14
26 | fastclick@1.0.12
27 | geojson-utils@1.0.9
28 | hot-code-push@1.0.4
29 | html-tools@1.0.10
30 | htmljs@1.0.10
31 | http@1.1.8
32 | id-map@1.0.8
33 | insecure@1.0.7
34 | jquery@1.11.9
35 | launch-screen@1.0.12
36 | livedata@1.0.18
37 | logging@1.1.15
38 | meteor@1.2.17
39 | meteor-base@1.0.4
40 | minifier-css@1.2.14
41 | minifier-js@1.2.14
42 | minimongo@1.0.17
43 | mobile-experience@1.0.4
44 | mobile-status-bar@1.0.12
45 | modules@0.7.6
46 | modules-runtime@0.7.6
47 | mongo@1.1.12
48 | mongo-id@1.0.5
49 | npm-mongo@1.5.48
50 | observe-sequence@1.0.12
51 | ordered-dict@1.0.8
52 | promise@0.8.4
53 | random@1.0.10
54 | reactive-var@1.0.10
55 | reload@1.1.10
56 | retry@1.0.8
57 | routepolicy@1.0.11
58 | shell-server@0.2.1
59 | spacebars@1.0.12
60 | spacebars-compiler@1.0.12
61 | standard-minifier-css@1.2.0
62 | standard-minifier-js@1.2.0
63 | templating@1.1.14
64 | templating-tools@1.0.4
65 | tracker@1.1.0
66 | ui@1.0.11
67 | underscore@1.0.9
68 | url@1.0.10
69 | webapp@1.3.11
70 | webapp-hashing@1.0.9
71 |
--------------------------------------------------------------------------------
/votingApp #6/.meteor/versions:
--------------------------------------------------------------------------------
1 | allow-deny@1.0.5
2 | autopublish@1.0.7
3 | autoupdate@1.2.11
4 | babel-compiler@6.9.1
5 | babel-runtime@0.1.11
6 | base64@1.0.9
7 | binary-heap@1.0.9
8 | blaze@2.1.8
9 | blaze-html-templates@1.0.4
10 | blaze-tools@1.0.9
11 | boilerplate-generator@1.0.9
12 | caching-compiler@1.0.6
13 | caching-html-compiler@1.0.6
14 | callback-hook@1.0.9
15 | check@1.2.3
16 | ddp@1.2.5
17 | ddp-client@1.2.9
18 | ddp-common@1.2.6
19 | ddp-server@1.2.10
20 | deps@1.0.12
21 | diff-sequence@1.0.6
22 | ecmascript@0.5.8
23 | ecmascript-runtime@0.3.14
24 | ejson@1.0.12
25 | es5-shim@4.6.14
26 | fastclick@1.0.12
27 | geojson-utils@1.0.9
28 | hot-code-push@1.0.4
29 | html-tools@1.0.10
30 | htmljs@1.0.10
31 | http@1.1.8
32 | id-map@1.0.8
33 | insecure@1.0.7
34 | jquery@1.11.9
35 | launch-screen@1.0.12
36 | livedata@1.0.18
37 | logging@1.1.15
38 | meteor@1.2.17
39 | meteor-base@1.0.4
40 | minifier-css@1.2.14
41 | minifier-js@1.2.14
42 | minimongo@1.0.17
43 | mobile-experience@1.0.4
44 | mobile-status-bar@1.0.12
45 | modules@0.7.6
46 | modules-runtime@0.7.6
47 | mongo@1.1.12
48 | mongo-id@1.0.5
49 | npm-mongo@1.5.48
50 | observe-sequence@1.0.12
51 | ordered-dict@1.0.8
52 | promise@0.8.4
53 | random@1.0.10
54 | reactive-var@1.0.10
55 | reload@1.1.10
56 | retry@1.0.8
57 | routepolicy@1.0.11
58 | shell-server@0.2.1
59 | spacebars@1.0.12
60 | spacebars-compiler@1.0.12
61 | standard-minifier-css@1.2.0
62 | standard-minifier-js@1.2.0
63 | templating@1.1.14
64 | templating-tools@1.0.4
65 | tracker@1.1.0
66 | ui@1.0.11
67 | underscore@1.0.9
68 | url@1.0.10
69 | webapp@1.3.11
70 | webapp-hashing@1.0.9
71 |
--------------------------------------------------------------------------------
/votingApp #7/.meteor/versions:
--------------------------------------------------------------------------------
1 | allow-deny@1.0.5
2 | autopublish@1.0.7
3 | autoupdate@1.2.11
4 | babel-compiler@6.9.1
5 | babel-runtime@0.1.11
6 | base64@1.0.9
7 | binary-heap@1.0.9
8 | blaze@2.1.8
9 | blaze-html-templates@1.0.4
10 | blaze-tools@1.0.9
11 | boilerplate-generator@1.0.9
12 | caching-compiler@1.0.6
13 | caching-html-compiler@1.0.6
14 | callback-hook@1.0.9
15 | check@1.2.3
16 | ddp@1.2.5
17 | ddp-client@1.2.9
18 | ddp-common@1.2.6
19 | ddp-server@1.2.10
20 | deps@1.0.12
21 | diff-sequence@1.0.6
22 | ecmascript@0.5.8
23 | ecmascript-runtime@0.3.14
24 | ejson@1.0.12
25 | es5-shim@4.6.14
26 | fastclick@1.0.12
27 | geojson-utils@1.0.9
28 | hot-code-push@1.0.4
29 | html-tools@1.0.10
30 | htmljs@1.0.10
31 | http@1.1.8
32 | id-map@1.0.8
33 | insecure@1.0.7
34 | jquery@1.11.9
35 | launch-screen@1.0.12
36 | livedata@1.0.18
37 | logging@1.1.15
38 | meteor@1.2.17
39 | meteor-base@1.0.4
40 | minifier-css@1.2.14
41 | minifier-js@1.2.14
42 | minimongo@1.0.17
43 | mobile-experience@1.0.4
44 | mobile-status-bar@1.0.12
45 | modules@0.7.6
46 | modules-runtime@0.7.6
47 | mongo@1.1.12
48 | mongo-id@1.0.5
49 | npm-mongo@1.5.48
50 | observe-sequence@1.0.12
51 | ordered-dict@1.0.8
52 | promise@0.8.4
53 | random@1.0.10
54 | reactive-var@1.0.10
55 | reload@1.1.10
56 | retry@1.0.8
57 | routepolicy@1.0.11
58 | shell-server@0.2.1
59 | spacebars@1.0.12
60 | spacebars-compiler@1.0.12
61 | standard-minifier-css@1.2.0
62 | standard-minifier-js@1.2.0
63 | templating@1.1.14
64 | templating-tools@1.0.4
65 | tracker@1.1.0
66 | ui@1.0.11
67 | underscore@1.0.9
68 | url@1.0.10
69 | webapp@1.3.11
70 | webapp-hashing@1.0.9
71 |
--------------------------------------------------------------------------------
/votingApp #11/.meteor/versions:
--------------------------------------------------------------------------------
1 | accounts-base@1.2.11
2 | accounts-password@1.3.0
3 | accounts-ui@1.1.9
4 | accounts-ui-unstyled@1.1.12
5 | allow-deny@1.0.5
6 | autoupdate@1.2.11
7 | babel-compiler@6.9.1
8 | babel-runtime@0.1.11
9 | base64@1.0.9
10 | binary-heap@1.0.9
11 | blaze@2.1.8
12 | blaze-html-templates@1.0.4
13 | blaze-tools@1.0.9
14 | boilerplate-generator@1.0.9
15 | caching-compiler@1.0.6
16 | caching-html-compiler@1.0.6
17 | callback-hook@1.0.9
18 | check@1.2.3
19 | ddp@1.2.5
20 | ddp-client@1.2.9
21 | ddp-common@1.2.6
22 | ddp-rate-limiter@1.0.5
23 | ddp-server@1.2.10
24 | deps@1.0.12
25 | diff-sequence@1.0.6
26 | ecmascript@0.5.8
27 | ecmascript-runtime@0.3.14
28 | ejson@1.0.12
29 | email@1.1.17
30 | es5-shim@4.6.14
31 | fastclick@1.0.12
32 | geojson-utils@1.0.9
33 | hot-code-push@1.0.4
34 | html-tools@1.0.10
35 | htmljs@1.0.10
36 | http@1.1.8
37 | id-map@1.0.8
38 | jquery@1.11.9
39 | launch-screen@1.0.12
40 | less@2.6.5
41 | livedata@1.0.18
42 | localstorage@1.0.11
43 | logging@1.1.15
44 | meteor@1.2.17
45 | meteor-base@1.0.4
46 | minifier-css@1.2.14
47 | minifier-js@1.2.14
48 | minimongo@1.0.17
49 | mobile-experience@1.0.4
50 | mobile-status-bar@1.0.12
51 | modules@0.7.6
52 | modules-runtime@0.7.6
53 | mongo@1.1.12
54 | mongo-id@1.0.5
55 | npm-bcrypt@0.9.1
56 | npm-mongo@1.5.48
57 | observe-sequence@1.0.12
58 | ordered-dict@1.0.8
59 | promise@0.8.4
60 | random@1.0.10
61 | rate-limit@1.0.5
62 | reactive-dict@1.1.8
63 | reactive-var@1.0.10
64 | reload@1.1.10
65 | retry@1.0.8
66 | routepolicy@1.0.11
67 | service-configuration@1.0.10
68 | session@1.1.6
69 | sha@1.0.8
70 | shell-server@0.2.1
71 | spacebars@1.0.12
72 | spacebars-compiler@1.0.12
73 | srp@1.0.9
74 | standard-minifier-css@1.2.0
75 | standard-minifier-js@1.2.0
76 | templating@1.1.14
77 | templating-tools@1.0.4
78 | tracker@1.1.0
79 | ui@1.0.11
80 | underscore@1.0.9
81 | url@1.0.10
82 | webapp@1.3.11
83 | webapp-hashing@1.0.9
84 |
--------------------------------------------------------------------------------
/votingApp #12/.meteor/versions:
--------------------------------------------------------------------------------
1 | accounts-base@1.2.11
2 | accounts-password@1.3.0
3 | accounts-ui@1.1.9
4 | accounts-ui-unstyled@1.1.12
5 | allow-deny@1.0.5
6 | autoupdate@1.2.11
7 | babel-compiler@6.9.1
8 | babel-runtime@0.1.11
9 | base64@1.0.9
10 | binary-heap@1.0.9
11 | blaze@2.1.8
12 | blaze-html-templates@1.0.4
13 | blaze-tools@1.0.9
14 | boilerplate-generator@1.0.9
15 | caching-compiler@1.0.6
16 | caching-html-compiler@1.0.6
17 | callback-hook@1.0.9
18 | check@1.2.3
19 | ddp@1.2.5
20 | ddp-client@1.2.9
21 | ddp-common@1.2.6
22 | ddp-rate-limiter@1.0.5
23 | ddp-server@1.2.10
24 | deps@1.0.12
25 | diff-sequence@1.0.6
26 | ecmascript@0.5.8
27 | ecmascript-runtime@0.3.14
28 | ejson@1.0.12
29 | email@1.1.17
30 | es5-shim@4.6.14
31 | fastclick@1.0.12
32 | geojson-utils@1.0.9
33 | hot-code-push@1.0.4
34 | html-tools@1.0.10
35 | htmljs@1.0.10
36 | http@1.1.8
37 | id-map@1.0.8
38 | jquery@1.11.9
39 | launch-screen@1.0.12
40 | less@2.6.5
41 | livedata@1.0.18
42 | localstorage@1.0.11
43 | logging@1.1.15
44 | meteor@1.2.17
45 | meteor-base@1.0.4
46 | minifier-css@1.2.14
47 | minifier-js@1.2.14
48 | minimongo@1.0.17
49 | mobile-experience@1.0.4
50 | mobile-status-bar@1.0.12
51 | modules@0.7.6
52 | modules-runtime@0.7.6
53 | mongo@1.1.12
54 | mongo-id@1.0.5
55 | npm-bcrypt@0.9.1
56 | npm-mongo@1.5.48
57 | observe-sequence@1.0.12
58 | ordered-dict@1.0.8
59 | promise@0.8.4
60 | random@1.0.10
61 | rate-limit@1.0.5
62 | reactive-dict@1.1.8
63 | reactive-var@1.0.10
64 | reload@1.1.10
65 | retry@1.0.8
66 | routepolicy@1.0.11
67 | service-configuration@1.0.10
68 | session@1.1.6
69 | sha@1.0.8
70 | shell-server@0.2.1
71 | spacebars@1.0.12
72 | spacebars-compiler@1.0.12
73 | srp@1.0.9
74 | standard-minifier-css@1.2.0
75 | standard-minifier-js@1.2.0
76 | templating@1.1.14
77 | templating-tools@1.0.4
78 | tracker@1.1.0
79 | ui@1.0.11
80 | underscore@1.0.9
81 | url@1.0.10
82 | webapp@1.3.11
83 | webapp-hashing@1.0.9
84 |
--------------------------------------------------------------------------------
/votingApp #13/.meteor/versions:
--------------------------------------------------------------------------------
1 | accounts-base@1.2.11
2 | accounts-password@1.3.0
3 | accounts-ui@1.1.9
4 | accounts-ui-unstyled@1.1.12
5 | allow-deny@1.0.5
6 | autoupdate@1.2.11
7 | babel-compiler@6.9.1
8 | babel-runtime@0.1.11
9 | base64@1.0.9
10 | binary-heap@1.0.9
11 | blaze@2.1.8
12 | blaze-html-templates@1.0.4
13 | blaze-tools@1.0.9
14 | boilerplate-generator@1.0.9
15 | caching-compiler@1.0.6
16 | caching-html-compiler@1.0.6
17 | callback-hook@1.0.9
18 | check@1.2.3
19 | ddp@1.2.5
20 | ddp-client@1.2.9
21 | ddp-common@1.2.6
22 | ddp-rate-limiter@1.0.5
23 | ddp-server@1.2.10
24 | deps@1.0.12
25 | diff-sequence@1.0.6
26 | ecmascript@0.5.8
27 | ecmascript-runtime@0.3.14
28 | ejson@1.0.12
29 | email@1.1.17
30 | es5-shim@4.6.14
31 | fastclick@1.0.12
32 | geojson-utils@1.0.9
33 | hot-code-push@1.0.4
34 | html-tools@1.0.10
35 | htmljs@1.0.10
36 | http@1.1.8
37 | id-map@1.0.8
38 | jquery@1.11.9
39 | launch-screen@1.0.12
40 | less@2.6.5
41 | livedata@1.0.18
42 | localstorage@1.0.11
43 | logging@1.1.15
44 | meteor@1.2.17
45 | meteor-base@1.0.4
46 | minifier-css@1.2.14
47 | minifier-js@1.2.14
48 | minimongo@1.0.17
49 | mobile-experience@1.0.4
50 | mobile-status-bar@1.0.12
51 | modules@0.7.6
52 | modules-runtime@0.7.6
53 | mongo@1.1.12
54 | mongo-id@1.0.5
55 | npm-bcrypt@0.9.1
56 | npm-mongo@1.5.48
57 | observe-sequence@1.0.12
58 | ordered-dict@1.0.8
59 | promise@0.8.4
60 | random@1.0.10
61 | rate-limit@1.0.5
62 | reactive-dict@1.1.8
63 | reactive-var@1.0.10
64 | reload@1.1.10
65 | retry@1.0.8
66 | routepolicy@1.0.11
67 | service-configuration@1.0.10
68 | session@1.1.6
69 | sha@1.0.8
70 | shell-server@0.2.1
71 | spacebars@1.0.12
72 | spacebars-compiler@1.0.12
73 | srp@1.0.9
74 | standard-minifier-css@1.2.0
75 | standard-minifier-js@1.2.0
76 | templating@1.1.14
77 | templating-tools@1.0.4
78 | tracker@1.1.0
79 | ui@1.0.11
80 | underscore@1.0.9
81 | url@1.0.10
82 | webapp@1.3.11
83 | webapp-hashing@1.0.9
84 |
--------------------------------------------------------------------------------
/votingApp #9/.meteor/versions:
--------------------------------------------------------------------------------
1 | accounts-base@1.2.11
2 | accounts-password@1.3.0
3 | accounts-ui@1.1.9
4 | accounts-ui-unstyled@1.1.12
5 | allow-deny@1.0.5
6 | autopublish@1.0.7
7 | autoupdate@1.2.11
8 | babel-compiler@6.9.1
9 | babel-runtime@0.1.11
10 | base64@1.0.9
11 | binary-heap@1.0.9
12 | blaze@2.1.8
13 | blaze-html-templates@1.0.4
14 | blaze-tools@1.0.9
15 | boilerplate-generator@1.0.9
16 | caching-compiler@1.0.6
17 | caching-html-compiler@1.0.6
18 | callback-hook@1.0.9
19 | check@1.2.3
20 | ddp@1.2.5
21 | ddp-client@1.2.9
22 | ddp-common@1.2.6
23 | ddp-rate-limiter@1.0.5
24 | ddp-server@1.2.10
25 | deps@1.0.12
26 | diff-sequence@1.0.6
27 | ecmascript@0.5.8
28 | ecmascript-runtime@0.3.14
29 | ejson@1.0.12
30 | email@1.1.17
31 | es5-shim@4.6.14
32 | fastclick@1.0.12
33 | geojson-utils@1.0.9
34 | hot-code-push@1.0.4
35 | html-tools@1.0.10
36 | htmljs@1.0.10
37 | http@1.1.8
38 | id-map@1.0.8
39 | jquery@1.11.9
40 | launch-screen@1.0.12
41 | less@2.6.5
42 | livedata@1.0.18
43 | localstorage@1.0.11
44 | logging@1.1.15
45 | meteor@1.2.17
46 | meteor-base@1.0.4
47 | minifier-css@1.2.14
48 | minifier-js@1.2.14
49 | minimongo@1.0.17
50 | mobile-experience@1.0.4
51 | mobile-status-bar@1.0.12
52 | modules@0.7.6
53 | modules-runtime@0.7.6
54 | mongo@1.1.12
55 | mongo-id@1.0.5
56 | npm-bcrypt@0.9.1
57 | npm-mongo@1.5.48
58 | observe-sequence@1.0.12
59 | ordered-dict@1.0.8
60 | promise@0.8.4
61 | random@1.0.10
62 | rate-limit@1.0.5
63 | reactive-dict@1.1.8
64 | reactive-var@1.0.10
65 | reload@1.1.10
66 | retry@1.0.8
67 | routepolicy@1.0.11
68 | service-configuration@1.0.10
69 | session@1.1.6
70 | sha@1.0.8
71 | shell-server@0.2.1
72 | spacebars@1.0.12
73 | spacebars-compiler@1.0.12
74 | srp@1.0.9
75 | standard-minifier-css@1.2.0
76 | standard-minifier-js@1.2.0
77 | templating@1.1.14
78 | templating-tools@1.0.4
79 | tracker@1.1.0
80 | ui@1.0.11
81 | underscore@1.0.9
82 | url@1.0.10
83 | webapp@1.3.11
84 | webapp-hashing@1.0.9
85 |
--------------------------------------------------------------------------------
/votingApp #8/.meteor/versions:
--------------------------------------------------------------------------------
1 | accounts-base@1.2.11
2 | accounts-password@1.3.0
3 | accounts-ui@1.1.9
4 | accounts-ui-unstyled@1.1.12
5 | allow-deny@1.0.5
6 | autopublish@1.0.7
7 | autoupdate@1.2.11
8 | babel-compiler@6.9.1
9 | babel-runtime@0.1.11
10 | base64@1.0.9
11 | binary-heap@1.0.9
12 | blaze@2.1.8
13 | blaze-html-templates@1.0.4
14 | blaze-tools@1.0.9
15 | boilerplate-generator@1.0.9
16 | caching-compiler@1.0.6
17 | caching-html-compiler@1.0.6
18 | callback-hook@1.0.9
19 | check@1.2.3
20 | ddp@1.2.5
21 | ddp-client@1.2.9
22 | ddp-common@1.2.6
23 | ddp-rate-limiter@1.0.5
24 | ddp-server@1.2.10
25 | deps@1.0.12
26 | diff-sequence@1.0.6
27 | ecmascript@0.5.8
28 | ecmascript-runtime@0.3.14
29 | ejson@1.0.12
30 | email@1.1.17
31 | es5-shim@4.6.14
32 | fastclick@1.0.12
33 | geojson-utils@1.0.9
34 | hot-code-push@1.0.4
35 | html-tools@1.0.10
36 | htmljs@1.0.10
37 | http@1.1.8
38 | id-map@1.0.8
39 | insecure@1.0.7
40 | jquery@1.11.9
41 | launch-screen@1.0.12
42 | less@2.6.5
43 | livedata@1.0.18
44 | localstorage@1.0.11
45 | logging@1.1.15
46 | meteor@1.2.17
47 | meteor-base@1.0.4
48 | minifier-css@1.2.14
49 | minifier-js@1.2.14
50 | minimongo@1.0.17
51 | mobile-experience@1.0.4
52 | mobile-status-bar@1.0.12
53 | modules@0.7.6
54 | modules-runtime@0.7.6
55 | mongo@1.1.12
56 | mongo-id@1.0.5
57 | npm-bcrypt@0.9.1
58 | npm-mongo@1.5.48
59 | observe-sequence@1.0.12
60 | ordered-dict@1.0.8
61 | promise@0.8.4
62 | random@1.0.10
63 | rate-limit@1.0.5
64 | reactive-dict@1.1.8
65 | reactive-var@1.0.10
66 | reload@1.1.10
67 | retry@1.0.8
68 | routepolicy@1.0.11
69 | service-configuration@1.0.10
70 | session@1.1.6
71 | sha@1.0.8
72 | shell-server@0.2.1
73 | spacebars@1.0.12
74 | spacebars-compiler@1.0.12
75 | srp@1.0.9
76 | standard-minifier-css@1.2.0
77 | standard-minifier-js@1.2.0
78 | templating@1.1.14
79 | templating-tools@1.0.4
80 | tracker@1.1.0
81 | ui@1.0.11
82 | underscore@1.0.9
83 | url@1.0.10
84 | webapp@1.3.11
85 | webapp-hashing@1.0.9
86 |
--------------------------------------------------------------------------------
/votingApp end/.meteor/versions:
--------------------------------------------------------------------------------
1 | accounts-base@1.2.11
2 | accounts-facebook@1.0.10
3 | accounts-google@1.0.10
4 | accounts-oauth@1.1.13
5 | accounts-password@1.3.0
6 | accounts-twitter@1.0.10
7 | accounts-ui@1.1.9
8 | accounts-ui-unstyled@1.1.12
9 | allow-deny@1.0.5
10 | autoupdate@1.2.11
11 | babel-compiler@6.9.1
12 | babel-runtime@0.1.11
13 | base64@1.0.9
14 | binary-heap@1.0.9
15 | blaze@2.1.8
16 | blaze-html-templates@1.0.4
17 | blaze-tools@1.0.9
18 | boilerplate-generator@1.0.9
19 | caching-compiler@1.0.6
20 | caching-html-compiler@1.0.6
21 | callback-hook@1.0.9
22 | check@1.2.3
23 | ddp@1.2.5
24 | ddp-client@1.2.9
25 | ddp-common@1.2.6
26 | ddp-rate-limiter@1.0.5
27 | ddp-server@1.2.10
28 | deps@1.0.12
29 | diff-sequence@1.0.6
30 | ecmascript@0.5.8
31 | ecmascript-runtime@0.3.14
32 | ejson@1.0.12
33 | email@1.1.17
34 | es5-shim@4.6.14
35 | facebook@1.2.8
36 | fastclick@1.0.12
37 | geojson-utils@1.0.9
38 | google@1.1.13
39 | hot-code-push@1.0.4
40 | html-tools@1.0.10
41 | htmljs@1.0.10
42 | http@1.1.8
43 | id-map@1.0.8
44 | jquery@1.11.9
45 | launch-screen@1.0.12
46 | less@2.6.5
47 | livedata@1.0.18
48 | localstorage@1.0.11
49 | logging@1.1.15
50 | meteor@1.2.17
51 | meteor-base@1.0.4
52 | minifier-css@1.2.14
53 | minifier-js@1.2.14
54 | minimongo@1.0.17
55 | mobile-experience@1.0.4
56 | mobile-status-bar@1.0.12
57 | modules@0.7.6
58 | modules-runtime@0.7.6
59 | mongo@1.1.12
60 | mongo-id@1.0.5
61 | npm-bcrypt@0.9.1
62 | npm-mongo@1.5.48
63 | oauth@1.1.11
64 | oauth1@1.1.10
65 | oauth2@1.1.10
66 | observe-sequence@1.0.12
67 | ordered-dict@1.0.8
68 | promise@0.8.4
69 | random@1.0.10
70 | rate-limit@1.0.5
71 | reactive-dict@1.1.8
72 | reactive-var@1.0.10
73 | reload@1.1.10
74 | retry@1.0.8
75 | routepolicy@1.0.11
76 | service-configuration@1.0.10
77 | session@1.1.6
78 | sha@1.0.8
79 | shell-server@0.2.1
80 | spacebars@1.0.12
81 | spacebars-compiler@1.0.12
82 | srp@1.0.9
83 | standard-minifier-css@1.2.0
84 | standard-minifier-js@1.2.0
85 | templating@1.1.14
86 | templating-tools@1.0.4
87 | tracker@1.1.0
88 | twitter@1.1.11
89 | ui@1.0.11
90 | underscore@1.0.9
91 | url@1.0.10
92 | webapp@1.3.11
93 | webapp-hashing@1.0.9
94 |
--------------------------------------------------------------------------------
/votingApp #12/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 | /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
3 |
4 | /**
5 | * 1. Change the default font family in all browsers (opinionated).
6 | * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
7 | */
8 |
9 | html {
10 | font-family: sans-serif; /* 1 */
11 | -ms-text-size-adjust: 100%; /* 2 */
12 | -webkit-text-size-adjust: 100%; /* 2 */
13 | }
14 |
15 | /**
16 | * Remove the margin in all browsers (opinionated).
17 | */
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | /* HTML5 display definitions
24 | ========================================================================== */
25 |
26 | /**
27 | * Add the correct display in IE 9-.
28 | * 1. Add the correct display in Edge, IE, and Firefox.
29 | * 2. Add the correct display in IE.
30 | */
31 |
32 | article,
33 | aside,
34 | details, /* 1 */
35 | figcaption,
36 | figure,
37 | footer,
38 | header,
39 | main, /* 2 */
40 | menu,
41 | nav,
42 | section,
43 | summary { /* 1 */
44 | display: block;
45 | }
46 |
47 | /**
48 | * Add the correct display in IE 9-.
49 | */
50 |
51 | audio,
52 | canvas,
53 | progress,
54 | video {
55 | display: inline-block;
56 | }
57 |
58 | /**
59 | * Add the correct display in iOS 4-7.
60 | */
61 |
62 | audio:not([controls]) {
63 | display: none;
64 | height: 0;
65 | }
66 |
67 | /**
68 | * Add the correct vertical alignment in Chrome, Firefox, and Opera.
69 | */
70 |
71 | progress {
72 | vertical-align: baseline;
73 | }
74 |
75 | /**
76 | * Add the correct display in IE 10-.
77 | * 1. Add the correct display in IE.
78 | */
79 |
80 | template, /* 1 */
81 | [hidden] {
82 | display: none;
83 | }
84 |
85 | /* Links
86 | ========================================================================== */
87 |
88 | /**
89 | * 1. Remove the gray background on active links in IE 10.
90 | * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
91 | */
92 |
93 | a {
94 | background-color: transparent; /* 1 */
95 | -webkit-text-decoration-skip: objects; /* 2 */
96 | }
97 |
98 | /**
99 | * Remove the outline on focused links when they are also active or hovered
100 | * in all browsers (opinionated).
101 | */
102 |
103 | a:active,
104 | a:hover {
105 | outline-width: 0;
106 | }
107 |
108 | /* Text-level semantics
109 | ========================================================================== */
110 |
111 | /**
112 | * 1. Remove the bottom border in Firefox 39-.
113 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
114 | */
115 |
116 | abbr[title] {
117 | border-bottom: none; /* 1 */
118 | text-decoration: underline; /* 2 */
119 | text-decoration: underline dotted; /* 2 */
120 | }
121 |
122 | /**
123 | * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
124 | */
125 |
126 | b,
127 | strong {
128 | font-weight: inherit;
129 | }
130 |
131 | /**
132 | * Add the correct font weight in Chrome, Edge, and Safari.
133 | */
134 |
135 | b,
136 | strong {
137 | font-weight: bolder;
138 | }
139 |
140 | /**
141 | * Add the correct font style in Android 4.3-.
142 | */
143 |
144 | dfn {
145 | font-style: italic;
146 | }
147 |
148 | /**
149 | * Correct the font size and margin on `h1` elements within `section` and
150 | * `article` contexts in Chrome, Firefox, and Safari.
151 | */
152 |
153 | h1 {
154 | font-size: 2em;
155 | margin: 0.67em 0;
156 | }
157 |
158 | /**
159 | * Add the correct background and color in IE 9-.
160 | */
161 |
162 | mark {
163 | background-color: #ff0;
164 | color: #000;
165 | }
166 |
167 | /**
168 | * Add the correct font size in all browsers.
169 | */
170 |
171 | small {
172 | font-size: 80%;
173 | }
174 |
175 | /**
176 | * Prevent `sub` and `sup` elements from affecting the line height in
177 | * all browsers.
178 | */
179 |
180 | sub,
181 | sup {
182 | font-size: 75%;
183 | line-height: 0;
184 | position: relative;
185 | vertical-align: baseline;
186 | }
187 |
188 | sub {
189 | bottom: -0.25em;
190 | }
191 |
192 | sup {
193 | top: -0.5em;
194 | }
195 |
196 | /* Embedded content
197 | ========================================================================== */
198 |
199 | /**
200 | * Remove the border on images inside links in IE 10-.
201 | */
202 |
203 | img {
204 | border-style: none;
205 | }
206 |
207 | /**
208 | * Hide the overflow in IE.
209 | */
210 |
211 | svg:not(:root) {
212 | overflow: hidden;
213 | }
214 |
215 | /* Grouping content
216 | ========================================================================== */
217 |
218 | /**
219 | * 1. Correct the inheritance and scaling of font size in all browsers.
220 | * 2. Correct the odd `em` font sizing in all browsers.
221 | */
222 |
223 | code,
224 | kbd,
225 | pre,
226 | samp {
227 | font-family: monospace, monospace; /* 1 */
228 | font-size: 1em; /* 2 */
229 | }
230 |
231 | /**
232 | * Add the correct margin in IE 8.
233 | */
234 |
235 | figure {
236 | margin: 1em 40px;
237 | }
238 |
239 | /**
240 | * 1. Add the correct box sizing in Firefox.
241 | * 2. Show the overflow in Edge and IE.
242 | */
243 |
244 | hr {
245 | box-sizing: content-box; /* 1 */
246 | height: 0; /* 1 */
247 | overflow: visible; /* 2 */
248 | }
249 |
250 | /* Forms
251 | ========================================================================== */
252 |
253 | /**
254 | * 1. Change font properties to `inherit` in all browsers (opinionated).
255 | * 2. Remove the margin in Firefox and Safari.
256 | */
257 |
258 | button,
259 | input,
260 | select,
261 | textarea {
262 | font: inherit; /* 1 */
263 | margin: 0; /* 2 */
264 | }
265 |
266 | /**
267 | * Restore the font weight unset by the previous rule.
268 | */
269 |
270 | optgroup {
271 | font-weight: bold;
272 | }
273 |
274 | /**
275 | * Show the overflow in IE.
276 | * 1. Show the overflow in Edge.
277 | */
278 |
279 | button,
280 | input { /* 1 */
281 | overflow: visible;
282 | }
283 |
284 | /**
285 | * Remove the inheritance of text transform in Edge, Firefox, and IE.
286 | * 1. Remove the inheritance of text transform in Firefox.
287 | */
288 |
289 | button,
290 | select { /* 1 */
291 | text-transform: none;
292 | }
293 |
294 | /**
295 | * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
296 | * controls in Android 4.
297 | * 2. Correct the inability to style clickable types in iOS and Safari.
298 | */
299 |
300 | button,
301 | html [type="button"], /* 1 */
302 | [type="reset"],
303 | [type="submit"] {
304 | -webkit-appearance: button; /* 2 */
305 | }
306 |
307 | /**
308 | * Remove the inner border and padding in Firefox.
309 | */
310 |
311 | button::-moz-focus-inner,
312 | [type="button"]::-moz-focus-inner,
313 | [type="reset"]::-moz-focus-inner,
314 | [type="submit"]::-moz-focus-inner {
315 | border-style: none;
316 | padding: 0;
317 | }
318 |
319 | /**
320 | * Restore the focus styles unset by the previous rule.
321 | */
322 |
323 | button:-moz-focusring,
324 | [type="button"]:-moz-focusring,
325 | [type="reset"]:-moz-focusring,
326 | [type="submit"]:-moz-focusring {
327 | outline: 1px dotted ButtonText;
328 | }
329 |
330 | /**
331 | * Change the border, margin, and padding in all browsers (opinionated).
332 | */
333 |
334 | fieldset {
335 | border: 1px solid #c0c0c0;
336 | margin: 0 2px;
337 | padding: 0.35em 0.625em 0.75em;
338 | }
339 |
340 | /**
341 | * 1. Correct the text wrapping in Edge and IE.
342 | * 2. Correct the color inheritance from `fieldset` elements in IE.
343 | * 3. Remove the padding so developers are not caught out when they zero out
344 | * `fieldset` elements in all browsers.
345 | */
346 |
347 | legend {
348 | box-sizing: border-box; /* 1 */
349 | color: inherit; /* 2 */
350 | display: table; /* 1 */
351 | max-width: 100%; /* 1 */
352 | padding: 0; /* 3 */
353 | white-space: normal; /* 1 */
354 | }
355 |
356 | /**
357 | * Remove the default vertical scrollbar in IE.
358 | */
359 |
360 | textarea {
361 | overflow: auto;
362 | }
363 |
364 | /**
365 | * 1. Add the correct box sizing in IE 10-.
366 | * 2. Remove the padding in IE 10-.
367 | */
368 |
369 | [type="checkbox"],
370 | [type="radio"] {
371 | box-sizing: border-box; /* 1 */
372 | padding: 0; /* 2 */
373 | }
374 |
375 | /**
376 | * Correct the cursor style of increment and decrement buttons in Chrome.
377 | */
378 |
379 | [type="number"]::-webkit-inner-spin-button,
380 | [type="number"]::-webkit-outer-spin-button {
381 | height: auto;
382 | }
383 |
384 | /**
385 | * 1. Correct the odd appearance in Chrome and Safari.
386 | * 2. Correct the outline style in Safari.
387 | */
388 |
389 | [type="search"] {
390 | -webkit-appearance: textfield; /* 1 */
391 | outline-offset: -2px; /* 2 */
392 | }
393 |
394 | /**
395 | * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
396 | */
397 |
398 | [type="search"]::-webkit-search-cancel-button,
399 | [type="search"]::-webkit-search-decoration {
400 | -webkit-appearance: none;
401 | }
402 |
403 | /**
404 | * Correct the text style of placeholders in Chrome, Edge, and Safari.
405 | */
406 |
407 | ::-webkit-input-placeholder {
408 | color: inherit;
409 | opacity: 0.54;
410 | }
411 |
412 | /**
413 | * 1. Correct the inability to style clickable types in iOS and Safari.
414 | * 2. Change font properties to `inherit` in Safari.
415 | */
416 |
417 | ::-webkit-file-upload-button {
418 | -webkit-appearance: button; /* 1 */
419 | font: inherit; /* 2 */
420 | }
421 |
422 | header {
423 | background: #EEE;
424 | padding: 20px;
425 | text-align: center;
426 | }
427 |
428 | h1 {
429 | margin: 0;
430 | }
431 |
432 | main {
433 | max-width: 1000px;
434 | margin: 0 auto;
435 | padding: 20px;
436 | }
437 | input[type='text'] {
438 | width: 45%;
439 | }
440 | input[type='submit'] {
441 | width: 100%;
442 | border: solid 1px #111;
443 | background: #FFF;
444 | margin-top: 10px;
445 | }
446 |
447 | .item {
448 | margin-top: 20px;
449 | background: #FFF;
450 | box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
451 | padding: 20px;
452 | display: flex;
453 | justify-content: space-between;
454 | }
455 |
456 | .item p {
457 | font-size: 18px;
458 | margin: 0;
459 | }
460 |
461 | .item div {
462 | width: 40%;
463 | cursor: pointer;
464 | padding: 5px;
465 | text-align: center;
466 | transition: 0.3s ease all;
467 | border-bottom: solid 10px;
468 | }
469 | .item .vote-one {
470 | border-bottom-color: blue;
471 | }
472 |
473 | .item .vote-two {
474 | border-bottom-color: red;
475 | }
476 |
477 | .item > span {
478 | font-style: italic;
479 | color: #CCC;
480 | }
481 |
482 | .item div:hover {
483 | background: #EEE;
484 | }
485 |
--------------------------------------------------------------------------------
/votingApp #13/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 | /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
3 |
4 | /**
5 | * 1. Change the default font family in all browsers (opinionated).
6 | * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
7 | */
8 |
9 | html {
10 | font-family: sans-serif; /* 1 */
11 | -ms-text-size-adjust: 100%; /* 2 */
12 | -webkit-text-size-adjust: 100%; /* 2 */
13 | }
14 |
15 | /**
16 | * Remove the margin in all browsers (opinionated).
17 | */
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | /* HTML5 display definitions
24 | ========================================================================== */
25 |
26 | /**
27 | * Add the correct display in IE 9-.
28 | * 1. Add the correct display in Edge, IE, and Firefox.
29 | * 2. Add the correct display in IE.
30 | */
31 |
32 | article,
33 | aside,
34 | details, /* 1 */
35 | figcaption,
36 | figure,
37 | footer,
38 | header,
39 | main, /* 2 */
40 | menu,
41 | nav,
42 | section,
43 | summary { /* 1 */
44 | display: block;
45 | }
46 |
47 | /**
48 | * Add the correct display in IE 9-.
49 | */
50 |
51 | audio,
52 | canvas,
53 | progress,
54 | video {
55 | display: inline-block;
56 | }
57 |
58 | /**
59 | * Add the correct display in iOS 4-7.
60 | */
61 |
62 | audio:not([controls]) {
63 | display: none;
64 | height: 0;
65 | }
66 |
67 | /**
68 | * Add the correct vertical alignment in Chrome, Firefox, and Opera.
69 | */
70 |
71 | progress {
72 | vertical-align: baseline;
73 | }
74 |
75 | /**
76 | * Add the correct display in IE 10-.
77 | * 1. Add the correct display in IE.
78 | */
79 |
80 | template, /* 1 */
81 | [hidden] {
82 | display: none;
83 | }
84 |
85 | /* Links
86 | ========================================================================== */
87 |
88 | /**
89 | * 1. Remove the gray background on active links in IE 10.
90 | * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
91 | */
92 |
93 | a {
94 | background-color: transparent; /* 1 */
95 | -webkit-text-decoration-skip: objects; /* 2 */
96 | }
97 |
98 | /**
99 | * Remove the outline on focused links when they are also active or hovered
100 | * in all browsers (opinionated).
101 | */
102 |
103 | a:active,
104 | a:hover {
105 | outline-width: 0;
106 | }
107 |
108 | /* Text-level semantics
109 | ========================================================================== */
110 |
111 | /**
112 | * 1. Remove the bottom border in Firefox 39-.
113 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
114 | */
115 |
116 | abbr[title] {
117 | border-bottom: none; /* 1 */
118 | text-decoration: underline; /* 2 */
119 | text-decoration: underline dotted; /* 2 */
120 | }
121 |
122 | /**
123 | * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
124 | */
125 |
126 | b,
127 | strong {
128 | font-weight: inherit;
129 | }
130 |
131 | /**
132 | * Add the correct font weight in Chrome, Edge, and Safari.
133 | */
134 |
135 | b,
136 | strong {
137 | font-weight: bolder;
138 | }
139 |
140 | /**
141 | * Add the correct font style in Android 4.3-.
142 | */
143 |
144 | dfn {
145 | font-style: italic;
146 | }
147 |
148 | /**
149 | * Correct the font size and margin on `h1` elements within `section` and
150 | * `article` contexts in Chrome, Firefox, and Safari.
151 | */
152 |
153 | h1 {
154 | font-size: 2em;
155 | margin: 0.67em 0;
156 | }
157 |
158 | /**
159 | * Add the correct background and color in IE 9-.
160 | */
161 |
162 | mark {
163 | background-color: #ff0;
164 | color: #000;
165 | }
166 |
167 | /**
168 | * Add the correct font size in all browsers.
169 | */
170 |
171 | small {
172 | font-size: 80%;
173 | }
174 |
175 | /**
176 | * Prevent `sub` and `sup` elements from affecting the line height in
177 | * all browsers.
178 | */
179 |
180 | sub,
181 | sup {
182 | font-size: 75%;
183 | line-height: 0;
184 | position: relative;
185 | vertical-align: baseline;
186 | }
187 |
188 | sub {
189 | bottom: -0.25em;
190 | }
191 |
192 | sup {
193 | top: -0.5em;
194 | }
195 |
196 | /* Embedded content
197 | ========================================================================== */
198 |
199 | /**
200 | * Remove the border on images inside links in IE 10-.
201 | */
202 |
203 | img {
204 | border-style: none;
205 | }
206 |
207 | /**
208 | * Hide the overflow in IE.
209 | */
210 |
211 | svg:not(:root) {
212 | overflow: hidden;
213 | }
214 |
215 | /* Grouping content
216 | ========================================================================== */
217 |
218 | /**
219 | * 1. Correct the inheritance and scaling of font size in all browsers.
220 | * 2. Correct the odd `em` font sizing in all browsers.
221 | */
222 |
223 | code,
224 | kbd,
225 | pre,
226 | samp {
227 | font-family: monospace, monospace; /* 1 */
228 | font-size: 1em; /* 2 */
229 | }
230 |
231 | /**
232 | * Add the correct margin in IE 8.
233 | */
234 |
235 | figure {
236 | margin: 1em 40px;
237 | }
238 |
239 | /**
240 | * 1. Add the correct box sizing in Firefox.
241 | * 2. Show the overflow in Edge and IE.
242 | */
243 |
244 | hr {
245 | box-sizing: content-box; /* 1 */
246 | height: 0; /* 1 */
247 | overflow: visible; /* 2 */
248 | }
249 |
250 | /* Forms
251 | ========================================================================== */
252 |
253 | /**
254 | * 1. Change font properties to `inherit` in all browsers (opinionated).
255 | * 2. Remove the margin in Firefox and Safari.
256 | */
257 |
258 | button,
259 | input,
260 | select,
261 | textarea {
262 | font: inherit; /* 1 */
263 | margin: 0; /* 2 */
264 | }
265 |
266 | /**
267 | * Restore the font weight unset by the previous rule.
268 | */
269 |
270 | optgroup {
271 | font-weight: bold;
272 | }
273 |
274 | /**
275 | * Show the overflow in IE.
276 | * 1. Show the overflow in Edge.
277 | */
278 |
279 | button,
280 | input { /* 1 */
281 | overflow: visible;
282 | }
283 |
284 | /**
285 | * Remove the inheritance of text transform in Edge, Firefox, and IE.
286 | * 1. Remove the inheritance of text transform in Firefox.
287 | */
288 |
289 | button,
290 | select { /* 1 */
291 | text-transform: none;
292 | }
293 |
294 | /**
295 | * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
296 | * controls in Android 4.
297 | * 2. Correct the inability to style clickable types in iOS and Safari.
298 | */
299 |
300 | button,
301 | html [type="button"], /* 1 */
302 | [type="reset"],
303 | [type="submit"] {
304 | -webkit-appearance: button; /* 2 */
305 | }
306 |
307 | /**
308 | * Remove the inner border and padding in Firefox.
309 | */
310 |
311 | button::-moz-focus-inner,
312 | [type="button"]::-moz-focus-inner,
313 | [type="reset"]::-moz-focus-inner,
314 | [type="submit"]::-moz-focus-inner {
315 | border-style: none;
316 | padding: 0;
317 | }
318 |
319 | /**
320 | * Restore the focus styles unset by the previous rule.
321 | */
322 |
323 | button:-moz-focusring,
324 | [type="button"]:-moz-focusring,
325 | [type="reset"]:-moz-focusring,
326 | [type="submit"]:-moz-focusring {
327 | outline: 1px dotted ButtonText;
328 | }
329 |
330 | /**
331 | * Change the border, margin, and padding in all browsers (opinionated).
332 | */
333 |
334 | fieldset {
335 | border: 1px solid #c0c0c0;
336 | margin: 0 2px;
337 | padding: 0.35em 0.625em 0.75em;
338 | }
339 |
340 | /**
341 | * 1. Correct the text wrapping in Edge and IE.
342 | * 2. Correct the color inheritance from `fieldset` elements in IE.
343 | * 3. Remove the padding so developers are not caught out when they zero out
344 | * `fieldset` elements in all browsers.
345 | */
346 |
347 | legend {
348 | box-sizing: border-box; /* 1 */
349 | color: inherit; /* 2 */
350 | display: table; /* 1 */
351 | max-width: 100%; /* 1 */
352 | padding: 0; /* 3 */
353 | white-space: normal; /* 1 */
354 | }
355 |
356 | /**
357 | * Remove the default vertical scrollbar in IE.
358 | */
359 |
360 | textarea {
361 | overflow: auto;
362 | }
363 |
364 | /**
365 | * 1. Add the correct box sizing in IE 10-.
366 | * 2. Remove the padding in IE 10-.
367 | */
368 |
369 | [type="checkbox"],
370 | [type="radio"] {
371 | box-sizing: border-box; /* 1 */
372 | padding: 0; /* 2 */
373 | }
374 |
375 | /**
376 | * Correct the cursor style of increment and decrement buttons in Chrome.
377 | */
378 |
379 | [type="number"]::-webkit-inner-spin-button,
380 | [type="number"]::-webkit-outer-spin-button {
381 | height: auto;
382 | }
383 |
384 | /**
385 | * 1. Correct the odd appearance in Chrome and Safari.
386 | * 2. Correct the outline style in Safari.
387 | */
388 |
389 | [type="search"] {
390 | -webkit-appearance: textfield; /* 1 */
391 | outline-offset: -2px; /* 2 */
392 | }
393 |
394 | /**
395 | * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
396 | */
397 |
398 | [type="search"]::-webkit-search-cancel-button,
399 | [type="search"]::-webkit-search-decoration {
400 | -webkit-appearance: none;
401 | }
402 |
403 | /**
404 | * Correct the text style of placeholders in Chrome, Edge, and Safari.
405 | */
406 |
407 | ::-webkit-input-placeholder {
408 | color: inherit;
409 | opacity: 0.54;
410 | }
411 |
412 | /**
413 | * 1. Correct the inability to style clickable types in iOS and Safari.
414 | * 2. Change font properties to `inherit` in Safari.
415 | */
416 |
417 | ::-webkit-file-upload-button {
418 | -webkit-appearance: button; /* 1 */
419 | font: inherit; /* 2 */
420 | }
421 |
422 | header {
423 | background: #EEE;
424 | padding: 20px;
425 | text-align: center;
426 | }
427 |
428 | h1 {
429 | margin: 0;
430 | }
431 |
432 | main {
433 | max-width: 1000px;
434 | margin: 0 auto;
435 | padding: 20px;
436 | }
437 | input[type='text'] {
438 | width: 45%;
439 | }
440 | input[type='submit'] {
441 | width: 100%;
442 | border: solid 1px #111;
443 | background: #FFF;
444 | margin-top: 10px;
445 | }
446 |
447 | .item {
448 | margin-top: 20px;
449 | background: #FFF;
450 | box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
451 | padding: 20px;
452 | display: flex;
453 | justify-content: space-between;
454 | }
455 |
456 | .item p {
457 | font-size: 18px;
458 | margin: 0;
459 | }
460 |
461 | .item div {
462 | width: 40%;
463 | cursor: pointer;
464 | padding: 5px;
465 | text-align: center;
466 | transition: 0.3s ease all;
467 | border-bottom: solid 10px;
468 | }
469 | .item .vote-one {
470 | border-bottom-color: blue;
471 | }
472 |
473 | .item .vote-two {
474 | border-bottom-color: red;
475 | }
476 |
477 | .item > span {
478 | font-style: italic;
479 | color: #CCC;
480 | }
481 |
482 | .item div:hover {
483 | background: #EEE;
484 | }
485 |
--------------------------------------------------------------------------------
/votingApp end/client/main.css:
--------------------------------------------------------------------------------
1 | /* CSS declarations go here */
2 | /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
3 |
4 | /**
5 | * 1. Change the default font family in all browsers (opinionated).
6 | * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
7 | */
8 |
9 | html {
10 | font-family: sans-serif; /* 1 */
11 | -ms-text-size-adjust: 100%; /* 2 */
12 | -webkit-text-size-adjust: 100%; /* 2 */
13 | }
14 |
15 | /**
16 | * Remove the margin in all browsers (opinionated).
17 | */
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | /* HTML5 display definitions
24 | ========================================================================== */
25 |
26 | /**
27 | * Add the correct display in IE 9-.
28 | * 1. Add the correct display in Edge, IE, and Firefox.
29 | * 2. Add the correct display in IE.
30 | */
31 |
32 | article,
33 | aside,
34 | details, /* 1 */
35 | figcaption,
36 | figure,
37 | footer,
38 | header,
39 | main, /* 2 */
40 | menu,
41 | nav,
42 | section,
43 | summary { /* 1 */
44 | display: block;
45 | }
46 |
47 | /**
48 | * Add the correct display in IE 9-.
49 | */
50 |
51 | audio,
52 | canvas,
53 | progress,
54 | video {
55 | display: inline-block;
56 | }
57 |
58 | /**
59 | * Add the correct display in iOS 4-7.
60 | */
61 |
62 | audio:not([controls]) {
63 | display: none;
64 | height: 0;
65 | }
66 |
67 | /**
68 | * Add the correct vertical alignment in Chrome, Firefox, and Opera.
69 | */
70 |
71 | progress {
72 | vertical-align: baseline;
73 | }
74 |
75 | /**
76 | * Add the correct display in IE 10-.
77 | * 1. Add the correct display in IE.
78 | */
79 |
80 | template, /* 1 */
81 | [hidden] {
82 | display: none;
83 | }
84 |
85 | /* Links
86 | ========================================================================== */
87 |
88 | /**
89 | * 1. Remove the gray background on active links in IE 10.
90 | * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
91 | */
92 |
93 | a {
94 | background-color: transparent; /* 1 */
95 | -webkit-text-decoration-skip: objects; /* 2 */
96 | }
97 |
98 | /**
99 | * Remove the outline on focused links when they are also active or hovered
100 | * in all browsers (opinionated).
101 | */
102 |
103 | a:active,
104 | a:hover {
105 | outline-width: 0;
106 | }
107 |
108 | /* Text-level semantics
109 | ========================================================================== */
110 |
111 | /**
112 | * 1. Remove the bottom border in Firefox 39-.
113 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
114 | */
115 |
116 | abbr[title] {
117 | border-bottom: none; /* 1 */
118 | text-decoration: underline; /* 2 */
119 | text-decoration: underline dotted; /* 2 */
120 | }
121 |
122 | /**
123 | * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
124 | */
125 |
126 | b,
127 | strong {
128 | font-weight: inherit;
129 | }
130 |
131 | /**
132 | * Add the correct font weight in Chrome, Edge, and Safari.
133 | */
134 |
135 | b,
136 | strong {
137 | font-weight: bolder;
138 | }
139 |
140 | /**
141 | * Add the correct font style in Android 4.3-.
142 | */
143 |
144 | dfn {
145 | font-style: italic;
146 | }
147 |
148 | /**
149 | * Correct the font size and margin on `h1` elements within `section` and
150 | * `article` contexts in Chrome, Firefox, and Safari.
151 | */
152 |
153 | h1 {
154 | font-size: 2em;
155 | margin: 0.67em 0;
156 | }
157 |
158 | /**
159 | * Add the correct background and color in IE 9-.
160 | */
161 |
162 | mark {
163 | background-color: #ff0;
164 | color: #000;
165 | }
166 |
167 | /**
168 | * Add the correct font size in all browsers.
169 | */
170 |
171 | small {
172 | font-size: 80%;
173 | }
174 |
175 | /**
176 | * Prevent `sub` and `sup` elements from affecting the line height in
177 | * all browsers.
178 | */
179 |
180 | sub,
181 | sup {
182 | font-size: 75%;
183 | line-height: 0;
184 | position: relative;
185 | vertical-align: baseline;
186 | }
187 |
188 | sub {
189 | bottom: -0.25em;
190 | }
191 |
192 | sup {
193 | top: -0.5em;
194 | }
195 |
196 | /* Embedded content
197 | ========================================================================== */
198 |
199 | /**
200 | * Remove the border on images inside links in IE 10-.
201 | */
202 |
203 | img {
204 | border-style: none;
205 | }
206 |
207 | /**
208 | * Hide the overflow in IE.
209 | */
210 |
211 | svg:not(:root) {
212 | overflow: hidden;
213 | }
214 |
215 | /* Grouping content
216 | ========================================================================== */
217 |
218 | /**
219 | * 1. Correct the inheritance and scaling of font size in all browsers.
220 | * 2. Correct the odd `em` font sizing in all browsers.
221 | */
222 |
223 | code,
224 | kbd,
225 | pre,
226 | samp {
227 | font-family: monospace, monospace; /* 1 */
228 | font-size: 1em; /* 2 */
229 | }
230 |
231 | /**
232 | * Add the correct margin in IE 8.
233 | */
234 |
235 | figure {
236 | margin: 1em 40px;
237 | }
238 |
239 | /**
240 | * 1. Add the correct box sizing in Firefox.
241 | * 2. Show the overflow in Edge and IE.
242 | */
243 |
244 | hr {
245 | box-sizing: content-box; /* 1 */
246 | height: 0; /* 1 */
247 | overflow: visible; /* 2 */
248 | }
249 |
250 | /* Forms
251 | ========================================================================== */
252 |
253 | /**
254 | * 1. Change font properties to `inherit` in all browsers (opinionated).
255 | * 2. Remove the margin in Firefox and Safari.
256 | */
257 |
258 | button,
259 | input,
260 | select,
261 | textarea {
262 | font: inherit; /* 1 */
263 | margin: 0; /* 2 */
264 | }
265 |
266 | /**
267 | * Restore the font weight unset by the previous rule.
268 | */
269 |
270 | optgroup {
271 | font-weight: bold;
272 | }
273 |
274 | /**
275 | * Show the overflow in IE.
276 | * 1. Show the overflow in Edge.
277 | */
278 |
279 | button,
280 | input { /* 1 */
281 | overflow: visible;
282 | }
283 |
284 | /**
285 | * Remove the inheritance of text transform in Edge, Firefox, and IE.
286 | * 1. Remove the inheritance of text transform in Firefox.
287 | */
288 |
289 | button,
290 | select { /* 1 */
291 | text-transform: none;
292 | }
293 |
294 | /**
295 | * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
296 | * controls in Android 4.
297 | * 2. Correct the inability to style clickable types in iOS and Safari.
298 | */
299 |
300 | button,
301 | html [type="button"], /* 1 */
302 | [type="reset"],
303 | [type="submit"] {
304 | -webkit-appearance: button; /* 2 */
305 | }
306 |
307 | /**
308 | * Remove the inner border and padding in Firefox.
309 | */
310 |
311 | button::-moz-focus-inner,
312 | [type="button"]::-moz-focus-inner,
313 | [type="reset"]::-moz-focus-inner,
314 | [type="submit"]::-moz-focus-inner {
315 | border-style: none;
316 | padding: 0;
317 | }
318 |
319 | /**
320 | * Restore the focus styles unset by the previous rule.
321 | */
322 |
323 | button:-moz-focusring,
324 | [type="button"]:-moz-focusring,
325 | [type="reset"]:-moz-focusring,
326 | [type="submit"]:-moz-focusring {
327 | outline: 1px dotted ButtonText;
328 | }
329 |
330 | /**
331 | * Change the border, margin, and padding in all browsers (opinionated).
332 | */
333 |
334 | fieldset {
335 | border: 1px solid #c0c0c0;
336 | margin: 0 2px;
337 | padding: 0.35em 0.625em 0.75em;
338 | }
339 |
340 | /**
341 | * 1. Correct the text wrapping in Edge and IE.
342 | * 2. Correct the color inheritance from `fieldset` elements in IE.
343 | * 3. Remove the padding so developers are not caught out when they zero out
344 | * `fieldset` elements in all browsers.
345 | */
346 |
347 | legend {
348 | box-sizing: border-box; /* 1 */
349 | color: inherit; /* 2 */
350 | display: table; /* 1 */
351 | max-width: 100%; /* 1 */
352 | padding: 0; /* 3 */
353 | white-space: normal; /* 1 */
354 | }
355 |
356 | /**
357 | * Remove the default vertical scrollbar in IE.
358 | */
359 |
360 | textarea {
361 | overflow: auto;
362 | }
363 |
364 | /**
365 | * 1. Add the correct box sizing in IE 10-.
366 | * 2. Remove the padding in IE 10-.
367 | */
368 |
369 | [type="checkbox"],
370 | [type="radio"] {
371 | box-sizing: border-box; /* 1 */
372 | padding: 0; /* 2 */
373 | }
374 |
375 | /**
376 | * Correct the cursor style of increment and decrement buttons in Chrome.
377 | */
378 |
379 | [type="number"]::-webkit-inner-spin-button,
380 | [type="number"]::-webkit-outer-spin-button {
381 | height: auto;
382 | }
383 |
384 | /**
385 | * 1. Correct the odd appearance in Chrome and Safari.
386 | * 2. Correct the outline style in Safari.
387 | */
388 |
389 | [type="search"] {
390 | -webkit-appearance: textfield; /* 1 */
391 | outline-offset: -2px; /* 2 */
392 | }
393 |
394 | /**
395 | * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
396 | */
397 |
398 | [type="search"]::-webkit-search-cancel-button,
399 | [type="search"]::-webkit-search-decoration {
400 | -webkit-appearance: none;
401 | }
402 |
403 | /**
404 | * Correct the text style of placeholders in Chrome, Edge, and Safari.
405 | */
406 |
407 | ::-webkit-input-placeholder {
408 | color: inherit;
409 | opacity: 0.54;
410 | }
411 |
412 | /**
413 | * 1. Correct the inability to style clickable types in iOS and Safari.
414 | * 2. Change font properties to `inherit` in Safari.
415 | */
416 |
417 | ::-webkit-file-upload-button {
418 | -webkit-appearance: button; /* 1 */
419 | font: inherit; /* 2 */
420 | }
421 |
422 | header {
423 | background: #EEE;
424 | padding: 20px;
425 | text-align: center;
426 | }
427 |
428 | h1 {
429 | margin: 0;
430 | }
431 |
432 | main {
433 | max-width: 1000px;
434 | margin: 0 auto;
435 | padding: 20px;
436 | }
437 | input[type='text'] {
438 | width: 45%;
439 | }
440 | input[type='submit'], button {
441 | width: 100%;
442 | border: solid 1px #111;
443 | background: #FFF;
444 | margin-top: 10px;
445 | }
446 |
447 | .item {
448 | margin-top: 20px;
449 | background: #FFF;
450 | box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
451 | padding: 20px;
452 | display: flex;
453 | justify-content: space-between;
454 | }
455 |
456 | .item p {
457 | font-size: 18px;
458 | margin: 0;
459 | }
460 |
461 | .item div {
462 | width: 40%;
463 | cursor: pointer;
464 | padding: 5px;
465 | text-align: center;
466 | transition: 0.3s ease all;
467 | border-bottom: solid 10px;
468 | }
469 | .item .vote-one {
470 | border-bottom-color: blue;
471 | }
472 |
473 | .item .vote-two {
474 | border-bottom-color: red;
475 | }
476 |
477 | .item > span {
478 | font-style: italic;
479 | color: #CCC;
480 | }
481 |
482 | .item div:hover {
483 | background: #EEE;
484 | }
485 |
--------------------------------------------------------------------------------