mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +03:00
29 lines
444 B
JavaScript
29 lines
444 B
JavaScript
/**
|
|
* Describe the module here.
|
|
* @module mymodule/config
|
|
*/
|
|
|
|
/**
|
|
* Create a new configuration.
|
|
*
|
|
* @classdesc Describe the class here.
|
|
* @class
|
|
* @alias module:mymodule/config
|
|
* @param {string} id
|
|
*/
|
|
function Config(id) {
|
|
/** Document me. */
|
|
this.id = id;
|
|
}
|
|
|
|
/**
|
|
* Get the configuration ID.
|
|
*
|
|
* @return {string} The configuration ID.
|
|
*/
|
|
Config.prototype.getId = function() {
|
|
return this.id;
|
|
}
|
|
|
|
module.exports = Config;
|