octonode
Advanced tools
Comparing version 0.6.15 to 0.6.16
@@ -74,4 +74,6 @@ // Generated by CoffeeScript 1.8.0 | ||
Org.prototype.teams = function(cb) { | ||
return this.client.get("/orgs/" + this.name + "/teams", function(err, s, b, h) { | ||
Org.prototype.teams = 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, ["/orgs/" + this.name + "/teams"].concat(__slice.call(params), [function(err, s, b, h) { | ||
if (err) { | ||
@@ -85,3 +87,3 @@ return cb(err); | ||
} | ||
}); | ||
}])); | ||
}; | ||
@@ -88,0 +90,0 @@ |
// Generated by CoffeeScript 1.8.0 | ||
(function() { | ||
var Team; | ||
var Team, | ||
__slice = [].slice; | ||
@@ -24,4 +25,6 @@ Team = (function() { | ||
Team.prototype.members = function(cb) { | ||
return this.client.get("/teams/" + this.id + "/members", function(err, s, b, h) { | ||
Team.prototype.members = 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, ["/teams/" + this.id + "/members"].concat(__slice.call(params), [function(err, s, b, h) { | ||
if (err) { | ||
@@ -35,3 +38,3 @@ return cb(err); | ||
} | ||
}); | ||
}])); | ||
}; | ||
@@ -66,4 +69,6 @@ | ||
Team.prototype.repos = function(cb) { | ||
return this.client.get("/teams/" + this.id + "/repos", function(err, s, b, h) { | ||
Team.prototype.repos = 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, ["/teams/" + this.id + "/repos"].concat(__slice.call(params), [function(err, s, b, h) { | ||
if (err) { | ||
@@ -77,3 +82,3 @@ return cb(err); | ||
} | ||
}); | ||
}])); | ||
}; | ||
@@ -80,0 +85,0 @@ |
{ | ||
"name": "octonode", | ||
"version": "0.6.15", | ||
"version": "0.6.16", | ||
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (http://pksunkara.github.com)", | ||
@@ -5,0 +5,0 @@ "description": "nodejs wrapper for github v3 api", |
106191
2361