tweet.indexOf should be tweet.text.indexOf
Closed this issue · 1 comments
semmypurewal commented
Also, on page 199 the code:
'if (tweet.indexOf("awesome") > -1)’
should be:
'if (tweet.text.indexOf("awesome") > -1)’
This was reported by David Boles.
semmypurewal commented
fixed, and errata added here:
http://learningwebappdev.com/errata/chapter6/2014/04/20/chapter-6-tweet-indexOf-errors.html