Last active
August 29, 2015 14:06
-
-
Save Hamatti/6e0de4df684b2b37479e to your computer and use it in GitHub Desktop.
A JS Bookmarklet to show difference in lines of codes for a BitBucket pull request
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
| javascript:(function(){alert(([].slice.call(document.querySelectorAll('.lines-added, .lines-removed')).reduce(function (a, el){return a + Number(el.innerHTML);},0)+' loc').replace(/^(?!-)/, '+'))})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment