mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
jsdoc: Rename indexjs to packages.
This commit is contained in:
parent
725331412c
commit
501c3b56b4
3 changed files with 4 additions and 4 deletions
|
@ -92,7 +92,7 @@ function publish(symbolSet) {
|
|||
IO.saveFile(publish.conf.classesDir, name, html);
|
||||
}
|
||||
if (templatedocs) {
|
||||
IO.saveFile(publish.conf.outDir, 'packages.js', Render.indexjs());
|
||||
IO.saveFile(publish.conf.outDir, 'packages.js', Render.packages());
|
||||
} else {
|
||||
IO.saveFile(publish.conf.classesDir, 'index.html', Render.index());
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ var Render = new function() {
|
|||
constructor: 'constructor.tmpl',
|
||||
html: 'html.tmpl',
|
||||
index: 'index.tmpl',
|
||||
indexjs: 'indexjs.tmpl',
|
||||
packages: 'packages.tmpl',
|
||||
operator: 'operator.tmpl'
|
||||
};
|
||||
publish.classes = [];
|
||||
|
@ -387,8 +387,8 @@ var Render = new function() {
|
|||
index: function(html) {
|
||||
return templates.index.process(html);
|
||||
},
|
||||
indexjs: function() {
|
||||
return templates.indexjs.process(publish.classes);
|
||||
packages: function() {
|
||||
return templates.packages.process(publish.classes);
|
||||
}
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue