Merge "add jsdoc to component/structure"

This commit is contained in:
Jenkins 2016-07-22 17:43:48 +00:00 committed by Gerrit Code Review
commit 292465d921
1 changed files with 6 additions and 2 deletions

View File

@ -19,6 +19,7 @@
* such as engine, common output directories, and language level. It informs * such as engine, common output directories, and language level. It informs
* other generators, such as test framework generation, packaging tools, * other generators, such as test framework generation, packaging tools,
* and/or configuration files. * and/or configuration files.
* @module
*/ */
'use strict'; 'use strict';
@ -34,7 +35,7 @@ var projectBuilder = require('../project_builder');
* @param {generator} generator The currently active generator. * @param {generator} generator The currently active generator.
* @returns {generator} The passed generator, for promise chaining. * @returns {generator} The passed generator, for promise chaining.
*/ */
function initialize (generator) { function init (generator) {
// Set our defaults: // Set our defaults:
generator.config.defaults({ generator.config.defaults({
@ -132,7 +133,10 @@ function configure (generator) {
} }
module.exports = { module.exports = {
init: initialize, /** @see {@link module:structure~init} */
init: init,
/** @see {@link module:structure~prompt} */
prompt: prompt, prompt: prompt,
/** @see {@link module:structure~configure} */
configure: configure configure: configure
}; };