Skip to content

Commit b60903d

Browse files
committed
Remove no longer necessary 'use strict'
1 parent 40a6a2d commit b60903d

11 files changed

Lines changed: 0 additions & 21 deletions

File tree

build/lib/extensions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ function fromLocalWebpack(extensionPath: string, sourceMappingURLBase: string |
4848
}
4949
}
5050

51-
5251
vsce.listFiles({ cwd: extensionPath, packageManager: vsce.PackageManager.Yarn, packagedDependencies }).then(fileNames => {
5352
const files = fileNames
5453
.map(fileName => path.join(extensionPath, fileName))

src/vs/base/browser/ui/tree/objectTreeModel.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { ISpliceable } from 'vs/base/common/sequence';
97
import { Iterator, ISequence } from 'vs/base/common/iterator';
108
import { IndexTreeModel } from 'vs/base/browser/ui/tree/indexTreeModel';

src/vs/base/common/json.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
/*---------------------------------------------------------------------------------------------
6-
* Copyright (c) Microsoft Corporation. All rights reserved.
7-
* Licensed under the MIT License. See License.txt in the project root for license information.
8-
*--------------------------------------------------------------------------------------------*/
9-
'use strict';
105

116
export const enum ScanError {
127
None = 0,

src/vs/base/common/jsonEdit.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
65

76
import { ParseError, Node, JSONPath, Segment, parseTree, findNodeAtLocation } from './json';
87
import { Edit, format, isEOL, FormattingOptions } from './jsonFormatter';

src/vs/base/common/jsonFormatter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
65

76
import { createScanner, SyntaxKind, ScanError } from './json';
87

src/vs/base/worker/workerMain.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
(function () {
7-
'use strict';
87

98
let MonacoEnvironment = (<any>self).MonacoEnvironment;
109
let monacoBaseUrl = MonacoEnvironment && MonacoEnvironment.baseUrl ? MonacoEnvironment.baseUrl : '../../../';

src/vs/editor/common/services/getIconClasses.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { Schemas } from 'vs/base/common/network';
97
import { DataUri, basenameOrAuthority } from 'vs/base/common/resources';
108
import { URI as uri } from 'vs/base/common/uri';

src/vs/workbench/api/electron-browser/mainThreadClipboard.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { clipboard } from 'electron';
97
import { extHostNamedCustomer } from 'vs/workbench/api/electron-browser/extHostCustomers';
108
import { MainContext, MainThreadClipboardShape } from '../node/extHost.protocol';

src/vs/workbench/api/node/extHostClipboard.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { IMainContext, MainContext, MainThreadClipboardShape } from 'vs/workbench/api/node/extHost.protocol';
97
import * as vscode from 'vscode';
108

src/vs/workbench/parts/snippets/electron-browser/snippetCompletionProvider.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { MarkdownString } from 'vs/base/common/htmlContent';
97
import { compare } from 'vs/base/common/strings';
108
import { Position } from 'vs/editor/common/core/position';

0 commit comments

Comments
 (0)