Safer way to determine whether node or browser

This commit is contained in:
Don Jayamanne
2024-09-09 12:07:43 +10:00
parent 1865c2979d
commit 692656799a
7 changed files with 39 additions and 10 deletions

View 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();
}