Switch to Koa, more es6

This commit is contained in:
Jonathan Cremin 2015-06-03 21:45:54 -07:00
parent 1090affc9c
commit b3abff99ae
36 changed files with 25573 additions and 928 deletions

View file

@ -100,7 +100,7 @@ module.exports = React.createClass({
});
var getShares = function() {
request.get(this.getPathname() + ".json").end(function(res) {
request.get(this.getPathname() + ".json").end(function(err, res) {
var shares = res.body.shares;
complete = true;
shares.forEach(function(share) {