modified header in apidocs
This commit is contained in:
parent
4a7616d5a0
commit
69f391d2d6
7 changed files with 67 additions and 12 deletions
|
@ -18,6 +18,28 @@ function href_macro(par) {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* macro rendering page head
|
||||
*/
|
||||
function head_macro(par) {
|
||||
var obj = new Object();
|
||||
obj.path = this.getPath();
|
||||
var appObj = this.getApplication();
|
||||
appObj.renderSkin("head",obj);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* utility function for head_macro, rendering link to app and to prototype
|
||||
*/
|
||||
function getPath() {
|
||||
var appObj = this.getApplication();
|
||||
var str = appObj.getPath();
|
||||
str += '/<a href="' + this.href("main") + '">' + this.name + '</a>';
|
||||
return( str );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* macro returning the comment for this prototype
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
<h2>Prototype <% this.name %></h2>
|
||||
<% this.head %>
|
||||
|
||||
<% this.actions %>
|
||||
<% this.skins %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue