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

The indent_with_tabs option did not work when required in node, only CLI. #319

Merged
merged 3 commits into from
Aug 27, 2013

Conversation

mokkabonna
Copy link
Contributor

Now it does, added tests as well. And removed the check from the CLI. Noticed this when using it from grunt-jsbeautifier.

@bitwiseman
Copy link
Member

We probably need equivalent behavior and tests on the python side. Please add them, and I'll be happy to merge.

@mokkabonna
Copy link
Contributor Author

Seems it's already implemented correctly in python https://github.com/einars/js-beautify/blob/master/python/jsbeautifier/__init__.py#L238

But yeah, no tests. I'll add it.

@mokkabonna
Copy link
Contributor Author

That fine?

@bitwiseman
Copy link
Member

Yup. That's great. Thanks!

bitwiseman added a commit that referenced this pull request Aug 27, 2013
The indent_with_tabs option did not work when required in node, only CLI.
@bitwiseman bitwiseman merged commit c3cca8d into beautifier:master Aug 27, 2013
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