alsotang / node-lessons

:closed_book:《Node.js 包教不包会》 by alsotang
16.54k stars 4.7k forks source link

Lesson4 topicUrls.forEach时写错字母了 #28

Open chenchangwen opened 9 years ago

chenchangwen commented 9 years ago

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

alsotang commented 9 years ago

我看了下,都是小写啊

??

在 2014年12月26日,00:44,Kevin notifications@github.com 写道:

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.

chenchangwen commented 9 years ago

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

alsotang commented 9 years ago

呃 你看仔细点吧

albb762 commented 9 years ago

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

gejiawen commented 9 years ago

@albb762 原因看 #29