()
| 9627 | var createFullPageComponent = __webpack_require__(86); |
| 9628 | |
| 9629 | function inject() { |
| 9630 | ReactInjection.EventEmitter.injectReactEventListener( |
| 9631 | ReactEventListener |
| 9632 | ); |
| 9633 | |
| 9634 | /** |
| 9635 | * Inject modules for resolving DOM hierarchy and plugin ordering. |
| 9636 | */ |
| 9637 | ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder); |
| 9638 | ReactInjection.EventPluginHub.injectInstanceHandle(ReactInstanceHandles); |
| 9639 | ReactInjection.EventPluginHub.injectMount(ReactMount); |
| 9640 | |
| 9641 | /** |
| 9642 | * Some important event plugins included by default (without having to require |
| 9643 | * them). |
| 9644 | */ |
| 9645 | ReactInjection.EventPluginHub.injectEventPluginsByName({ |
| 9646 | SimpleEventPlugin: SimpleEventPlugin, |
| 9647 | EnterLeaveEventPlugin: EnterLeaveEventPlugin, |
| 9648 | ChangeEventPlugin: ChangeEventPlugin, |
| 9649 | CompositionEventPlugin: CompositionEventPlugin, |
| 9650 | MobileSafariClickEventPlugin: MobileSafariClickEventPlugin, |
| 9651 | SelectEventPlugin: SelectEventPlugin, |
| 9652 | BeforeInputEventPlugin: BeforeInputEventPlugin |
| 9653 | }); |
| 9654 | |
| 9655 | ReactInjection.NativeComponent.injectGenericComponentClass( |
| 9656 | ReactDOMComponent |
| 9657 | ); |
| 9658 | |
| 9659 | ReactInjection.NativeComponent.injectComponentClasses({ |
| 9660 | 'button': ReactDOMButton, |
| 9661 | 'form': ReactDOMForm, |
| 9662 | 'img': ReactDOMImg, |
| 9663 | 'input': ReactDOMInput, |
| 9664 | 'option': ReactDOMOption, |
| 9665 | 'select': ReactDOMSelect, |
| 9666 | 'textarea': ReactDOMTextarea, |
| 9667 | |
| 9668 | 'html': createFullPageComponent('html'), |
| 9669 | 'head': createFullPageComponent('head'), |
| 9670 | 'body': createFullPageComponent('body') |
| 9671 | }); |
| 9672 | |
| 9673 | // This needs to happen after createFullPageComponent() otherwise the mixin |
| 9674 | // gets double injected. |
| 9675 | ReactInjection.CompositeComponent.injectMixin(ReactBrowserComponentMixin); |
| 9676 | |
| 9677 | ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig); |
| 9678 | ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig); |
| 9679 | |
| 9680 | ReactInjection.EmptyComponent.injectEmptyComponent('noscript'); |
| 9681 | |
| 9682 | ReactInjection.Updates.injectReconcileTransaction( |
| 9683 | ReactComponentBrowserEnvironment.ReactReconcileTransaction |
| 9684 | ); |
| 9685 | ReactInjection.Updates.injectBatchingStrategy( |
| 9686 | ReactDefaultBatchingStrategy |
nothing calls this directly
no test coverage detected