react-test-renderer 15.5.4 → 15.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +16 -26
- package/lib/CallbackQueue.js +3 -5
- package/lib/EventConstants.js +3 -5
- package/lib/EventPluginHub.js +3 -9
- package/lib/EventPluginRegistry.js +3 -7
- package/lib/EventPluginUtils.js +3 -5
- package/lib/EventPropagators.js +3 -5
- package/lib/KeyEscapeUtils.js +3 -5
- package/lib/PluginModuleType.js +3 -5
- package/lib/PooledClass.js +3 -5
- package/lib/ReactChildFiber.js +3 -6
- package/lib/ReactChildReconciler.js +7 -10
- package/lib/ReactComponentEnvironment.js +3 -7
- package/lib/ReactCompositeComponent.js +5 -9
- package/lib/ReactCoroutine.js +3 -5
- package/lib/ReactDebugTool.js +6 -6
- package/lib/ReactDefaultBatchingStrategy.js +3 -5
- package/lib/ReactElementSymbol.js +3 -5
- package/lib/ReactEmptyComponent.js +3 -5
- package/lib/ReactErrorUtils.js +6 -6
- package/lib/ReactEventEmitterMixin.js +3 -6
- package/lib/ReactFeatureFlags.js +3 -5
- package/lib/ReactFiber.js +3 -7
- package/lib/ReactFiberBeginWork.js +3 -6
- package/lib/ReactFiberCommitWork.js +3 -6
- package/lib/ReactFiberCompleteWork.js +3 -7
- package/lib/ReactFiberReconciler.js +3 -5
- package/lib/ReactFiberRoot.js +3 -5
- package/lib/ReactFiberScheduler.js +3 -5
- package/lib/ReactFiberUpdateQueue.js +3 -5
- package/lib/ReactHostComponent.js +3 -5
- package/lib/ReactHostOperationHistoryHook.js +3 -5
- package/lib/ReactInstanceMap.js +3 -7
- package/lib/ReactInstanceType.js +3 -5
- package/lib/ReactInstrumentation.js +3 -5
- package/lib/ReactInvalidSetStateWarningHook.js +3 -5
- package/lib/ReactMultiChild.js +3 -9
- package/lib/ReactMultiChildUpdateTypes.js +3 -5
- package/lib/ReactNodeTypes.js +3 -5
- package/lib/ReactOwner.js +3 -6
- package/lib/ReactPerf.js +9 -11
- package/lib/ReactPriorityLevel.js +5 -6
- package/lib/ReactPropTypeLocationNames.js +3 -5
- package/lib/ReactPropTypeLocations.js +3 -5
- package/lib/ReactPropTypesSecret.js +3 -5
- package/lib/ReactReconciler.js +5 -9
- package/lib/ReactRef.js +3 -5
- package/lib/ReactReifiedYield.js +3 -5
- package/lib/ReactShallowRenderer.js +3 -5
- package/lib/ReactSimpleEmptyComponent.js +5 -7
- package/lib/ReactSyntheticEventType.js +3 -5
- package/lib/ReactTestEmptyComponent.js +3 -5
- package/lib/ReactTestMount.js +8 -8
- package/lib/ReactTestReconcileTransaction.js +2 -4
- package/lib/ReactTestRenderer.js +4 -5
- package/lib/ReactTestTextComponent.js +3 -5
- package/lib/ReactTypeOfWork.js +3 -5
- package/lib/ReactTypes.js +3 -5
- package/lib/ReactUpdateQueue.js +4 -8
- package/lib/ReactUpdates.js +4 -6
- package/lib/ReactVersion.js +4 -6
- package/lib/ResponderEventPlugin.js +3 -7
- package/lib/ResponderSyntheticEvent.js +3 -5
- package/lib/ResponderTouchHistoryStore.js +3 -5
- package/lib/SyntheticEvent.js +34 -33
- package/lib/Transaction.js +6 -5
- package/lib/accumulate.js +3 -5
- package/lib/accumulateInto.js +3 -5
- package/lib/adler32.js +3 -5
- package/lib/canDefineProperty.js +3 -5
- package/lib/checkReactTypeSpec.js +3 -5
- package/lib/deprecated.js +6 -8
- package/lib/flattenChildren.js +3 -5
- package/lib/forEachAccumulated.js +3 -5
- package/lib/getHostComponentFromComposite.js +3 -5
- package/lib/getIteratorFn.js +3 -5
- package/lib/instantiateReactComponent.js +4 -6
- package/lib/isTextInputElement.js +17 -19
- package/lib/lowPriorityWarning.js +62 -0
- package/lib/reactProdInvariant.js +2 -4
- package/lib/shallow/ARIADOMPropertyConfig.js +3 -5
- package/lib/shallow/AutoFocusUtils.js +3 -5
- package/lib/shallow/BeforeInputEventPlugin.js +3 -6
- package/lib/shallow/CSSProperty.js +10 -5
- package/lib/shallow/CSSPropertyOperations.js +17 -13
- package/lib/shallow/CallbackQueue.js +3 -5
- package/lib/shallow/ChangeEventPlugin.js +52 -88
- package/lib/shallow/DOMChildrenOperations.js +7 -8
- package/lib/shallow/DOMLazyTree.js +3 -5
- package/lib/shallow/DOMNamespaces.js +3 -5
- package/lib/shallow/DOMProperty.js +3 -6
- package/lib/shallow/DOMPropertyOperations.js +3 -7
- package/lib/shallow/Danger.js +3 -7
- package/lib/shallow/DefaultEventPluginOrder.js +3 -5
- package/lib/shallow/EnterLeaveEventPlugin.js +3 -7
- package/lib/shallow/EventConstants.js +3 -5
- package/lib/shallow/EventPluginHub.js +3 -9
- package/lib/shallow/EventPluginRegistry.js +3 -7
- package/lib/shallow/EventPluginUtils.js +3 -5
- package/lib/shallow/EventPropagators.js +3 -5
- package/lib/shallow/FallbackCompositionState.js +3 -5
- package/lib/shallow/HTMLDOMPropertyConfig.js +4 -5
- package/lib/shallow/KeyEscapeUtils.js +3 -5
- package/lib/shallow/LinkedValueUtils.js +10 -12
- package/lib/shallow/PluginModuleType.js +3 -5
- package/lib/shallow/PooledClass.js +3 -5
- package/lib/shallow/ReactBrowserEventEmitter.js +3 -9
- package/lib/shallow/ReactChildFiber.js +3 -6
- package/lib/shallow/ReactChildReconciler.js +7 -10
- package/lib/shallow/ReactComponentBrowserEnvironment.js +3 -7
- package/lib/shallow/ReactComponentEnvironment.js +3 -7
- package/lib/shallow/ReactCompositeComponent.js +5 -9
- package/lib/shallow/ReactCoroutine.js +3 -5
- package/lib/shallow/ReactDOM.js +5 -7
- package/lib/shallow/ReactDOMComponent.js +40 -29
- package/lib/shallow/ReactDOMComponentFlags.js +3 -5
- package/lib/shallow/ReactDOMComponentTree.js +3 -5
- package/lib/shallow/ReactDOMContainerInfo.js +3 -5
- package/lib/shallow/ReactDOMEmptyComponent.js +3 -5
- package/lib/shallow/ReactDOMFeatureFlags.js +3 -5
- package/lib/shallow/ReactDOMFiber.js +3 -6
- package/lib/shallow/ReactDOMIDOperations.js +3 -6
- package/lib/shallow/ReactDOMInput.js +8 -8
- package/lib/shallow/ReactDOMInvalidARIAHook.js +3 -5
- package/lib/shallow/ReactDOMNullInputValuePropHook.js +3 -5
- package/lib/shallow/ReactDOMOption.js +3 -6
- package/lib/shallow/ReactDOMSelect.js +3 -5
- package/lib/shallow/ReactDOMSelection.js +3 -5
- package/lib/shallow/ReactDOMServer.js +3 -5
- package/lib/shallow/ReactDOMTextComponent.js +3 -7
- package/lib/shallow/ReactDOMTextarea.js +3 -5
- package/lib/shallow/ReactDOMTreeTraversal.js +3 -5
- package/lib/shallow/ReactDOMUnknownPropertyHook.js +3 -5
- package/lib/shallow/ReactDebugTool.js +6 -6
- package/lib/shallow/ReactDefaultBatchingStrategy.js +3 -5
- package/lib/shallow/ReactDefaultInjection.js +3 -5
- package/lib/shallow/ReactElementSymbol.js +3 -5
- package/lib/shallow/ReactEmptyComponent.js +3 -5
- package/lib/shallow/ReactErrorUtils.js +6 -6
- package/lib/shallow/ReactEventEmitterMixin.js +3 -6
- package/lib/shallow/ReactEventListener.js +3 -5
- package/lib/shallow/ReactFeatureFlags.js +3 -5
- package/lib/shallow/ReactFiber.js +3 -7
- package/lib/shallow/ReactFiberBeginWork.js +3 -6
- package/lib/shallow/ReactFiberCommitWork.js +3 -6
- package/lib/shallow/ReactFiberCompleteWork.js +3 -7
- package/lib/shallow/ReactFiberReconciler.js +3 -5
- package/lib/shallow/ReactFiberRoot.js +3 -5
- package/lib/shallow/ReactFiberScheduler.js +3 -5
- package/lib/shallow/ReactFiberUpdateQueue.js +3 -5
- package/lib/shallow/ReactHostComponent.js +3 -5
- package/lib/shallow/ReactHostOperationHistoryHook.js +3 -5
- package/lib/shallow/ReactInjection.js +3 -5
- package/lib/shallow/ReactInputSelection.js +3 -6
- package/lib/shallow/ReactInstanceMap.js +3 -7
- package/lib/shallow/ReactInstanceType.js +3 -5
- package/lib/shallow/ReactInstrumentation.js +3 -5
- package/lib/shallow/ReactInvalidSetStateWarningHook.js +3 -5
- package/lib/shallow/ReactMarkupChecksum.js +3 -5
- package/lib/shallow/ReactMount.js +10 -12
- package/lib/shallow/ReactMultiChild.js +3 -9
- package/lib/shallow/ReactMultiChildUpdateTypes.js +3 -5
- package/lib/shallow/ReactNodeTypes.js +3 -5
- package/lib/shallow/ReactOwner.js +3 -6
- package/lib/shallow/ReactPerf.js +9 -11
- package/lib/shallow/ReactPriorityLevel.js +5 -6
- package/lib/shallow/ReactPropTypeLocationNames.js +3 -5
- package/lib/shallow/ReactPropTypeLocations.js +3 -5
- package/lib/shallow/ReactPropTypesSecret.js +3 -5
- package/lib/shallow/ReactReconcileTransaction.js +3 -5
- package/lib/shallow/ReactReconciler.js +5 -9
- package/lib/shallow/ReactRef.js +3 -5
- package/lib/shallow/ReactReifiedYield.js +3 -5
- package/lib/shallow/ReactServerBatchingStrategy.js +3 -5
- package/lib/shallow/ReactServerRendering.js +3 -5
- package/lib/shallow/ReactServerRenderingTransaction.js +3 -5
- package/lib/shallow/ReactServerUpdateQueue.js +3 -5
- package/lib/shallow/ReactShallowRenderer.js +3 -5
- package/lib/shallow/ReactSimpleEmptyComponent.js +5 -7
- package/lib/shallow/ReactSyntheticEventType.js +3 -5
- package/lib/shallow/ReactTestEmptyComponent.js +3 -5
- package/lib/shallow/ReactTestMount.js +8 -8
- package/lib/shallow/ReactTestReconcileTransaction.js +2 -4
- package/lib/shallow/ReactTestRenderer.js +4 -5
- package/lib/shallow/ReactTestTextComponent.js +3 -5
- package/lib/shallow/ReactTypeOfWork.js +3 -5
- package/lib/shallow/ReactTypes.js +3 -5
- package/lib/shallow/ReactUpdateQueue.js +4 -8
- package/lib/shallow/ReactUpdates.js +4 -6
- package/lib/shallow/ReactVersion.js +4 -6
- package/lib/shallow/ResponderEventPlugin.js +3 -7
- package/lib/shallow/ResponderSyntheticEvent.js +3 -5
- package/lib/shallow/ResponderTouchHistoryStore.js +3 -5
- package/lib/shallow/SVGDOMPropertyConfig.js +3 -5
- package/lib/shallow/SelectEventPlugin.js +3 -8
- package/lib/shallow/SimpleEventPlugin.js +3 -7
- package/lib/shallow/SyntheticAnimationEvent.js +3 -5
- package/lib/shallow/SyntheticClipboardEvent.js +3 -5
- package/lib/shallow/SyntheticCompositionEvent.js +3 -5
- package/lib/shallow/SyntheticDragEvent.js +3 -5
- package/lib/shallow/SyntheticEvent.js +34 -33
- package/lib/shallow/SyntheticFocusEvent.js +3 -5
- package/lib/shallow/SyntheticInputEvent.js +3 -5
- package/lib/shallow/SyntheticKeyboardEvent.js +3 -5
- package/lib/shallow/SyntheticMouseEvent.js +3 -5
- package/lib/shallow/SyntheticTouchEvent.js +3 -5
- package/lib/shallow/SyntheticTransitionEvent.js +3 -5
- package/lib/shallow/SyntheticUIEvent.js +3 -5
- package/lib/shallow/SyntheticWheelEvent.js +6 -11
- package/lib/shallow/TapEventPlugin.js +3 -7
- package/lib/shallow/Transaction.js +6 -5
- package/lib/shallow/ViewportMetrics.js +3 -7
- package/lib/shallow/accumulate.js +3 -5
- package/lib/shallow/accumulateInto.js +3 -5
- package/lib/shallow/adler32.js +3 -5
- package/lib/shallow/canDefineProperty.js +3 -5
- package/lib/shallow/checkReactTypeSpec.js +3 -5
- package/lib/shallow/createMicrosoftUnsafeLocalFunction.js +3 -5
- package/lib/shallow/dangerousStyleValue.js +5 -7
- package/lib/shallow/deprecated.js +6 -8
- package/lib/shallow/escapeTextContentForBrowser.js +3 -6
- package/lib/shallow/findDOMNode.js +3 -5
- package/lib/shallow/flattenChildren.js +3 -5
- package/lib/shallow/forEachAccumulated.js +3 -5
- package/lib/shallow/getEventCharCode.js +3 -5
- package/lib/shallow/getEventKey.js +27 -19
- package/lib/shallow/getEventModifierState.js +7 -9
- package/lib/shallow/getEventTarget.js +3 -5
- package/lib/shallow/getHostComponentFromComposite.js +3 -5
- package/lib/shallow/getIteratorFn.js +3 -5
- package/lib/shallow/getNodeForCharacterOffset.js +3 -5
- package/lib/shallow/getTextContentAccessor.js +3 -5
- package/lib/shallow/getVendorPrefixedEventName.js +3 -5
- package/lib/shallow/inputValueTracking.js +120 -0
- package/lib/shallow/instantiateReactComponent.js +4 -6
- package/lib/shallow/isEventSupported.js +3 -5
- package/lib/shallow/isTextInputElement.js +17 -19
- package/lib/shallow/lowPriorityWarning.js +62 -0
- package/lib/shallow/quoteAttributeValueForBrowser.js +3 -5
- package/lib/shallow/reactProdInvariant.js +2 -4
- package/lib/shallow/renderSubtreeIntoContainer.js +3 -5
- package/lib/shallow/setInnerHTML.js +4 -6
- package/lib/shallow/setTextContent.js +3 -5
- package/lib/shallow/shouldUpdateReactComponent.js +3 -5
- package/lib/shallow/traverseAllChildren.js +4 -6
- package/lib/shallow/validateDOMNesting.js +4 -12
- package/lib/shouldUpdateReactComponent.js +3 -5
- package/lib/traverseAllChildren.js +4 -6
- package/package.json +21 -17
- package/PATENTS +0 -33
package/LICENSE
CHANGED
|
@@ -1,31 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
For React software
|
|
1
|
+
MIT License
|
|
4
2
|
|
|
5
3
|
Copyright (c) 2013-present, Facebook, Inc.
|
|
6
|
-
All rights reserved.
|
|
7
|
-
|
|
8
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
9
|
-
are permitted provided that the following conditions are met:
|
|
10
|
-
|
|
11
|
-
* Redistributions of source code must retain the above copyright notice, this
|
|
12
|
-
list of conditions and the following disclaimer.
|
|
13
4
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
17
11
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
prior written permission.
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
21
14
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
30
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
31
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/lib/CallbackQueue.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
package/lib/EventConstants.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
package/lib/EventPluginHub.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
|
@@ -105,12 +103,10 @@ function shouldPreventMouseEvent(name, type, props) {
|
|
|
105
103
|
* @public
|
|
106
104
|
*/
|
|
107
105
|
var EventPluginHub = {
|
|
108
|
-
|
|
109
106
|
/**
|
|
110
107
|
* Methods for injecting dependencies.
|
|
111
108
|
*/
|
|
112
109
|
injection: {
|
|
113
|
-
|
|
114
110
|
/**
|
|
115
111
|
* @param {array} InjectedEventPluginOrder
|
|
116
112
|
* @public
|
|
@@ -121,7 +117,6 @@ var EventPluginHub = {
|
|
|
121
117
|
* @param {object} injectedNamesToPlugins Map from names to plugin modules.
|
|
122
118
|
*/
|
|
123
119
|
injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName
|
|
124
|
-
|
|
125
120
|
},
|
|
126
121
|
|
|
127
122
|
/**
|
|
@@ -271,7 +266,6 @@ var EventPluginHub = {
|
|
|
271
266
|
__getListenerBank: function () {
|
|
272
267
|
return listenerBank;
|
|
273
268
|
}
|
|
274
|
-
|
|
275
269
|
};
|
|
276
270
|
|
|
277
271
|
module.exports = EventPluginHub;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -108,7 +106,6 @@ function publishRegistrationName(registrationName, pluginModule, eventName) {
|
|
|
108
106
|
* @see {EventPluginHub}
|
|
109
107
|
*/
|
|
110
108
|
var EventPluginRegistry = {
|
|
111
|
-
|
|
112
109
|
/**
|
|
113
110
|
* Ordered list of injected plugins.
|
|
114
111
|
*/
|
|
@@ -248,7 +245,6 @@ var EventPluginRegistry = {
|
|
|
248
245
|
}
|
|
249
246
|
}
|
|
250
247
|
}
|
|
251
|
-
|
|
252
248
|
};
|
|
253
249
|
|
|
254
250
|
module.exports = EventPluginRegistry;
|
package/lib/EventPluginUtils.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
package/lib/EventPropagators.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
package/lib/KeyEscapeUtils.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
package/lib/PluginModuleType.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
package/lib/PooledClass.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
package/lib/ReactChildFiber.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -30,7 +28,6 @@ var createReifiedYield = ReactReifiedYield.createReifiedYield;
|
|
|
30
28
|
var isArray = Array.isArray;
|
|
31
29
|
|
|
32
30
|
function ChildReconciler(shouldClone) {
|
|
33
|
-
|
|
34
31
|
function createSubsequentChild(returnFiber, existingChild, previousSibling, newChildren, priority) {
|
|
35
32
|
if (typeof newChildren !== 'object' || newChildren === null) {
|
|
36
33
|
return previousSibling;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2014-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
|
@@ -59,8 +57,8 @@ var ReactChildReconciler = {
|
|
|
59
57
|
* @return {?object} A set of child instances.
|
|
60
58
|
* @internal
|
|
61
59
|
*/
|
|
62
|
-
instantiateChildren: function (nestedChildNodes, transaction, context, selfDebugID // 0 in production and for roots
|
|
63
|
-
|
|
60
|
+
instantiateChildren: function (nestedChildNodes, transaction, context, selfDebugID) // 0 in production and for roots
|
|
61
|
+
{
|
|
64
62
|
if (nestedChildNodes == null) {
|
|
65
63
|
return null;
|
|
66
64
|
}
|
|
@@ -86,8 +84,8 @@ var ReactChildReconciler = {
|
|
|
86
84
|
* @return {?object} A new set of child instances.
|
|
87
85
|
* @internal
|
|
88
86
|
*/
|
|
89
|
-
updateChildren: function (prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID // 0 in production and for roots
|
|
90
|
-
|
|
87
|
+
updateChildren: function (prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID) // 0 in production and for roots
|
|
88
|
+
{
|
|
91
89
|
// We currently don't have a way to track moves here but if we use iterators
|
|
92
90
|
// instead of for..in we can zip the iterators and check if an item has
|
|
93
91
|
// moved.
|
|
@@ -147,7 +145,6 @@ var ReactChildReconciler = {
|
|
|
147
145
|
}
|
|
148
146
|
}
|
|
149
147
|
}
|
|
150
|
-
|
|
151
148
|
};
|
|
152
149
|
|
|
153
150
|
module.exports = ReactChildReconciler;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2014-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -18,7 +16,6 @@ var invariant = require('fbjs/lib/invariant');
|
|
|
18
16
|
var injected = false;
|
|
19
17
|
|
|
20
18
|
var ReactComponentEnvironment = {
|
|
21
|
-
|
|
22
19
|
/**
|
|
23
20
|
* Optionally injectable hook for swapping out mount images in the middle of
|
|
24
21
|
* the tree.
|
|
@@ -39,7 +36,6 @@ var ReactComponentEnvironment = {
|
|
|
39
36
|
injected = true;
|
|
40
37
|
}
|
|
41
38
|
}
|
|
42
|
-
|
|
43
39
|
};
|
|
44
40
|
|
|
45
41
|
module.exports = ReactComponentEnvironment;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
|
@@ -117,7 +115,6 @@ var nextMountID = 1;
|
|
|
117
115
|
* @lends {ReactCompositeComponent.prototype}
|
|
118
116
|
*/
|
|
119
117
|
var ReactCompositeComponent = {
|
|
120
|
-
|
|
121
118
|
/**
|
|
122
119
|
* Base constructor for all composite component.
|
|
123
120
|
*
|
|
@@ -213,7 +210,7 @@ var ReactCompositeComponent = {
|
|
|
213
210
|
var propsMutated = inst.props !== publicProps;
|
|
214
211
|
var componentName = Component.displayName || Component.name || 'Component';
|
|
215
212
|
|
|
216
|
-
process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' +
|
|
213
|
+
process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + "up the same props that your component's constructor was passed.", componentName, componentName) : void 0;
|
|
217
214
|
}
|
|
218
215
|
|
|
219
216
|
// These should be set up in the constructor, but as a convenience for
|
|
@@ -274,7 +271,7 @@ var ReactCompositeComponent = {
|
|
|
274
271
|
},
|
|
275
272
|
|
|
276
273
|
_constructComponent: function (doConstruct, publicProps, publicContext, updateQueue) {
|
|
277
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
274
|
+
if (process.env.NODE_ENV !== 'production' && !doConstruct) {
|
|
278
275
|
ReactCurrentOwner.current = this;
|
|
279
276
|
try {
|
|
280
277
|
return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);
|
|
@@ -895,7 +892,6 @@ var ReactCompositeComponent = {
|
|
|
895
892
|
|
|
896
893
|
// Stub
|
|
897
894
|
_instantiateReactComponent: null
|
|
898
|
-
|
|
899
895
|
};
|
|
900
896
|
|
|
901
897
|
module.exports = ReactCompositeComponent;
|
package/lib/ReactCoroutine.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2014-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
package/lib/ReactDebugTool.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2016-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2016-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -226,7 +224,9 @@ function markEnd(debugID, markType) {
|
|
|
226
224
|
}
|
|
227
225
|
|
|
228
226
|
performance.clearMarks(markName);
|
|
229
|
-
|
|
227
|
+
if (measurementName) {
|
|
228
|
+
performance.clearMeasures(measurementName);
|
|
229
|
+
}
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
var ReactDebugTool = {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2014-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2014-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
package/lib/ReactErrorUtils.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -61,7 +59,9 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
61
59
|
if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {
|
|
62
60
|
var fakeNode = document.createElement('react');
|
|
63
61
|
ReactErrorUtils.invokeGuardedCallback = function (name, func, a) {
|
|
64
|
-
var boundFunc =
|
|
62
|
+
var boundFunc = function () {
|
|
63
|
+
func(a);
|
|
64
|
+
};
|
|
65
65
|
var evtType = 'react-' + name;
|
|
66
66
|
fakeNode.addEventListener(evtType, boundFunc, false);
|
|
67
67
|
var evt = document.createEvent('Event');
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*/
|
|
10
8
|
|
|
@@ -18,7 +16,6 @@ function runEventQueueInBatch(events) {
|
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
var ReactEventEmitterMixin = {
|
|
21
|
-
|
|
22
19
|
/**
|
|
23
20
|
* Streams a fired top-level event to `EventPluginHub` where plugins have the
|
|
24
21
|
* opportunity to create `ReactEvent`s to be dispatched.
|
package/lib/ReactFeatureFlags.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
package/lib/ReactFiber.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -47,7 +45,6 @@ var _require = require('./ReactPriorityLevel'),
|
|
|
47
45
|
// compatible.
|
|
48
46
|
var createFiber = function (tag, key) {
|
|
49
47
|
return {
|
|
50
|
-
|
|
51
48
|
// Instance
|
|
52
49
|
|
|
53
50
|
tag: tag,
|
|
@@ -83,7 +80,6 @@ var createFiber = function (tag, key) {
|
|
|
83
80
|
progressedChild: null,
|
|
84
81
|
|
|
85
82
|
alternate: null
|
|
86
|
-
|
|
87
83
|
};
|
|
88
84
|
};
|
|
89
85
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -42,7 +40,6 @@ var _require4 = require('./ReactFiberUpdateQueue'),
|
|
|
42
40
|
var ReactInstanceMap = require('./ReactInstanceMap');
|
|
43
41
|
|
|
44
42
|
module.exports = function (config, getScheduler) {
|
|
45
|
-
|
|
46
43
|
function markChildAsProgressed(current, workInProgress, priorityLevel) {
|
|
47
44
|
// We now have clones. Let's store them as the currently progressed work.
|
|
48
45
|
workInProgress.progressedChild = workInProgress.child;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -20,7 +18,6 @@ var _require = require('./ReactFiberUpdateQueue'),
|
|
|
20
18
|
callCallbacks = _require.callCallbacks;
|
|
21
19
|
|
|
22
20
|
module.exports = function (config) {
|
|
23
|
-
|
|
24
21
|
var updateContainer = config.updateContainer;
|
|
25
22
|
var commitUpdate = config.commitUpdate;
|
|
26
23
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
|
@@ -26,7 +24,6 @@ var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent,
|
|
|
26
24
|
|
|
27
25
|
|
|
28
26
|
module.exports = function (config) {
|
|
29
|
-
|
|
30
27
|
var createInstance = config.createInstance;
|
|
31
28
|
var prepareUpdate = config.prepareUpdate;
|
|
32
29
|
|
|
@@ -193,7 +190,6 @@ module.exports = function (config) {
|
|
|
193
190
|
case YieldComponent:
|
|
194
191
|
// Does nothing.
|
|
195
192
|
return null;
|
|
196
|
-
|
|
197
193
|
// Error cases
|
|
198
194
|
case IndeterminateComponent:
|
|
199
195
|
throw new Error('An indeterminate component should have become determinate before completing.');
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|
package/lib/ReactFiberRoot.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3
|
-
* All rights reserved.
|
|
2
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4
3
|
*
|
|
5
|
-
* This source code is licensed under the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
6
|
*
|
|
9
7
|
*
|
|
10
8
|
*/
|