From d408de0438bc186cf460f01c075a055cbb96dcda Mon Sep 17 00:00:00 2001 From: Peter van der Zee Date: Thu, 19 Apr 2018 09:09:05 -0700 Subject: [PATCH] Drop confusing comment Summary: Just removing a comment As per https://github.com/facebook/react-native/commit/f8d6b97140cffe8d18b2558f94570c8d1b410d5c#r28569388 While the comment was more to notify about this in general, I suppose it doesn't matter. Reviewed By: rafeca Differential Revision: D7685277 fbshipit-source-id: 2d526aeccc2e89b42ae25cbce21af5fe96f1348d --- babel-preset/configs/main.js | 1 - jest/preprocessor.js | 1 - 2 files changed, 2 deletions(-) diff --git a/babel-preset/configs/main.js b/babel-preset/configs/main.js index d17db8696..0b972f595 100644 --- a/babel-preset/configs/main.js +++ b/babel-preset/configs/main.js @@ -15,7 +15,6 @@ const defaultPlugins = [ [ require('@babel/plugin-proposal-class-properties'), // use `this.foo = bar` instead of `this.defineProperty('foo', ...)` - // (Makes the properties enumerable) {loose: true}, ], [require('@babel/plugin-transform-computed-properties')], diff --git a/jest/preprocessor.js b/jest/preprocessor.js index a7c52411f..5e43175de 100644 --- a/jest/preprocessor.js +++ b/jest/preprocessor.js @@ -62,7 +62,6 @@ module.exports = { [ require('@babel/plugin-proposal-class-properties'), // use `this.foo = bar` instead of `this.defineProperty('foo', ...)` - // (Makes the properties enumerable) {loose: true}, ], [require('@babel/plugin-transform-computed-properties')],