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

Make facet's child either layer or unit specs for now #2977

Merged
merged 2 commits into from
Sep 8, 2017
Merged

Conversation

kanitw
Copy link
Member

@kanitw kanitw commented Sep 8, 2017

No description provided.

Copy link
Member

@arvind arvind left a comment

Choose a reason for hiding this comment

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

LGTM.

// Also ignore box-plot examples until we support selections
example.indexOf('box-plot') >= 0 ||
// Also ignore all examples with "_future" suffix
example.lastIndexOf('_future.vl.json') === example.length - suffixLength
Copy link
Member

Choose a reason for hiding this comment

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

This is an interesting way to make this test. An alternative might be a regular expression to verify that the string ends with the given suffix.

Also improve the suffix check.  (This should be faster than the old condition and regexp)

cc: @arvind
@arvind arvind merged commit 936df7e into master Sep 8, 2017
@arvind arvind deleted the kw/facet branch September 8, 2017 19:54
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