Commit cc42eb432b3b8270fee66cb18ad707eb02e2b47b

silence warnings

Commit diff

app/views/browse/commit.html.erb

 
2020<% @diff.each do |file| -%>
2121 <h4><%= h(file.path) -%><%#=link_to h(file.path), blob_path(file.sha, file.path) -%></h4>
2222 <%= render_diff(file.patch, file.src, file.dst, @diffmode) -%>
23 <small><%= link_to_function "toggle raw diff", "$('#{file.id}').toggle()" -%></small>
24 <div class="toggle_diff" style="display:none" id="<%= file.id -%>">
23 <small><%= link_to_function "toggle raw diff", "$('#{file.object_id}').toggle()" -%></small>
24 <div class="toggle_diff" style="display:none" id="<%= file.object_id -%>">
2525 <p><pre><%= h(file.patch) -%></pre></p>
2626 </div>
2727<% end -%>
toggle raw diff