Created
September 5, 2014 22:49
-
-
Save fcy/92f7cd21de37129b6d3d to your computer and use it in GitHub Desktop.
Hide Pods from GitHub's PR Diffs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#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