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 | ;
|
12 |
|
13 | var DOMChildrenOperations = require('./DOMChildrenOperations');
|
14 | var ReactDOMIDOperations = require('./ReactDOMIDOperations');
|
15 |
|
16 | /**
|
17 | * Abstracts away all functionality of the reconciler that requires knowledge of
|
18 | * the browser context. TODO: These callers should be refactored to avoid the
|
19 | * need for this injection.
|
20 | */
|
21 | var ReactComponentBrowserEnvironment = {
|
22 | processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,
|
23 |
|
24 | replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup
|
25 | };
|
26 |
|
27 | module.exports = ReactComponentBrowserEnvironment; |
\ | No newline at end of file |