HackMyResume/dist/generators/base-generator.js

35 lines
753 B
JavaScript
Raw Normal View History

(function() {
2018-02-12 05:05:29 +00:00
/**
Definition of the BaseGenerator class.
@module generators/base-generator
@license MIT. See LICENSE.md for details.
*/
var BaseGenerator;
2016-01-27 10:29:26 +00:00
2018-02-12 05:05:29 +00:00
/**
The BaseGenerator class is the root of the generator hierarchy. Functionality
common to ALL generators lives here.
*/
module.exports = BaseGenerator = (function() {
2018-02-12 05:05:29 +00:00
class BaseGenerator {
/** Base-class initialize. */
constructor(format) {
this.format = format;
}
2016-01-27 10:29:26 +00:00
2018-02-12 05:05:29 +00:00
};
2016-01-27 10:29:26 +00:00
/** Status codes. */
BaseGenerator.prototype.codes = require('../core/status-codes');
2016-01-27 10:29:26 +00:00
/** Generator options. */
BaseGenerator.prototype.opts = {};
return BaseGenerator;
2018-02-12 05:05:29 +00:00
}).call(this);
2016-01-27 10:29:26 +00:00
}).call(this);
2016-02-02 02:14:36 +00:00
//# sourceMappingURL=base-generator.js.map