Skip to content

Commit eec5823

Browse files
sahrensfacebook-github-bot
authored andcommitted
gets Relay/Classic/Compat building
Reviewed By: fkgozali Differential Revision: D5482765 fbshipit-source-id: 0a7c2b8d99256352f09b6510ec8ca1631425e232
1 parent 042f254 commit eec5823

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Copyright (c) 2013-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*
9+
* @providesModule DebugEnvironment
10+
* @flow
11+
*/
12+
13+
'use strict';
14+
15+
module.exports = {
16+
// When crippled, synchronous JS function calls to native will fail.
17+
isCrippledMode: __DEV__ && !global.nativeCallSyncHook,
18+
};

0 commit comments

Comments
 (0)