Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gunjpan
Copy link
Contributor

@gunjpan gunjpan commented Jul 29, 2016

RequestBuilder.prototype._request = function(uri, options, cb) {
if (typeof uri === 'undefined') {
throw new Error('undefined is not a valid uri or options object.');
throw new Error(g.f('undefined is not a valid uri or options object.'));
Copy link
Contributor

@superkhau superkhau Jul 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{undefined}} {{uri}} {{options}} and possibly {{object}}

@superkhau
Copy link
Contributor

One line needs resolution, other comment is a nitpick. Otherwise LGTM.

@superkhau superkhau assigned superkhau and gunjpan and unassigned superkhau Jul 29, 2016
@gunjpan
Copy link
Contributor Author

gunjpan commented Aug 3, 2016

@slnode test please

@0candy
Copy link
Contributor

0candy commented Aug 4, 2016

LGTM

@gunjpan
Copy link
Contributor Author

gunjpan commented Aug 4, 2016

@slnode test please

}
} else {
callback && callback('Error response: ' + response.statusCode, body);
var err = g.f('Error response: %s %j', response.statusCode, body);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%d for statusCode which is a number I assume?

@superkhau
Copy link
Contributor

Two minor comments, otherwise LGTM.

@gunjpan gunjpan merged commit c567d22 into master Aug 9, 2016
@gunjpan gunjpan deleted the globalization branch August 9, 2016 18:47
@gunjpan gunjpan removed the #review label Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants