Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit a9e5478

Browse files
committed
move resolved promise from common
1 parent 9b120f2 commit a9e5478

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/common.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ export var isWindows = typeof process !== 'undefined' && typeof process.platform
88
var envGlobal = typeof self !== 'undefined' ? self : global;
99
export { envGlobal as global }
1010

11-
export var resolvedPromise = Promise.resolve();
12-
1311
/*
1412
* Simple Symbol() shim
1513
*/

core/loader-polyfill.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import { addToError, createSymbol, resolvedPromise } from './common.js';
1+
import { addToError, createSymbol } from './common.js';
22

33
export { Loader, ModuleNamespace }
44

5+
var resolvedPromise = Promise.resolve();
6+
57
/*
68
* Simple Array values shim
79
*/

0 commit comments

Comments
 (0)