Merge branch 'master' of git://factorcode.org/git/factor

db4
Eduardo Cavazos 2007-12-11 14:55:21 -06:00
commit 0e7e16d928
3 changed files with 13 additions and 11 deletions

View File

@ -3,9 +3,9 @@
<h2>Annotation: <% "summary" get write %></h2>
<table>
<tr><th>Annotation by:</th><td><% "author" get write %></td></tr>
<tr><th>Channel:</th><td><% "channel" get write %></td></tr>
<tr><th>Created:</th><td><% "date" get timestamp>string write %></td></tr>
<tr><th align="right">Annotation by:</th><td><% "author" get write %></td></tr>
<tr><th align="right">File type:</th><td><% "mode" get write %></td></tr>
<tr><th align="right">Created:</th><td><% "date" get timestamp>string write %></td></tr>
</table>
<% "syntax" render-template %>

View File

@ -17,13 +17,15 @@
<% "pastes" get <reversed> [ "paste-summary" render-component ] each %>
</table>
</td>
<td valign="top" width="25%" class="infobox">
<p>This pastebin is written in <a href="http://factorcode.org/">Factor</a>. It is inspired by <a href="http://paste.lisp.org">lisppaste</a>.
</p>
<p>It can be used for collaborative development over IRC. You can post code for review, and annotate other people's code. Syntax highlighting for over a hundred file types is supported.
</p>
<p>
<% "webapps.pastebin" browse-webapp-source %></p>
<td valign="top" width="25%">
<div class="infobox">
<p>This pastebin is written in <a href="http://factorcode.org/">Factor</a>. It is inspired by <a href="http://paste.lisp.org">lisppaste</a>.
</p>
<p>It can be used for collaborative development over IRC. You can post code for review, and annotate other people's code. Syntax highlighting for over a hundred file types is supported.
</p>
<p>
<% "webapps.pastebin" browse-webapp-source %></p>
</div>
</td>
</tr>
</table>

View File

@ -58,7 +58,7 @@ C: <annotation> annotation
paste-n number>string [ show-paste ] curry quot-link ;
: paste-feed ( -- entries )
get-pastebin pastebin-pastes [
get-pastebin pastebin-pastes <reversed> [
{
paste-summary
paste-link