UNPKG

@difizen/mana-core

Version:

36 lines (35 loc) 1.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _exportNames = { ApplicationModule: true }; exports.ApplicationModule = void 0; var _module = require("../module"); var _application = require("./application"); Object.keys(_application).forEach(function (key) { if (key === "default" || key === "__esModule") return; if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; if (key in exports && exports[key] === _application[key]) return; Object.defineProperty(exports, key, { enumerable: true, get: function get() { return _application[key]; } }); }); var _applicationState = require("./application-state"); Object.keys(_applicationState).forEach(function (key) { if (key === "default" || key === "__esModule") return; if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; if (key in exports && exports[key] === _applicationState[key]) return; Object.defineProperty(exports, key, { enumerable: true, get: function get() { return _applicationState[key]; } }); }); var _defaultWindowService = require("./default-window-service"); var ApplicationModule = exports.ApplicationModule = _module.ManaModule.create().contribution(_application.ApplicationContribution).register(_applicationState.ApplicationStateService, _application.Application, _defaultWindowService.DefaultWindowService);