<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#copied {background-color:#ccccff;}
tr.alt #copied {background-color:#bbbbf7;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="5">Commit in <b><tt>as2api/trunk/as2api/lib/output/html</tt></b></td></tr>
<tr><td><tt><a href="#file1">html_framework.rb</a></tt> </td><td></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center">366 -> 367</td></tr>
</table>
<pre class="comment">
Factor string literal into a constant
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">as2api/trunk/as2api/lib/output/html</span><br />
<div class="fileheader"><big><b>html_framework.rb</b></big> <small id="info">366 -> 367</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/lib/output/html/html_framework.rb        2006-04-03 19:51:39 UTC (rev 366)
+++ trunk/as2api/lib/output/html/html_framework.rb        2006-04-03 21:19:16 UTC (rev 367)
@@ -29,8 +29,8 @@
</small></pre><pre class="diff" id="context"> GetText.bindtextdomain("as2api")
PROJECT_PAGE = "http://www.badgers-in-foil.co.uk/projects/as2api/"
</pre><pre class="diff" id="added">+URL_SEPERATOR = '/'
</pre><pre class="diff" id="context">
</pre><pre class="diff" id="removed">-
</pre><pre class="diff" id="context"> NavLink = Struct.new("NavLink", :href, :content, :title, :is_current)
# superclass for a kind of object able to build a navigation link for
</pre><pre class="diff"><small id="info">@@ -209,7 +209,7 @@
</small></pre><pre class="diff" id="context">
def link_for_type(type)
if type.document?
</pre><pre class="diff" id="removed">- base_path(type.qualified_name.gsub(/\./, <span id="removedchars">"/"</span>)+".html")
</pre><pre class="diff" id="added">+ base_path(type.qualified_name.gsub(/\./, <span id="addedchars">URL_SEPERATOR</span>)+".html")
</pre><pre class="diff" id="context"> else
nil
end
</pre><pre class="diff"><small id="info">@@ -363,7 +363,7 @@
</small></pre><pre class="diff" id="context">
def package_dir_for(package)
if package.name
</pre><pre class="diff" id="removed">- package.name.gsub(/\./, <span id="removedchars">"/"</span>)
</pre><pre class="diff" id="added">+ package.name.gsub(/\./, <span id="addedchars">URL_SEPERATOR</span>)
</pre><pre class="diff" id="context"> else
""
end
</pre><pre class="diff"><small id="info">@@ -371,7 +371,7 @@
</small></pre><pre class="diff" id="context">
def package_link_for(package, page)
return page if package.default?
</pre><pre class="diff" id="removed">- package_dir_for(package) + <span id="removedchars">"/"</span> + page
</pre><pre class="diff" id="added">+ package_dir_for(package) + <span id="addedchars">URL_SEPERATOR</span> + page
</pre><pre class="diff" id="context"> end
def link_package_summary(package)
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.12</small></center>
</body></html>