Justin Ridgewell 24d766fc57 Replace arrow expression body with block statement
Without this, the only way to replace the arrow function is to either
manually override its `node.body`, or duplicate the arrow:

```js
// Old
ArrowFunctionExpression: function (node) {
  node.body = t.blockStatement(...);
  // Or
  return t.ArrowFunctionExpression(
    node.params,
    t.blockStatement(...),
    node.async
  );
}

// New
ArrowFunctionExpression: function() {
  this.get("body").replaceWith(t.blockStatement(...));
}
```
2015-09-30 15:01:35 -04:00
2015-07-01 15:41:15 -07:00
2015-07-25 05:19:32 +01:00
2015-07-12 12:51:20 +01:00
2015-05-09 00:09:19 +01:00
2015-07-16 15:46:31 +01:00
2015-09-14 16:08:49 +02:00
2015-09-19 02:12:55 +01:00
2014-12-16 22:17:35 -08:00
2015-02-16 14:36:57 +11:00
2015-07-16 15:46:31 +01:00
2015-09-23 21:58:23 -07:00
2015-07-10 16:21:38 +01:00
NFO
2015-05-14 18:07:36 +01:00
2015-09-19 02:17:50 +01:00

babel

The compiler for writing next generation JavaScript.

Build Status npm version Downloads

Issue Stats Issue Stats


For questions and support please visit the Slack community or StackOverflow. The Babel issue tracker is exclusively for bug reports and feature requests.

For documentation and website issues please visit the babel.github.io repo.

Description
No description provided
Readme 79 MiB
Languages
JavaScript 99.5%
Makefile 0.3%
HTML 0.1%