From eb531943aab37ec59c9e160f8b602313b4aa954f Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Wed, 2 Mar 2016 10:14:12 -0800 Subject: [PATCH] Fix the last imports of `'invariant'` Summary:This changes the last two imports of `'invariant'` that I could find to `'fbjs/lib/invariant'`. Closes https://github.com/facebook/react-native/pull/6248 Differential Revision: D3000440 fb-gh-sync-id: 15ebd08bb749d1d82b12902dd3dec00914fc1ed5 shipit-source-id: 15ebd08bb749d1d82b12902dd3dec00914fc1ed5 --- .../NavigationExperimental/NavigationAbstractPanResponder.js | 2 +- Libraries/NavigationExperimental/NavigationStateUtils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/NavigationExperimental/NavigationAbstractPanResponder.js b/Libraries/NavigationExperimental/NavigationAbstractPanResponder.js index d6000a4ce..98fdbf32d 100644 --- a/Libraries/NavigationExperimental/NavigationAbstractPanResponder.js +++ b/Libraries/NavigationExperimental/NavigationAbstractPanResponder.js @@ -8,7 +8,7 @@ const PanResponder = require('PanResponder'); -const invariant = require('invariant'); +const invariant = require('fbjs/lib/invariant'); const EmptyPanHandlers = { onMoveShouldSetPanResponder: null, diff --git a/Libraries/NavigationExperimental/NavigationStateUtils.js b/Libraries/NavigationExperimental/NavigationStateUtils.js index c9d10ddfb..d457ebea8 100644 --- a/Libraries/NavigationExperimental/NavigationStateUtils.js +++ b/Libraries/NavigationExperimental/NavigationStateUtils.js @@ -11,7 +11,7 @@ */ 'use strict'; -const invariant = require('invariant'); +const invariant = require('fbjs/lib/invariant'); export type NavigationState = { key: string;