jsdoc: Rename indexjs to packages.

This commit is contained in:
Jürg Lehni 2011-06-08 17:55:43 +01:00
parent 725331412c
commit 501c3b56b4
3 changed files with 4 additions and 4 deletions

View file

@ -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());
} }

View file

@ -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);
} }
}; };
}; };