Skip to content

Commit c788fcc

Browse files
authored
Merge pull request microsoft#91896 from microsoft/joh/no-polyfill-promise
remove polyfill promise
2 parents 2a12c9a + 02f23e5 commit c788fcc

8 files changed

Lines changed: 1 addition & 333 deletions

File tree

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
**/vs/css.build.js
44
**/vs/css.js
55
**/vs/loader.js
6-
**/promise-polyfill/**
76
**/insane/**
87
**/marked/**
98
**/test/**/*.js

build/gulpfile.editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const extractEditorSrcTask = task.define('extract-editor-src', () => {
7373
extrausages
7474
],
7575
shakeLevel: 2, // 0-Files, 1-InnerFile, 2-ClassMembers
76-
importIgnorePattern: /(^vs\/css!)|(promise-polyfill\/polyfill)/,
76+
importIgnorePattern: /(^vs\/css!)/,
7777
destRoot: path.join(root, 'out-editor-src'),
7878
redirects: []
7979
});

build/gulpfile.hygiene.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ const copyrightFilter = [
114114
'!**/*.disabled',
115115
'!**/*.code-workspace',
116116
'!**/*.js.map',
117-
'!**/promise-polyfill/polyfill.js',
118117
'!build/**/*.init',
119118
'!resources/linux/snap/snapcraft.yaml',
120119
'!resources/linux/snap/electron-launch',

src/vs/editor/common/standalone/promise-polyfill/cgmanifest.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/vs/editor/common/standalone/promise-polyfill/polyfill.js

Lines changed: 0 additions & 291 deletions
This file was deleted.

src/vs/editor/common/standalone/promise-polyfill/polyfill.license.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/vs/editor/common/standalone/standaloneBase.ts

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

6-
import 'vs/editor/common/standalone/promise-polyfill/polyfill';
76
import { CancellationTokenSource } from 'vs/base/common/cancellation';
87
import { Emitter } from 'vs/base/common/event';
98
import { KeyChord, KeyMod as ConstKeyMod } from 'vs/base/common/keyCodes';

src/vs/monaco.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ declare namespace monaco {
381381
*/
382382
MAX_VALUE = 112
383383
}
384-
385384
export class KeyMod {
386385
static readonly CtrlCmd: number;
387386
static readonly Shift: number;

0 commit comments

Comments
 (0)