Created
March 23, 2016 15:14
-
-
Save bichotll/e6f95e1757b6003d936f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
window.getGitTag = function(){ | |
return ( | |
$('#content > h2').text().replace('#', '') + | |
'-' + | |
$('#content .subject h3').text().replace('-', '') | |
).replace(' ', '-').toLowerCase(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment