From 37c3474f683be3deac8ba1e90183029d2f49bcdc Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Wed, 3 Oct 2012 18:29:15 -0400 Subject: [PATCH] Tree.init() JS is no longer required --- app/views/tree/show.html.haml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/views/tree/show.html.haml b/app/views/tree/show.html.haml index 591818ce..a4034f22 100644 --- a/app/views/tree/show.html.haml +++ b/app/views/tree/show.html.haml @@ -1,8 +1,3 @@ = render "head" %div#tree-holder.tree-holder - = render "tree", commit: @commit, tree: @tree - -:javascript - $(function() { - Tree.init(); - }); + = render "tree", tree: @tree