main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 2 weeks ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
477 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var NativePromiseConstructor = require('../internals/promise-native-constructor');
|
---|
3 | var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');
|
---|
4 | var FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;
|
---|
5 |
|
---|
6 | module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
|
---|
7 | NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
|
---|
8 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.