add jsdoc to component/structure

Change-Id: I4ade632a1a6abc17780d885e971dbfbf14eabb64
This commit is contained in:
Yujun Zhang 2016-07-22 11:13:05 +08:00
parent 57029cdeb1
commit f297e2cb39
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
* other generators, such as test framework generation, packaging tools,
* and/or configuration files.
* @module
*/
'use strict';
@ -34,7 +35,7 @@ var projectBuilder = require('../project_builder');
* @param {generator} generator The currently active generator.
* @returns {generator} The passed generator, for promise chaining.
*/
function initialize (generator) {
function init (generator) {
// Set our defaults:
generator.config.defaults({
@ -132,7 +133,10 @@ function configure (generator) {
}
module.exports = {
init: initialize,
/** @see {@link module:structure~init} */
init: init,
/** @see {@link module:structure~prompt} */
prompt: prompt,
/** @see {@link module:structure~configure} */
configure: configure
};