--- trunk/lib/Frey/Introspect.pm 2008/11/05 08:20:59 288
+++ trunk/lib/Frey/Introspect.pm 2008/11/05 08:21:03 292
@@ -77,7 +77,7 @@
$out .= "\t\t},\n\t\tmeta: Frey.HTML,
classMethods: {
renderHTML: function () {
- return new Joose.SimpleRequest().getText(\"/Frey-Introspect?class=" . $self->class . "\")
+ return new Joose.SimpleRequest().getText(\"/" . $self->class . "\")
},\n";
$out .= "\t\t},\n";
@@ -172,11 +172,12 @@
}
$after .= ' ';
}
- qq|
$before $_ | $after | |
+ my $type = $attr->has_type_constraint ? $attr->type_constraint->name : '';
+ qq|$before $_ | $type | $after | |
} sort $meta->get_attribute_list
}
- my $table = qq|Methods | Attributes | Properties |
|;
+ my $table = qq|