}, function(fn) { pullout(req, 'string', function(error, body) { code = body; if (error) callback(error); else fn(); }); });
req = https.request(GithubAuth, function(res) { pullout(res, 'string', function(error, body) { var parsed, token; if (!error) { parsed = qs.parse(body); if (parsed) token = parsed.access_token; } callback(error, token); }); });