tsioc
Version:
tsioc is AOP, Ioc container, via typescript decorator
32 lines (30 loc) • 1.25 kB
JavaScript
;
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 BrowserModuleLoader_1 = require("./BrowserModuleLoader");
var ContainerBaseBuilder_1 = require("../ContainerBaseBuilder");
/**
* container builder for browser.
*
* @export
* @class ContainerBuilder
* @extends {ContainerBaseBuilder}
*/
var ContainerBuilder = /** @class */ (function (_super) {
__extends(ContainerBuilder, _super);
function ContainerBuilder(loader) {
return _super.call(this, loader || new BrowserModuleLoader_1.BrowserModuleLoader()) || this;
}
return ContainerBuilder;
}(ContainerBaseBuilder_1.ContainerBaseBuilder));
exports.ContainerBuilder = ContainerBuilder;
//# sourceMappingURL=../sourcemaps/browsers/ContainerBuilder.js.map