Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
81155 views
1
/**
2
* Copyright 2013-2014, 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
* @providesModule ReactInjection
10
*/
11
12
"use strict";
13
14
var DOMProperty = require('DOMProperty');
15
var EventPluginHub = require('EventPluginHub');
16
var ReactComponent = require('ReactComponent');
17
var ReactCompositeComponent = require('ReactCompositeComponent');
18
var ReactEmptyComponent = require('ReactEmptyComponent');
19
var ReactBrowserEventEmitter = require('ReactBrowserEventEmitter');
20
var ReactNativeComponent = require('ReactNativeComponent');
21
var ReactPerf = require('ReactPerf');
22
var ReactRootIndex = require('ReactRootIndex');
23
var ReactUpdates = require('ReactUpdates');
24
25
var ReactInjection = {
26
Component: ReactComponent.injection,
27
CompositeComponent: ReactCompositeComponent.injection,
28
DOMProperty: DOMProperty.injection,
29
EmptyComponent: ReactEmptyComponent.injection,
30
EventPluginHub: EventPluginHub.injection,
31
EventEmitter: ReactBrowserEventEmitter.injection,
32
NativeComponent: ReactNativeComponent.injection,
33
Perf: ReactPerf.injection,
34
RootIndex: ReactRootIndex.injection,
35
Updates: ReactUpdates.injection
36
};
37
38
module.exports = ReactInjection;
39
40