UNPKG

883 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'use strict';
12
13var ReactDOM = require('react-dom/lib/ReactDOM');
14var ReactInstanceMap = require('react-dom/lib/ReactInstanceMap');
15
16exports.getReactDOM = function () {
17 return ReactDOM;
18};
19
20exports.getReactInstanceMap = function () {
21 return ReactInstanceMap;
22};
23
24if (process.env.NODE_ENV !== 'production') {
25 var ReactPerf = require('react-dom/lib/ReactPerf');
26 var ReactTestUtils = require('react-dom/lib/ReactTestUtils');
27
28 exports.getReactPerf = function () {
29 return ReactPerf;
30 };
31
32 exports.getReactTestUtils = function () {
33 return ReactTestUtils;
34 };
35}
\No newline at end of file