aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-runtime/helpers/asyncGenerator.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-runtime/helpers/asyncGenerator.js')
-rw-r--r--node_modules/babel-runtime/helpers/asyncGenerator.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/node_modules/babel-runtime/helpers/asyncGenerator.js b/node_modules/babel-runtime/helpers/asyncGenerator.js
index 574b28a50..ebbea0964 100644
--- a/node_modules/babel-runtime/helpers/asyncGenerator.js
+++ b/node_modules/babel-runtime/helpers/asyncGenerator.js
@@ -2,10 +2,6 @@
exports.__esModule = true;
-var _asyncIterator = require("../core-js/symbol/async-iterator");
-
-var _asyncIterator2 = _interopRequireDefault(_asyncIterator);
-
var _symbol = require("../core-js/symbol");
var _symbol2 = _interopRequireDefault(_symbol);
@@ -99,8 +95,8 @@ exports.default = function () {
}
}
- if (typeof _symbol2.default === "function" && _asyncIterator2.default) {
- AsyncGenerator.prototype[_asyncIterator2.default] = function () {
+ if (typeof _symbol2.default === "function" && _symbol2.default.asyncIterator) {
+ AsyncGenerator.prototype[_symbol2.default.asyncIterator] = function () {
return this;
};
}