Skip to content

Commit

Permalink
Remove old code in Commit/Diff views
Browse files Browse the repository at this point in the history
We used to put diffs inside a <pre><code> block,
but no longer need to do that as we now use tables anyway.
We changed the code for the History view, but not for the
other two views.
  • Loading branch information
pieter committed Jan 25, 2009
1 parent 87fae3f commit c689510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 1 addition & 4 deletions html/views/commit/index.html
Expand Up @@ -31,8 +31,5 @@ <h1 id='title'>
<div id="state">
Nothing to commit (working directory clean)
</div>
<pre>
<code class="diffcode" id='diff'>
</code>
</pre>
<div id='diff'></div>
</body>
5 changes: 2 additions & 3 deletions html/views/diff/index.html
Expand Up @@ -9,12 +9,11 @@

<script type="text/javascript" charset="utf-8">
var showDiff = function(diff) {
highlightDiff(diff, $("details"));
highlightDiff(diff, $("diff"));
}
</script>
</head>

<body>
<pre><code class="diffcode" id='details'>
</code></pre>
<div id='diff'></div>
</body>

0 comments on commit c689510

Please sign in to comment.