Permalink
Browse files

Cross-module link fix when class name begins with 'exports.'

  • Loading branch information...
1 parent 1aec603 commit bbe7d9cc30b571f5317f3bf20b84084f1d7d1998 Omar Khan committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/module.eco
@@ -42,7 +42,7 @@
<% for cls in @module.classes: %>
<div class="class">
<div class="header">
- <a id="<%= cls.name %>"><h3><%= cls.name %></h3></a>
+ <a id="<%= cls.name.replace /^exports\./, '' %>"><h3><%= cls.name %></h3></a>
<% if cls.parent: %>
<% if cls.parent_module?: %>
<a class="parent" href="<%= cls.parent_module %>.html#<%= cls.parent_name %>"><h3>extends <%= cls.parent %></h3></a>

0 comments on commit bbe7d9c

Please sign in to comment.