1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-07-05 17:30:05 +01:00
HackMyResume/dist/generators/word-generator.js
2016-02-02 13:38:12 -05:00

33 lines
1002 B
JavaScript

/*
Definition of the WordGenerator class.
@module generators/word-generator
@license MIT. See LICENSE.md for details.
*/
(function() {
var TemplateGenerator, WordGenerator,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
TemplateGenerator = require('./template-generator');
module.exports = WordGenerator = (function(superClass) {
extend(WordGenerator, superClass);
function WordGenerator() {
return WordGenerator.__super__.constructor.apply(this, arguments);
}
WordGenerator.prototype.init = function() {
return WordGenerator.__super__.init.call(this, 'doc', 'xml');
};
return WordGenerator;
})(TemplateGenerator);
}).call(this);
//# sourceMappingURL=word-generator.js.map