node-lessons icon indicating copy to clipboard operation
node-lessons copied to clipboard

Lesson4 topicUrls.forEach时写错字母了

Open chenchangwen opened this issue 11 years ago • 5 comments

topicUrls.forEach(function(topicUrl) { superagent.get(topicUrl) .end(function(err, res) { console.log('fetch ' + topicUrl + ' successful'); ep.emit('topic_html', [topicUrl, res.Text]); }); }); res.Text 应该是res.text

chenchangwen avatar Dec 25 '14 16:12 chenchangwen

我看了下,都是小写啊

??

在 2014年12月26日,00:44,Kevin [email protected] 写道:

topicUrls.forEach(function(topicUrl) { superagent.get(topicUrl) .end(function(err, res) { console.log('fetch ' + topicUrl + ' successful'); ep.emit('topic_html', [topicUrl, res.Text]); }); }); res.Text 应该是res.text

— Reply to this email directly or view it on GitHub https://github.com/alsotang/node-lessons/issues/28.

alsotang avatar Dec 26 '14 03:12 alsotang

lesson4 的 README.md 不是哦.. README.md是大写的.
app.js 没错 . 我是直接看README.md copy代码 调试的.

chenchangwen avatar Dec 26 '14 03:12 chenchangwen

呃 你看仔细点吧

alsotang avatar Dec 26 '14 03:12 alsotang

这段代码我也试了一下,但是40条链接,只有最后10条有显示标题和评论。这个是为什么啊?

albb762 avatar Mar 12 '15 15:03 albb762

@albb762 原因看 #29

gejiawen avatar Apr 02 '15 18:04 gejiawen