UNPKG

851 BJavaScriptView Raw
1/**
2 * Copyright 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 */
10
11/* globals ReactDOM */
12
13'use strict';
14
15exports.getReactDOM = function () {
16 return ReactDOM;
17};
18
19exports.getReactInstanceMap = function () {
20 return ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactInstanceMap;
21};
22
23if (process.env.NODE_ENV !== 'production') {
24 exports.getReactPerf = function () {
25 return ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactPerf;
26 };
27
28 exports.getReactTestUtils = function () {
29 return ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactTestUtils;
30 };
31}
\No newline at end of file