这是在github hubot 示例代码中中看到的, 有下面一个疑问:
源码在这里: https://github.com/github/hubot/blob/master/docs/scripting.md#making-http-calls
源码在这里: https://github.com/github/hubot/blob/master/docs/scripting.md#making-http-calls
1
duhastmich Sep 1, 2013 .get() (err, res, body) ->
get() 返回的是个接受一个callback作为参数的函数,可以能get() 本身还要接受参数 |
2
duhastmich Sep 1, 2013
跟coffeescript没有关系,是api设计
|
3
FrankFang128 Oct 20, 2013 via Android
搜 柯里化
|