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

Even nicer stringify with less noise #13

Merged
merged 3 commits into from
Dec 5, 2014
Merged

Conversation

jkrems
Copy link
Contributor

@jkrems jkrems commented Dec 5, 2014

Follow up to #9 and to prevent bevry/cson#34 from being a step back.

cc @johan

@@ -78,6 +76,9 @@ describe 'CSON.stringify', ->
]
}

it 'handles NaN as indent', ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean just 'handles NaN', or "... as intended"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, forgot to actually implement that test.

@johan
Copy link
Contributor

johan commented Dec 5, 2014

Very nice. Handling the spec edge case I initially missed (indent 5.5 => 5, not 0) would be nice, otherwise no strong feeling about the cosmetics.

@jkrems
Copy link
Contributor Author

jkrems commented Dec 5, 2014

Addressed the feedback (I think).

@johan
Copy link
Contributor

johan commented Dec 5, 2014

Looks great. 🚢

jkrems added a commit that referenced this pull request Dec 5, 2014
Even nicer stringify with less noise
@jkrems jkrems merged commit efef766 into master Dec 5, 2014
@jkrems jkrems deleted the jk/even-nicer-stringify branch December 5, 2014 20:18
@jkrems
Copy link
Contributor Author

jkrems commented Dec 5, 2014

v1.0.1

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.

2 participants