Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add space to JSON.stringify() for Node 0.10 issue #4

Merged
merged 1 commit into from
Aug 26, 2015

Conversation

ericf
Copy link
Collaborator

@ericf ericf commented Aug 26, 2015

Fixes #3

@@ -6,7 +6,7 @@ See the accompanying LICENSE file for terms.

'use strict';

var util = require('util');
var isRegExp = require('util').isRegExp;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Optimize away the property lookup in the replacer.

@caridy
Copy link
Contributor

caridy commented Aug 26, 2015

LGTM

@Vijar
Copy link

Vijar commented Aug 26, 2015

👍

ericf added a commit that referenced this pull request Aug 26, 2015
Add `space` to JSON.stringify() for Node 0.10 issue
@ericf ericf merged commit 9264c90 into master Aug 26, 2015
@ericf ericf deleted the json-stringify-space branch August 26, 2015 20:15
@kaesonho
Copy link

👍 thanks @ericf

ericf added a commit that referenced this pull request Sep 9, 2015
This reverts commit 9264c90, reversing
changes made to bc8e811.
@ericf
Copy link
Collaborator Author

ericf commented Sep 9, 2015

This PR has been reverted.

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.

5 participants