|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
456 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | require('../../modules/es.promise');
|
|---|
| 3 | require('../../modules/es.promise.with-resolvers');
|
|---|
| 4 | var call = require('../../internals/function-call');
|
|---|
| 5 | var isCallable = require('../../internals/is-callable');
|
|---|
| 6 | var path = require('../../internals/path');
|
|---|
| 7 |
|
|---|
| 8 | var Promise = path.Promise;
|
|---|
| 9 | var promiseWithResolvers = Promise.withResolvers;
|
|---|
| 10 |
|
|---|
| 11 | module.exports = function withResolvers() {
|
|---|
| 12 | return call(promiseWithResolvers, isCallable(this) ? this : Promise);
|
|---|
| 13 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.