mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -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 = {
|
var classLayout = {
|
||||||
'Paper.js': ['global'],
|
'Paper.js': ['global paper scope:_global_'],
|
||||||
'Basic Types': ['Point', 'Size', 'Rectangle', 'Matrix'],
|
'Basic Types': ['Point', 'Size', 'Rectangle', 'Matrix'],
|
||||||
'Items': ['Item', 'Layer', 'Group', 'Raster', 'PlacedSymbol'],
|
'Items': ['Item', 'Layer', 'Group', 'Raster', 'PlacedSymbol'],
|
||||||
'Paths': ['Path', 'CompoundPath', 'Segment', 'Curve', 'PathStyle', 'ruler',
|
'Paths': ['Path', 'CompoundPath', 'Segment', 'Curve', 'PathStyle', 'ruler',
|
||||||
|
|
|
@ -222,7 +222,13 @@ var Utils = {
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
function getLink(name) {
|
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() {
|
function getRuler() {
|
||||||
|
|
Loading…
Reference in a new issue