Sha256: a1ec2a586ce6527f033812f718824236c863d6583eadc0381789b7cd7ff62004
Contents?: true
Size: 938 Bytes
Versions: 8
Compression:
Stored size: 938 Bytes
Contents
"use strict"; exports.__esModule = true; // istanbul ignore next function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var _helpersRemapAsyncToGenerator = require("../../helpers/remap-async-to-generator"); var _helpersRemapAsyncToGenerator2 = _interopRequireDefault(_helpersRemapAsyncToGenerator); var _bluebirdCoroutines = require("./bluebird-coroutines"); exports.manipulateOptions = _bluebirdCoroutines.manipulateOptions; var metadata = { optional: true, dependencies: ["es7.asyncFunctions", "es6.classes"] }; exports.metadata = metadata; /** * [Please add a description.] */ var visitor = { /** * [Please add a description.] */ Function: function Function(node, parent, scope, file) { if (!node.async || node.generator) return; return _helpersRemapAsyncToGenerator2["default"](this, file.addHelper("async-to-generator")); } }; exports.visitor = visitor;
Version data entries
8 entries across 8 versions & 3 rubygems