Merge "add jsdoc to component/license"

This commit is contained in:
Jenkins 2016-07-22 17:39:17 +00:00 committed by Gerrit Code Review
commit 8a7b536bb6
1 changed files with 10 additions and 2 deletions

View File

@ -14,6 +14,11 @@
* under the License.
*/
/**
* licence module
* @module
*/
'use strict';
var projectBuilder = require('../project_builder');
@ -35,7 +40,7 @@ function noop (generator) {
* @param {generator} generator The currently active generator.
* @returns {generator} The passed generator, for promise chaining.
*/
function configureLicense (generator) {
function configure (generator) {
projectBuilder.addFile('LICENSE');
pkgBuilder.setValues({license: 'Apache-2.0'});
@ -43,7 +48,10 @@ function configureLicense (generator) {
}
module.exports = {
/** @see {@link module:component/license~noop} */
init: noop,
/** @see {@link module:component/license~noop} */
prompt: noop,
configure: configureLicense
/** @see {@link module:component/license~configure} */
configure: configure
};