Browse Source

stopped using async - for real this time

master
Jeffery R 6 years ago
parent
commit
8e46f13266
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      README.md
  2. +2
    -0
      googletrendsgame/server/trendsAPI.js

+ 1
- 0
README.md View File

@ -15,6 +15,7 @@ npm install mysql
npm install sanitizer npm install sanitizer
npm install google-trends-api npm install google-trends-api
npm install promise npm install promise
npm install async
```` ````
##Database Construction ##Database Construction

+ 2
- 0
googletrendsgame/server/trendsAPI.js View File

@ -72,6 +72,7 @@ module.exports=
desc: returns a list of tuples (date, value) representing word's desc: returns a list of tuples (date, value) representing word's
popularity for the past year popularity for the past year
*/ */
/*
getYearStats: async function(word){ getYearStats: async function(word){
var ret = []; var ret = [];
@ -84,5 +85,6 @@ module.exports=
return ret; return ret;
} }
*/
}; };

Loading…
Cancel
Save