1 | /**
|
2 | * Copyright (c) 2014-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 emptyComponentFactory;
|
12 |
|
13 | var ReactEmptyComponentInjection = {
|
14 | injectEmptyComponentFactory: function (factory) {
|
15 | emptyComponentFactory = factory;
|
16 | }
|
17 | };
|
18 |
|
19 | var ReactEmptyComponent = {
|
20 | create: function (instantiate) {
|
21 | return emptyComponentFactory(instantiate);
|
22 | }
|
23 | };
|
24 |
|
25 | ReactEmptyComponent.injection = ReactEmptyComponentInjection;
|
26 |
|
27 | module.exports = ReactEmptyComponent; |
\ | No newline at end of file |