Update the projects js file to coffeescript; refactor the clone panel switcher

This commit is contained in:
Robert Speicher 2012-09-04 11:36:14 -04:00
parent c1ff89fa2a
commit 7e76610d0a
4 changed files with 18 additions and 45 deletions

View file

@ -12,8 +12,3 @@
%button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
%button{class: "btn small", :"data-clone" => @project.http_url_to_repo} HTTP
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"
:javascript
$(function(){
initGitCloneSwitcher();
})