Last active
January 3, 2016 12:59
-
-
Save calebwoods/8466688 to your computer and use it in GitHub Desktop.
Revisions
-
calebwoods revised this gist
Jan 17, 2014 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,6 @@ javascript:(function () { var mergeMessage = $('.merge-commit-message'); if (mergeMessage.length > 0) { prNum = location.pathname.split('/').slice(-1)[0]; var prTitle = $('.discussion-topic-title').text(); -
calebwoods created this gist
Jan 17, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ javascript:(function () { var mergeButton = $('.merge-branch-action.js-details-target'); var mergeMessage = $('.merge-commit-message'); mergeButton.click(); if (mergeMessage.length > 0) { prNum = location.pathname.split('/').slice(-1)[0]; var prTitle = $('.discussion-topic-title').text(); mergeMessage.val('' + prTitle + ' [KB #NUMBER] (GH #' + prNum + ')'); } })();