From de2cd345eba0039907be58455dd2e95a0bb17d89 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 29 Apr 2013 13:50:23 +0300 Subject: [PATCH] Remove unused code --- app/views/blob/show.js.haml | 11 ----------- app/views/projects/tree.js.haml | 5 ----- 2 files changed, 16 deletions(-) delete mode 100644 app/views/blob/show.js.haml delete mode 100644 app/views/projects/tree.js.haml 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); - });