generator-theia
Version:
Theia Generator
31 lines • 1.43 kB
JavaScript
;
/*
* Copyright (C) 2017 TypeFox and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var common_1 = require("../common");
var ElectronBackendGenerator = (function (_super) {
__extends(ElectronBackendGenerator, _super);
function ElectronBackendGenerator() {
return _super !== null && _super.apply(this, arguments) || this;
}
ElectronBackendGenerator.prototype.generate = function (fs) {
this.doGenerate(fs, this.model.backendElectronModules);
};
return ElectronBackendGenerator;
}(common_1.AbstractBackendGenerator));
exports.ElectronBackendGenerator = ElectronBackendGenerator;
//# sourceMappingURL=electron-backend-generator.js.map