From 20ca4fb88be39336a4f82dc0e46c6af8a3c2326c Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Wed, 2 Mar 2016 04:27:13 -0800 Subject: [PATCH] Remove knowledge of fbjs from the packager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary:Follow-up to https://github.com/facebook/react-native/pull/5084 This… - changes all requires within RN to `require('fbjs/lib/…')` - updates `.flowconfig` - updates `packager/blacklist.js` - adapts tests - removes things from `Libraries/vendor/{core,emitter}` that are also in fbjs - removes knowledge of `fbjs` from the packager Closes https://github.com/facebook/react-native/pull/5084 Reviewed By: bestander Differential Revision: D2926835 fb-gh-sync-id: 2095e22b2f38e032599d1f2601722b3560e8b6e9 shipit-source-id: 2095e22b2f38e032599d1f2601722b3560e8b6e9 --- CameraRoll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CameraRoll.js b/CameraRoll.js index 985fc2c74..8f9cc1bc6 100644 --- a/CameraRoll.js +++ b/CameraRoll.js @@ -17,7 +17,7 @@ var RCTCameraRollManager = require('NativeModules').CameraRollManager; var createStrictShapeTypeChecker = require('createStrictShapeTypeChecker'); var deepFreezeAndThrowOnMutationInDev = require('deepFreezeAndThrowOnMutationInDev'); -var invariant = require('invariant'); +var invariant = require('fbjs/lib/invariant'); var GROUP_TYPES_OPTIONS = [ 'Album',