From ccea74fc878863767fc962024f401d5ce02bc38d Mon Sep 17 00:00:00 2001 From: Tadeu Zagallo Date: Sat, 14 Nov 2015 13:48:09 -0800 Subject: [PATCH] Fix babelHelpers.extend Summary: public The recent change to move babelhelpers out of the module broke the extends method. Reviewed By: spicyj Differential Revision: D2656448 fb-gh-sync-id: 633433deea00ecb140afbb732bff0599e67b4d41 --- react-packager/src/Resolver/polyfills/babelHelpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/src/Resolver/polyfills/babelHelpers.js b/react-packager/src/Resolver/polyfills/babelHelpers.js index 5eca9e30..b1254a68 100644 --- a/react-packager/src/Resolver/polyfills/babelHelpers.js +++ b/react-packager/src/Resolver/polyfills/babelHelpers.js @@ -70,7 +70,7 @@ return obj; }; - babelHelpers._extends = Object.assign || function (target) { + babelHelpers._extends = babelHelpers.extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i];