Switch to Koa, more es6
This commit is contained in:
parent
1090affc9c
commit
b3abff99ae
36 changed files with 25573 additions and 928 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue