UNPKG

2.12 kBJavaScriptView Raw
1"use strict";
2// *****************************************************************************
3// Copyright (C) 2018 TypeFox and others.
4//
5// This program and the accompanying materials are made available under the
6// terms of the Eclipse Public License v. 2.0 which is available at
7// http://www.eclipse.org/legal/epl-2.0.
8//
9// This Source Code may also be made available under the following Secondary
10// Licenses when the conditions for such availability set forth in the Eclipse
11// Public License v. 2.0 are satisfied: GNU General Public License, version 2
12// with the GNU Classpath Exception which is available at
13// https://www.gnu.org/software/classpath/license.html.
14//
15// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16// *****************************************************************************
17var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18 if (k2 === undefined) k2 = k;
19 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20}) : (function(o, m, k, k2) {
21 if (k2 === undefined) k2 = k;
22 o[k2] = m[k];
23}));
24var __exportStar = (this && this.__exportStar) || function(m, exports) {
25 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
26};
27Object.defineProperty(exports, "__esModule", { value: true });
28exports.bindStatusBar = void 0;
29const status_bar_1 = require("./status-bar");
30const status_bar_types_1 = require("./status-bar-types");
31const status_bar_view_model_1 = require("./status-bar-view-model");
32__exportStar(require("./status-bar"), exports);
33__exportStar(require("./status-bar-types"), exports);
34__exportStar(require("./status-bar-view-model"), exports);
35function bindStatusBar(bind) {
36 bind(status_bar_1.StatusBarImpl).toSelf().inSingletonScope();
37 bind(status_bar_types_1.StatusBar).to(status_bar_1.StatusBarImpl).inSingletonScope();
38 bind(status_bar_view_model_1.StatusBarViewModel).toSelf().inSingletonScope();
39}
40exports.bindStatusBar = bindStatusBar;
41//# sourceMappingURL=index.js.map
\No newline at end of file