UNPKG

@robotlegsjs/core

Version:

An architecture-based IoC framework for JavaScript/TypeScript

37 lines 2.14 kB
"use strict"; // ------------------------------------------------------------------------------ // Copyright (c) 2017-present, RobotlegsJS. All Rights Reserved. // // NOTICE: You are permitted to use, modify, and distribute this file // in accordance with the terms of the license agreement accompanying it. // ------------------------------------------------------------------------------ Object.defineProperty(exports, "__esModule", { value: true }); exports.MVCSBundle = void 0; var DirectCommandMapExtension_1 = require("../../extensions/directCommandMap/DirectCommandMapExtension"); var ConsoleLoggingExtension_1 = require("../../extensions/enhancedLogging/ConsoleLoggingExtension"); var InjectableLoggerExtension_1 = require("../../extensions/enhancedLogging/InjectableLoggerExtension"); var EventCommandMapExtension_1 = require("../../extensions/eventCommandMap/EventCommandMapExtension"); var EventDispatcherExtension_1 = require("../../extensions/eventDispatcher/EventDispatcherExtension"); var LocalEventMapExtension_1 = require("../../extensions/localEventMap/LocalEventMapExtension"); /** * For that Classic Robotlegs flavour * * <p>This bundle installs a number of extensions commonly used * in typical Robotlegs applications and modules.</p> */ var MVCSBundle = /** @class */ (function () { function MVCSBundle() { } /*============================================================================*/ /* Public Functions */ /*============================================================================*/ /** * @inheritDoc */ MVCSBundle.prototype.extend = function (context) { context.install(ConsoleLoggingExtension_1.ConsoleLoggingExtension, InjectableLoggerExtension_1.InjectableLoggerExtension, EventDispatcherExtension_1.EventDispatcherExtension, DirectCommandMapExtension_1.DirectCommandMapExtension, EventCommandMapExtension_1.EventCommandMapExtension, LocalEventMapExtension_1.LocalEventMapExtension); }; return MVCSBundle; }()); exports.MVCSBundle = MVCSBundle; //# sourceMappingURL=MVCSBundle.js.map