Permalink
Browse files

add .js; add a 'hide rails' feature to github activity feed

  • Loading branch information...
1 parent f6ebfd4 commit 4527aaff3922516aa4b770733fe608351070ee24 @briandoll committed Jun 24, 2011
Showing with 7 additions and 3 deletions.
  1. +1 −3 install.rb
  2. +6 −0 js/github.com.js
View
@@ -1,4 +1,3 @@
-
#!/usr/bin/env ruby
# from http://errtheblog.com/posts/89-huba-huba
@@ -15,5 +14,4 @@
system %[ln -vsf #{File.join(dotfiles_dir, file)} #{target}]
end
end
-end
-
+end
View
@@ -0,0 +1,6 @@
+var hideRails = function(){
+ $('.alert .body .title a:contains("rails/rails")')
+ .parent('.title').parent('.body').parent('.alert').hide();
+}
+$('ul.tabs').append('<li><a href="#" id="hiderails">Hide Rails</a></li>');
+$('#hiderails').click(hideRails);

0 comments on commit 4527aaf

Please sign in to comment.