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

Update istanbul asset files #2

Open
wants to merge 1 commit into
base: hbo/master
Choose a base branch
from

Conversation

elliot-nelson
Copy link
Member

SUMMARY

Pull in the latest asset files from the istanbul/nyc project for our istanbul fork.

DETAILS

No breaking changes here. Mostly I'm just pulling in the change I made upstream earlier this year (istanbuljs/istanbuljs#265), which adds the keyboard shortcuts to the file listing view in addition to the in-file view.

};
}());
})();

Choose a reason for hiding this comment

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

Is this right?

var missingCoverageClasses = [ '.cbranch-no', '.cstat-no', '.fstat-no' ];
var jumpToCode = (function init() {
// Classes of code we would like to highlight in the file view
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];

Choose a reason for hiding this comment

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

Here the indentation looks to be 2 spaces, whereas further down they are 4. If it’s not a huge effort, it’d be good to be consistent.

@elliot-nelson
Copy link
Member Author

@suite800 Both suggestions make sense to me, but since this file is just copied straight from the upstream library, I'm hesitant to make any changes at all. (I'd rather it be identical, so that when I update it again a year or 10 years from now, the diff I'm seeing is just what changed in the upstream repo).

Copy link

@suite800 suite800 left a comment

Choose a reason for hiding this comment

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

LGTM!

@suite800
Copy link

suite800 commented Jun 7, 2019

This fell through the crack and I just noticed it. Sorry Elliot.

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