Skip to content

Instantly share code, notes, and snippets.

@dohzya
Created January 25, 2013 15:50
Show Gist options
  • Save dohzya/4635435 to your computer and use it in GitHub Desktop.
Save dohzya/4635435 to your computer and use it in GitHub Desktop.
Récupérer la réponse d'un gist sans la question
<html>
<head>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="https://gist.github.com/4635425.js"></script>
<script>
$(function(){
$(".gist .gist-file").each(function(){
var $file = $(this);
var $meta = $file.find(".gist-meta");
var $name = $($meta.find("a")[1]);
var name = $name.html();
if (name === "Question") $file.hide();
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment