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

OutputStream: Added support for quote_char option #164

Closed
wants to merge 1 commit into from

Conversation

papandreou
Copy link
Contributor

Can be either ', ", or null (null means choose the one with fewest occurrences in the string, like the previous behavior).

Use case: Serializing data-bind attributes (Knockout.js) into doublequote delimited HTML attributes while avoiding an excessive number of " entities.

Corresponding pull req for UglifyJS1: #454 -- I've maintained a fork (uglify-js-papandreou) for some time because I need it for https://github.com/One-com/assetgraph

Can be either ', ", or null (null means choose the one with fewest occurrences in the string, like the previous behavior).

Use case: Serializing data-bind attributes (Knockout.js) into doublequote delimited attributes while avoiding an excessive number of " entities.
@papandreou
Copy link
Contributor Author

@mishoo Ping? Is this something you would consider supporting?

papandreou added a commit to assetgraph/assetgraph-builder that referenced this pull request Jul 12, 2014
papandreou added a commit to assetgraph/assetgraph-builder that referenced this pull request Jul 12, 2014
@rvanvelzen
Copy link
Collaborator

Closing in favor of fbbaa42

@rvanvelzen rvanvelzen closed this Jan 27, 2015
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.

None yet

2 participants