octonode
Advanced tools
Comparing version 0.6.8 to 0.6.9
@@ -52,4 +52,6 @@ // Generated by CoffeeScript 1.7.1 | ||
Repo.prototype.commits = function(cb) { | ||
return this.client.get("/repos/" + this.name + "/commits", function(err, s, b, h) { | ||
Repo.prototype.commits = function() { | ||
var cb, params, _i, _ref; | ||
params = 2 <= arguments.length ? __slice.call(arguments, 0, _i = arguments.length - 1) : (_i = 0, []), cb = arguments[_i++]; | ||
return (_ref = this.client).get.apply(_ref, ["/repos/" + this.name + "/commits"].concat(__slice.call(params), [function(err, s, b, h) { | ||
if (err) { | ||
@@ -63,3 +65,3 @@ return cb(err); | ||
} | ||
}); | ||
}])); | ||
}; | ||
@@ -66,0 +68,0 @@ |
{ | ||
"name": "octonode", | ||
"version": "0.6.8", | ||
"version": "0.6.9", | ||
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (http://pksunkara.github.com)", | ||
@@ -5,0 +5,0 @@ "description": "nodejs wrapper for github v3 api", |
103446
2304