mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
jsdoc template: allow optional naming of symbols in the package list and name '_global_' -> 'global paper scope'
This commit is contained in:
parent
434268fbd1
commit
3d7ddb26bf
2 changed files with 8 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
var classLayout = {
|
||||
'Paper.js': ['global'],
|
||||
'Paper.js': ['global paper scope:_global_'],
|
||||
'Basic Types': ['Point', 'Size', 'Rectangle', 'Matrix'],
|
||||
'Items': ['Item', 'Layer', 'Group', 'Raster', 'PlacedSymbol'],
|
||||
'Paths': ['Path', 'CompoundPath', 'Segment', 'Curve', 'PathStyle', 'ruler',
|
||||
|
|
|
@ -222,7 +222,13 @@ var Utils = {
|
|||
return out;
|
||||
}
|
||||
function getLink(name) {
|
||||
return '<li><a href="' + name + '.html">' + name + '</a></li>';
|
||||
var link = name;
|
||||
if (name.indexOf(':') > 0) {
|
||||
var names = name.split(':');
|
||||
name = names[0];
|
||||
link = names[1];
|
||||
}
|
||||
return '<li><a href="' + link + '.html">' + name + '</a></li>';
|
||||
}
|
||||
|
||||
function getRuler() {
|
||||
|
|
Loading…
Reference in a new issue