regenerator icon indicating copy to clipboard operation
regenerator copied to clipboard

Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today.

Results 80 regenerator issues
Sort by recently updated
recently updated
newest added

As of this writing, to my knowledge, Regenerator is essentially feature-complete, and (with #170 now closed) all the bugs that I know about have been fixed. I know I'm going...

enhancement
question

It'd be great to be able to override the `path.scope.declareTemporary` calls used in [visit.js](https://github.com/facebook/regenerator/blob/master/lib/visit.js) with a custom function to generate identifiers.

enhancement

The current filtering regex is overly-optimistic; it should check for `async function`, not just the word `async`. With the current state of things, regenerator thinks e.g. its own runtime needs...

As @maxnordlund points out in https://github.com/facebook/regenerator/issues/131, aliasing the `arguments` object has negative performance consequences. If you happen to transform `...rest` parameters into ES5 `arguments`-style code earlier in your transformation pipeline...

I was playing around with the examples in the test cases and came across the use of arguments object. ``` javascript function* sum() { var result = 0; for (var...

Because http://ariya.github.io/esprima/test/coverage.html is so awesome.

enhancement

https://github.com/mozilla/mozilla-central/tree/master/js/src/tests/ecma_6/Generators Thanks to Mike Shaver for this suggestion.

enhancement

If I'm not mistaken, Travis CI provides `phantomjs` by default in the `$PATH` of the test environment.

enhancement

We use Ember-CLI, which comes with Babel, and have regenerator and stage 0 turned on in the babelrc. We also make heavy use of Ember Data, which wraps things in...