Last active
June 2, 2016 09:25
-
-
Save elizabethsiegle/893b705df6c981a29e0df3602bd8ad22 to your computer and use it in GitHub Desktop.
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
function processData(data) { | |
if (!data) return; | |
if (splashWords.some(function(v) { return data.text.toLowerCase().indexOf(v) !== -1; })) { | |
numSplashWords +=1; | |
totalNumTweets+=1; | |
publish2(); | |
console.log(data); | |
} | |
bestFans(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment