From 3c81273b77444bcaba114e7b084547e9e9b4e16c Mon Sep 17 00:00:00 2001 From: Brian Lai Date: Fri, 16 Oct 2015 16:28:40 -0700 Subject: [PATCH] Enable es7.doExpressions and es7.functionBind --- src/babylon.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/babylon.js b/src/babylon.js index c1e86a96d73..8ca3030f7e4 100644 --- a/src/babylon.js +++ b/src/babylon.js @@ -24,6 +24,8 @@ var options = { 'es7.exportExtensions': true, 'es7.trailingFunctionCommas': true, 'es7.objectRestSpread': true, + 'es7.doExpressions': true, + 'es7.functionBind': true, }, plugins: { jsx: true, flow: true }, };