diff --git a/app/views/blob/show.js.haml b/app/views/blob/show.js.haml deleted file mode 100644 index 0b76661cb7d..00000000000 --- a/app/views/blob/show.js.haml +++ /dev/null @@ -1,11 +0,0 @@ -:plain - // Load Files list - $("#tree-holder").html("#{escape_javascript(render(partial: "blob", locals: {blob: @blob}))}"); - $("#tree-content-holder").show("slide", { direction: "right" }, 400); - $('.project-refs-form #path').val("#{@path}"); - $(".project-refs-form #destination").val("blob"); - - // Load last commit log for each file in tree - $('#tree-slider').waitForImages(function() { - ajaxGet('#{@logs_path}'); - }); diff --git a/app/views/projects/tree.js.haml b/app/views/projects/tree.js.haml deleted file mode 100644 index ba5d53c16a2..00000000000 --- a/app/views/projects/tree.js.haml +++ /dev/null @@ -1,5 +0,0 @@ -:plain - $("#tree-holder table").hide("slide", { direction: "left" }, 150, function(){ - $("#tree-holder").html("#{escape_javascript(render(partial: "tree", locals: {repo: @repo, commit: @commit, tree: @tree}))}"); - $("#tree-holder table").show("slide", { direction: "right" }, 150); - });