Last active
December 15, 2015 05:38
-
-
Save sandbochs/5210014 to your computer and use it in GitHub Desktop.
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
$('tr.unmerged-content td.name h3 a.css-truncate').each(function(i, el) { | |
url = el.href.replace('/tree/', '/branches/'); | |
console.log(url); | |
// $.ajax({ | |
// url: url, | |
// type: 'DELETE' | |
// }) | |
}) | |
$('tr.merged-content td.name h3 a.css-truncate').each(function(i, el) { | |
url = el.href.replace('/tree/', '/branches/'); | |
console.log(url); | |
// $.ajax({ | |
// url: url, | |
// type: 'DELETE' | |
// }) | |
}) | |
$('tr.merged-content td.name h3 a.css-truncate').length | |
$('tr.unmerged-content td.name h3 a.css-truncate').length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment