Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moar js.

  • Loading branch information...
commit b01aaca0d88ac5b2104c2270a859f988b7826cef 1 parent c9b678b
@sjl authored
View
1  dotcss/bitbucket.org.css
@@ -0,0 +1 @@
+#invite-repo-box {display: none;}
View
3  dotcss/goodreads.com.css
@@ -0,0 +1,3 @@
+#featured_polls, #quote_of_the_day {
+ display: none;
+}
View
15 dotjs/github.com.js
@@ -54,4 +54,19 @@ $(function() {
if (window.location.hash === '#reviewing') {
$('a#toggle-merges-button').click();
}
+
+ if ($('.view-pull-request').length) {
+ var url = $('table.commits tr.commit .commit-meta a').attr('href');
+ var parts = url.split('/');
+ var repo = 'git://github.com/' + parts[1] + '/' + parts[2] + '.git';
+ $('#pull-head').append('<textarea id="goddamned-repo-url">' + repo + '</textarea>');
+ $('#goddamned-repo-url').css('width', '897px')
+ .css('height', '20px')
+ .css('border', '1px solid #ccc')
+ .css('padding', '5px 0px 3px 4px')
+ .css('margin', '3px 0px 5px 8px')
+ .css('font-size', '18px')
+ .css('color', '#555')
+ .css('border-radius', '3px');
+ }
});
Please sign in to comment.
Something went wrong with that request. Please try again.