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

Fix compress attributes #223

Merged
merged 3 commits into from Jan 28, 2016
Merged

Fix compress attributes #223

merged 3 commits into from Jan 28, 2016

Conversation

etpinard
Copy link
Contributor

@mdtusz

The compress attributes transform has been failing for some attribute descriptions since ee66bb3 e.g.

image

  • taken from dist/plotly.js

The new regular expression is on display here: http://www.regexr.com/3cmac

makeArrayRegex('requiredOpts'),
makeArrayRegex('otherOpts'),
makeStringRegex('hrName'),
makeStringRegex('role')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mdtusz clearer, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@mdtusz
Copy link
Contributor

mdtusz commented Jan 28, 2016

💃

etpinard added a commit that referenced this pull request Jan 28, 2016
@etpinard etpinard merged commit fa2c61d into master Jan 28, 2016
@etpinard etpinard deleted the fix-compress-attributes branch January 28, 2016 20:26
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