This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-GoogleTrendsGame
mirror of
https://github.com/jrtechs/GoogleTrendsGame.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
user tester additions
master
ritfsaecdaq
6 years ago
parent
a581ca515a
commit
2d3cb67def
2 changed files
with
5 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
googletrendsgame/server/test/trendsTest.js
+1
-0
googletrendsgame/server/test/userTester.js
+ 4
- 0
googletrendsgame/server/test/trendsTest.js
View File
@ -0,0 +1,4 @@
const
trends
=
require
(
'../trendsAPI'
)
;
trends
.
getPopularity
(
'large'
)
.
then
(
function
(
data
)
{
console
.
log
(
data
)
;
}
)
;
+ 1
- 0
googletrendsgame/server/test/userTester.js
View File
@ -18,6 +18,7 @@ rl.on('line', function(line){
case
'register'
:
case
'register'
:
case
'submitWord'
:
case
'submitWord'
:
case
'updateRoom'
:
socket
.
emit
(
event
,
msg
)
;
socket
.
emit
(
event
,
msg
)
;
}
}
}
)
;
}
)
;
Write
Preview
Loading…
Cancel
Save