mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Replace global state usages of ExtensionLoader with DI
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
56 files changed
+2110
-761
No files matched your search
@@ -18,12 +18,5 @@
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
import { getLegacySingleton } from "../../common/di-kludge/get-legacy-singleton/get-legacy-singleton";
|
||||
import extensionLoaderInjectable from "./extension-loader.injectable";
|
||||
|
||||
export * from "./extension-loader";
|
||||
|
||||
/**
|
||||
* @deprecated Switch to using di.inject(extensionLoaderInjectable)
|
||||
*/
|
||||
export const ExtensionLoader = getLegacySingleton(extensionLoaderInjectable);
|
||||
Reference in new issue
Block a user