This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"team": "Afghanistan", | |
"goals_for": 1, | |
"goals_against": 3, | |
"win": 0, | |
"loss": 1, | |
"draw": 1, | |
"points": 2, | |
"goal_diff": -2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict;"; | |
var co = require('co'); | |
var u = require('underscore'); | |
var fs = require('co-fs'); | |
var printf = require('printf'); | |
var moment = require('moment'); | |
var forEach = require('co-foreach'); | |
var nano = require('nano')('http://localhost:5984'); | |
var couch = require('co-nano')(nano); |