Skip to content

Instantly share code, notes, and snippets.

@fcy
Created September 5, 2014 22:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fcy/92f7cd21de37129b6d3d to your computer and use it in GitHub Desktop.
Save fcy/92f7cd21de37129b6d3d to your computer and use it in GitHub Desktop.
Hide Pods from GitHub's PR Diffs
$('#files_bucket .file').each(function() {
var fileDiff = $(this).children('.data, .image')
var fileNameSpan = $(this).find('.info > .js-selectable-text').first()
var fileName = fileNameSpan.attr('title')
var filter = /Pods/
if (filter.test(fileName)) {
fileDiff.hide()
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment