mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
2dcdc3c633
* Remove unnecessary injection guard * Remove inject() indirection for global injections It was necessary when they shared global state. But now these are flat bundles so we can inject as side effect. This feels a bit less convoluted to me. Ideally we can get rid of this somehow soon.
22 lines
797 B
JavaScript
22 lines
797 B
JavaScript
/**
|
|
* Copyright 2013-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
* @providesModule ReactDOMInjection
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
var ARIADOMPropertyConfig = require('ARIADOMPropertyConfig');
|
|
var DOMProperty = require('DOMProperty');
|
|
var HTMLDOMPropertyConfig = require('HTMLDOMPropertyConfig');
|
|
var SVGDOMPropertyConfig = require('SVGDOMPropertyConfig');
|
|
|
|
DOMProperty.injection.injectDOMPropertyConfig(ARIADOMPropertyConfig);
|
|
DOMProperty.injection.injectDOMPropertyConfig(HTMLDOMPropertyConfig);
|
|
DOMProperty.injection.injectDOMPropertyConfig(SVGDOMPropertyConfig);
|