Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #135 from fengmk2/hotfix
Browse files Browse the repository at this point in the history
Object #<Object> has no method 'forEach' fixed #134
  • Loading branch information
dead-horse committed Jan 8, 2014
2 parents bbafa02 + 2482c06 commit a3b51c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/web/package.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h1>
</table>

<table class="metadata">
<% if (package.maintainers) { %>
<% if (Array.isArray(package.maintainers) && package.maintainers.length > 0) { %>
<tr>
<th>Maintainers</th>
<td>
Expand Down Expand Up @@ -169,7 +169,7 @@ <h1>
</tr>
<% } %>

<% if (package.contributors) { %>
<% if (Array.isArray(package.contributors) && package.contributors.length > 0) { %>
<tr>
<th>Contributors</th>
<td>
Expand Down

0 comments on commit a3b51c6

Please sign in to comment.