From 01fffa245d642cae961b63e4ee0e026b6b2153d0 Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Sat, 10 Mar 2018 18:41:03 -0800 Subject: [PATCH] RN: Remove DebugEnvironment from OSS Reviewed By: TheSavior Differential Revision: D7209266 fbshipit-source-id: 9f9ce66121ff375e5a5d965d58f4137616407853 --- Libraries/Utilities/DebugEnvironment.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 Libraries/Utilities/DebugEnvironment.js diff --git a/Libraries/Utilities/DebugEnvironment.js b/Libraries/Utilities/DebugEnvironment.js deleted file mode 100644 index 71014d9bfdf..00000000000 --- a/Libraries/Utilities/DebugEnvironment.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @providesModule DebugEnvironment - * @flow - */ - -'use strict'; - -module.exports = { - // When crippled, synchronous JS function calls to native will fail. - isCrippledMode: __DEV__ && !global.nativeCallSyncHook, -};