Created
February 10, 2014 23:41
-
-
Save jarofghosts/8926515 to your computer and use it in GitHub Desktop.
see just the js files in a github pr
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
$('[data-path]').each(function(i, el) { | |
var $el = $(el) | |
if ($el.attr('data-path').slice(-3) !== '.js') { | |
$el.parents('.file').hide() | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to include templates: