Skip to content

Easier to deserialize JSON format for /remotes.json - #2

Closed
joe-forbes wants to merge 4 commits into
alexbain:masterfrom
joe-forbes:master
Closed

Easier to deserialize JSON format for /remotes.json#2
joe-forbes wants to merge 4 commits into
alexbain:masterfrom
joe-forbes:master

Conversation

@joe-forbes

Copy link
Copy Markdown
Contributor

Hope this pull request is cleaner than last. Sorry I forgot to disable DEVELOPER_MODE on the first commit.

@paulgration

Copy link
Copy Markdown
Contributor

Would you not still want to return the response as json with res.json?

@joe-forbes

Copy link
Copy Markdown
Contributor Author

Unless I'm mistaken, res.send returns json.
On Dec 13, 2013 1:34 AM, "pmgration" notifications@github.com wrote:

Would you not still want to return the response as json with res.json?


Reply to this email directly or view it on GitHubhttps://github.com//pull/2#issuecomment-30491586
.

@paulgration

Copy link
Copy Markdown
Contributor

Ah, I'd read this - http://stackoverflow.com/questions/19041837/difference-between-res-send-and-res-json-in-express-js though it may not still be the case.

@joe-forbes

Copy link
Copy Markdown
Contributor Author

Thanks for the tip.
On Dec 13, 2013 8:01 AM, "pmgration" notifications@github.com wrote:

Ah, I'd read this -
http://stackoverflow.com/questions/19041837/difference-between-res-send-and-res-json-in-express-jsthough it may not still be the case.


Reply to this email directly or view it on GitHubhttps://github.com//pull/2#issuecomment-30510850
.

@alexbain

Copy link
Copy Markdown
Owner

Thanks for the pull request! Made two inline comments about some global leaks in the tests, otherwise looks good.

@alexbain

Copy link
Copy Markdown
Owner

@joe-forbes - If you add the var keyword to the two variables I mentioned above (the tests fail, because those variables leak into the global scope) I'd love to get this pull request merged. Thanks!

@joe-forbes

Copy link
Copy Markdown
Contributor Author

Sorry about the delay - I misunderstood your message of Dec. 14 and am just
now coming back from a few days' vacation. I'll make the changes and add
them to the pull request tonight.

Joe

On Tue, Dec 24, 2013 at 11:30 AM, Alex Bain notifications@github.comwrote:

@joe-forbes https://github.com/joe-forbes - If you add the var keyword
to the two variables I mentioned above (the tests fail, because those
variables leak into the global scope) I'd love to get this pull request
merged. Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//pull/2#issuecomment-31179831
.

@alexbain

Copy link
Copy Markdown
Owner

Cannot be cleanly merged, closing for now. Feel free to rebase and reopen. Thank you!

@alexbain alexbain closed this Oct 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants