mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Safer way to determine whether node or browser
This commit is contained in:
15
extensions/ipynb/src/ipynbMain.node.ts
Normal file
15
extensions/ipynb/src/ipynbMain.node.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
import * as main from './ipynbMain';
|
||||
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
return main.activate(context, false);
|
||||
}
|
||||
|
||||
export function deactivate() {
|
||||
return main.deactivate();
|
||||
}
|
||||
Reference in New Issue
Block a user