Skip to content

Commit 20ca4fb

Browse files
davidaurelioFacebook Github Bot 2
authored andcommitted
Remove knowledge of fbjs from the packager
Summary:Follow-up to facebook/react-native#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 facebook/react-native#5084 Reviewed By: bestander Differential Revision: D2926835 fb-gh-sync-id: 2095e22b2f38e032599d1f2601722b3560e8b6e9 shipit-source-id: 2095e22b2f38e032599d1f2601722b3560e8b6e9
1 parent 9f4522f commit 20ca4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CameraRoll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var RCTCameraRollManager = require('NativeModules').CameraRollManager;
1717
var createStrictShapeTypeChecker = require('createStrictShapeTypeChecker');
1818
var deepFreezeAndThrowOnMutationInDev =
1919
require('deepFreezeAndThrowOnMutationInDev');
20-
var invariant = require('invariant');
20+
var invariant = require('fbjs/lib/invariant');
2121

2222
var GROUP_TYPES_OPTIONS = [
2323
'Album',

0 commit comments

Comments
 (0)