bookmarklet to calculate lines of code changed in a chromium code review
javascript:var t=0;Array.prototype.forEach.call(document.querySelectorAll('[name=patch] td:nth-of-type(7)'),function(e){t+=eval(e.textContent.replace(/[lines ,]/g,'').replace('-','+'));});alert(total); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment