Commit de2cd345eba0039907be58455dd2e95a0bb17d89

Authored by Dmitriy Zaporozhets
1 parent 5872b10d

Remove unused code

app/views/blob/show.js.haml
@@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
1 -:plain  
2 - // Load Files list  
3 - $("#tree-holder").html("#{escape_javascript(render(partial: "blob", locals: {blob: @blob}))}");  
4 - $("#tree-content-holder").show("slide", { direction: "right" }, 400);  
5 - $('.project-refs-form #path').val("#{@path}");  
6 - $(".project-refs-form #destination").val("blob");  
7 -  
8 - // Load last commit log for each file in tree  
9 - $('#tree-slider').waitForImages(function() {  
10 - ajaxGet('#{@logs_path}');  
11 - });  
app/views/projects/tree.js.haml
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -:plain  
2 - $("#tree-holder table").hide("slide", { direction: "left" }, 150, function(){  
3 - $("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {repo: @repo, commit: @commit, tree: @tree}))}");  
4 - $("#tree-holder table").show("slide", { direction: "right" }, 150);  
5 - });