two formatting fixes

This commit is contained in:
stefanp 2002-12-02 12:23:19 +00:00
parent 428b1ab1ef
commit 1f9846f157
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<h3>Prototype <a href="<% this.href action="main" %>" target="main"><% this.name %></a></h3> <big>Prototype <a href="<% this.href action="main" %>" target="main"><% this.name %></a></big><br/>
<% this.inheritance action="list" %> <% this.inheritance action="list" %>
<% this.inheritance deep="true" hopobject="true" action="main" target="main" onClick="parent.changePrototypeList(this);" separator=", " prefix="extends: " suffix="<br>" %><br> <% this.inheritance deep="true" hopobject="true" action="main" target="main" onClick="parent.changePrototypeList(this);" separator=", " prefix="extends: " suffix="<br>" %><br>

View file

@ -123,7 +123,7 @@ function typeProperties_macro (param) {
// look up in mappings table if line matches: // look up in mappings table if line matches:
for (var e = mappings.keys (); e.hasMoreElements (); ) { for (var e = mappings.keys (); e.hasMoreElements (); ) {
var key = e.nextElement (); var key = e.nextElement ();
var reg = new RegExp ('^' + key + '\\W'); var reg = new RegExp ('^' + key + '\\s');
if (arr[i].match (reg)) { if (arr[i].match (reg)) {
// it matched, wrap line in a link to that prototype: // it matched, wrap line in a link to that prototype:
var docProtoObj = this.getApplication ().getPrototype (mappings.getProperty (key)); var docProtoObj = this.getApplication ().getPrototype (mappings.getProperty (key));