Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (42 sloc) 1.712 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<%- rss = 'distribution/' _ module.distribution %>
<%- title = module.path %>
<strong><big>
    <a href="/source/<% base = [module.author, module.release].join("/"); base %>"><% [module.author, module.release].join(" / ") %></a>
  <% FOREACH part IN module.path.split("/"); base = base _ "/" _ part -%>
    / <% UNLESS loop.last %><a href="/source/<% base %>"><% part %></a><% ELSE %><% part %><% END %>
    <% END %>
  </big></strong><br><br>

<div class="search-bar">
  <strong>Tools</strong>
  <ul>
    <li><a href="/release/<% module.author %>/<% module.release %>/">To release page</a></li>
    <li><a href="/author/<% module.author %>/">To author page</a></li>
    <li>&nbsp;</li>
    <li><a href="<% api %>/source/<% module.author %>/<% module.release %>/<% module.path %>">Raw code</a></li>
    <li><a href="/raw/<% module.author %>/<% module.release %>/<% module.path %>?download=1">Download</a></li>
    <% IF module.sloc > 0 %>
    <li><a href="javascript:togglePod(<% module.pod_lines.json %>)">Toggle pod</a></li>
    <% END %>
  </ul>
  <hr>
  <strong>Info</strong>
  <ul>
    <li><% module.sloc %> lines of code</li>
    <li><% module.slop %> lines of pod</li>
    <li><% module.stat.size | format_bytes %> bytes</li>
  </ul>
</div>

<div class="content">
<pre class="brush: <% filetype %>; class-name: 'highlight'; toolbar: false;" id="source"><% source %></pre>
</div>

<script type="text/javascript">

//document.getElementById('source').style.visibility = 'hidden';
//SyntaxHighlighter.all();
$(document).ready(function() {
<% IF module.sloc > 0 %>
togglePod(<% module.pod_lines.json %>);
<% END %>
if(document.location.hash)
    document.location.href = document.location.href;
});
</script>
Something went wrong with that request. Please try again.