UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

37 lines (28 loc) 694 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.provide = provide; function _bluebird() { const data = require("bluebird"); _bluebird = function () { return data; }; return data; } function _graphBuilder() { const data = require("./graph-builder"); _graphBuilder = function () { return data; }; return data; } function provide(_x) { return _provide.apply(this, arguments); } function _provide() { _provide = (0, _bluebird().coroutine)(function* ([workspace, scope, componentFactory]) { return new (_graphBuilder().GraphBuilder)(componentFactory, workspace, scope); }); return _provide.apply(this, arguments); }