1 | /**
|
2 | * Copyright (c) 2013-present, Facebook, Inc.
|
3 | *
|
4 | * This source code is licensed under the MIT license found in the
|
5 | * LICENSE file in the root directory of this source tree.
|
6 | *
|
7 | */
|
8 |
|
9 | ;
|
10 |
|
11 | var DOMChildrenOperations = require('./DOMChildrenOperations');
|
12 | var ReactDOMIDOperations = require('./ReactDOMIDOperations');
|
13 |
|
14 | /**
|
15 | * Abstracts away all functionality of the reconciler that requires knowledge of
|
16 | * the browser context. TODO: These callers should be refactored to avoid the
|
17 | * need for this injection.
|
18 | */
|
19 | var ReactComponentBrowserEnvironment = {
|
20 | processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,
|
21 |
|
22 | replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup
|
23 | };
|
24 |
|
25 | module.exports = ReactComponentBrowserEnvironment; |
\ | No newline at end of file |