mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -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);
|
IO.saveFile(publish.conf.classesDir, name, html);
|
||||||
}
|
}
|
||||||
if (templatedocs) {
|
if (templatedocs) {
|
||||||
IO.saveFile(publish.conf.outDir, 'packages.js', Render.indexjs());
|
IO.saveFile(publish.conf.outDir, 'packages.js', Render.packages());
|
||||||
} else {
|
} else {
|
||||||
IO.saveFile(publish.conf.classesDir, 'index.html', Render.index());
|
IO.saveFile(publish.conf.classesDir, 'index.html', Render.index());
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ var Render = new function() {
|
||||||
constructor: 'constructor.tmpl',
|
constructor: 'constructor.tmpl',
|
||||||
html: 'html.tmpl',
|
html: 'html.tmpl',
|
||||||
index: 'index.tmpl',
|
index: 'index.tmpl',
|
||||||
indexjs: 'indexjs.tmpl',
|
packages: 'packages.tmpl',
|
||||||
operator: 'operator.tmpl'
|
operator: 'operator.tmpl'
|
||||||
};
|
};
|
||||||
publish.classes = [];
|
publish.classes = [];
|
||||||
|
@ -387,8 +387,8 @@ var Render = new function() {
|
||||||
index: function(html) {
|
index: function(html) {
|
||||||
return templates.index.process(html);
|
return templates.index.process(html);
|
||||||
},
|
},
|
||||||
indexjs: function() {
|
packages: function() {
|
||||||
return templates.indexjs.process(publish.classes);
|
return templates.packages.process(publish.classes);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
Loading…
Reference in a new issue