react-dom 15.6.0-rc.1 → 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.
Files changed (176) hide show
  1. package/LICENSE +16 -26
  2. package/dist/react-dom-server.js +512 -702
  3. package/dist/react-dom-server.min.js +8 -10
  4. package/dist/react-dom.js +546 -757
  5. package/dist/react-dom.min.js +9 -11
  6. package/lib/ARIADOMPropertyConfig.js +3 -5
  7. package/lib/AutoFocusUtils.js +3 -5
  8. package/lib/BeforeInputEventPlugin.js +3 -5
  9. package/lib/CSSProperty.js +4 -5
  10. package/lib/CSSPropertyOperations.js +14 -14
  11. package/lib/CallbackQueue.js +3 -5
  12. package/lib/ChangeEventPlugin.js +4 -6
  13. package/lib/DOMChildrenOperations.js +3 -5
  14. package/lib/DOMLazyTree.js +3 -5
  15. package/lib/DOMNamespaces.js +3 -5
  16. package/lib/DOMProperty.js +3 -5
  17. package/lib/DOMPropertyOperations.js +3 -5
  18. package/lib/Danger.js +3 -5
  19. package/lib/DefaultEventPluginOrder.js +3 -5
  20. package/lib/EnterLeaveEventPlugin.js +3 -5
  21. package/lib/EventConstants.js +3 -5
  22. package/lib/EventPluginHub.js +3 -5
  23. package/lib/EventPluginRegistry.js +3 -5
  24. package/lib/EventPluginUtils.js +3 -5
  25. package/lib/EventPropagators.js +3 -5
  26. package/lib/FallbackCompositionState.js +3 -5
  27. package/lib/HTMLDOMPropertyConfig.js +4 -5
  28. package/lib/KeyEscapeUtils.js +3 -5
  29. package/lib/LinkedValueUtils.js +3 -5
  30. package/lib/PluginModuleType.js +3 -5
  31. package/lib/PooledClass.js +3 -5
  32. package/lib/ReactBrowserEventEmitter.js +3 -5
  33. package/lib/ReactChildFiber.js +3 -5
  34. package/lib/ReactChildReconciler.js +3 -5
  35. package/lib/ReactComponentBrowserEnvironment.js +3 -5
  36. package/lib/ReactComponentEnvironment.js +3 -5
  37. package/lib/ReactComponentTreeTestUtils.js +3 -5
  38. package/lib/ReactCompositeComponent.js +4 -6
  39. package/lib/ReactCoroutine.js +3 -5
  40. package/lib/ReactDOM.js +4 -5
  41. package/lib/ReactDOMComponent.js +8 -5
  42. package/lib/ReactDOMComponentFlags.js +3 -5
  43. package/lib/ReactDOMComponentTree.js +3 -5
  44. package/lib/ReactDOMContainerInfo.js +3 -5
  45. package/lib/ReactDOMEmptyComponent.js +3 -5
  46. package/lib/ReactDOMFeatureFlags.js +3 -5
  47. package/lib/ReactDOMFiber.js +3 -5
  48. package/lib/ReactDOMIDOperations.js +3 -5
  49. package/lib/ReactDOMInput.js +7 -6
  50. package/lib/ReactDOMInvalidARIAHook.js +3 -5
  51. package/lib/ReactDOMNullInputValuePropHook.js +3 -5
  52. package/lib/ReactDOMOption.js +3 -5
  53. package/lib/ReactDOMSelect.js +3 -5
  54. package/lib/ReactDOMSelection.js +3 -5
  55. package/lib/ReactDOMServer.js +3 -5
  56. package/lib/ReactDOMServerUMDEntry.js +3 -5
  57. package/lib/ReactDOMTextComponent.js +3 -5
  58. package/lib/ReactDOMTextarea.js +3 -5
  59. package/lib/ReactDOMTreeTraversal.js +3 -5
  60. package/lib/ReactDOMUMDEntry.js +3 -5
  61. package/lib/ReactDOMUnknownPropertyHook.js +3 -5
  62. package/lib/ReactDebugTool.js +3 -5
  63. package/lib/ReactDefaultBatchingStrategy.js +3 -5
  64. package/lib/ReactDefaultInjection.js +3 -5
  65. package/lib/ReactElementSymbol.js +3 -5
  66. package/lib/ReactEmptyComponent.js +3 -5
  67. package/lib/ReactErrorUtils.js +6 -6
  68. package/lib/ReactEventEmitterMixin.js +3 -5
  69. package/lib/ReactEventListener.js +3 -5
  70. package/lib/ReactFeatureFlags.js +3 -5
  71. package/lib/ReactFiber.js +3 -5
  72. package/lib/ReactFiberBeginWork.js +3 -5
  73. package/lib/ReactFiberCommitWork.js +3 -5
  74. package/lib/ReactFiberCompleteWork.js +3 -5
  75. package/lib/ReactFiberReconciler.js +3 -5
  76. package/lib/ReactFiberRoot.js +3 -5
  77. package/lib/ReactFiberScheduler.js +3 -5
  78. package/lib/ReactFiberUpdateQueue.js +3 -5
  79. package/lib/ReactHostComponent.js +3 -5
  80. package/lib/ReactHostOperationHistoryHook.js +3 -5
  81. package/lib/ReactInjection.js +3 -5
  82. package/lib/ReactInputSelection.js +3 -5
  83. package/lib/ReactInstanceMap.js +3 -5
  84. package/lib/ReactInstanceType.js +3 -5
  85. package/lib/ReactInstrumentation.js +3 -5
  86. package/lib/ReactInvalidSetStateWarningHook.js +3 -5
  87. package/lib/ReactMarkupChecksum.js +3 -5
  88. package/lib/ReactMount.js +3 -5
  89. package/lib/ReactMultiChild.js +3 -5
  90. package/lib/ReactMultiChildUpdateTypes.js +3 -5
  91. package/lib/ReactNodeTypes.js +3 -5
  92. package/lib/ReactOwner.js +3 -5
  93. package/lib/ReactPerf.js +3 -5
  94. package/lib/ReactPriorityLevel.js +5 -6
  95. package/lib/ReactPropTypeLocationNames.js +3 -5
  96. package/lib/ReactPropTypeLocations.js +3 -5
  97. package/lib/ReactPropTypesSecret.js +3 -5
  98. package/lib/ReactReconcileTransaction.js +3 -5
  99. package/lib/ReactReconciler.js +3 -5
  100. package/lib/ReactRef.js +3 -5
  101. package/lib/ReactReifiedYield.js +3 -5
  102. package/lib/ReactServerBatchingStrategy.js +3 -5
  103. package/lib/ReactServerRendering.js +3 -5
  104. package/lib/ReactServerRenderingTransaction.js +3 -5
  105. package/lib/ReactServerUpdateQueue.js +3 -5
  106. package/lib/ReactShallowRenderer.js +3 -5
  107. package/lib/ReactSimpleEmptyComponent.js +3 -5
  108. package/lib/ReactSyntheticEventType.js +3 -5
  109. package/lib/ReactTestReconcileTransaction.js +2 -4
  110. package/lib/ReactTestUtils.js +3 -5
  111. package/lib/ReactTypeOfWork.js +3 -5
  112. package/lib/ReactTypes.js +3 -5
  113. package/lib/ReactUpdateQueue.js +3 -5
  114. package/lib/ReactUpdates.js +4 -6
  115. package/lib/ReactVersion.js +4 -6
  116. package/lib/ResponderEventPlugin.js +3 -5
  117. package/lib/ResponderSyntheticEvent.js +3 -5
  118. package/lib/ResponderTouchHistoryStore.js +3 -5
  119. package/lib/SVGDOMPropertyConfig.js +3 -5
  120. package/lib/SelectEventPlugin.js +3 -5
  121. package/lib/SimpleEventPlugin.js +3 -5
  122. package/lib/SyntheticAnimationEvent.js +3 -5
  123. package/lib/SyntheticClipboardEvent.js +3 -5
  124. package/lib/SyntheticCompositionEvent.js +3 -5
  125. package/lib/SyntheticDragEvent.js +3 -5
  126. package/lib/SyntheticEvent.js +30 -27
  127. package/lib/SyntheticFocusEvent.js +3 -5
  128. package/lib/SyntheticInputEvent.js +3 -5
  129. package/lib/SyntheticKeyboardEvent.js +3 -5
  130. package/lib/SyntheticMouseEvent.js +3 -5
  131. package/lib/SyntheticTouchEvent.js +3 -5
  132. package/lib/SyntheticTransitionEvent.js +3 -5
  133. package/lib/SyntheticUIEvent.js +3 -5
  134. package/lib/SyntheticWheelEvent.js +3 -5
  135. package/lib/TapEventPlugin.js +3 -5
  136. package/lib/TouchHistoryMath.js +12 -6
  137. package/lib/Transaction.js +3 -5
  138. package/lib/ViewportMetrics.js +3 -5
  139. package/lib/accumulate.js +3 -5
  140. package/lib/accumulateInto.js +3 -5
  141. package/lib/adler32.js +3 -5
  142. package/lib/canDefineProperty.js +3 -5
  143. package/lib/checkReactTypeSpec.js +3 -5
  144. package/lib/createMicrosoftUnsafeLocalFunction.js +3 -5
  145. package/lib/dangerousStyleValue.js +5 -7
  146. package/lib/deprecated.js +3 -5
  147. package/lib/escapeTextContentForBrowser.js +3 -5
  148. package/lib/findDOMNode.js +3 -5
  149. package/lib/flattenChildren.js +3 -5
  150. package/lib/forEachAccumulated.js +3 -5
  151. package/lib/getEventCharCode.js +3 -5
  152. package/lib/getEventKey.js +3 -5
  153. package/lib/getEventModifierState.js +3 -5
  154. package/lib/getEventTarget.js +3 -5
  155. package/lib/getHostComponentFromComposite.js +3 -5
  156. package/lib/getIteratorFn.js +3 -5
  157. package/lib/getNodeForCharacterOffset.js +3 -5
  158. package/lib/getTestDocument.js +3 -5
  159. package/lib/getTextContentAccessor.js +3 -5
  160. package/lib/getVendorPrefixedEventName.js +3 -5
  161. package/lib/inputValueTracking.js +9 -10
  162. package/lib/instantiateReactComponent.js +3 -5
  163. package/lib/isEventSupported.js +3 -5
  164. package/lib/isTextInputElement.js +3 -5
  165. package/lib/lowPriorityWarning.js +3 -5
  166. package/lib/quoteAttributeValueForBrowser.js +3 -5
  167. package/lib/reactComponentExpect.js +3 -5
  168. package/lib/reactProdInvariant.js +2 -4
  169. package/lib/renderSubtreeIntoContainer.js +3 -5
  170. package/lib/setInnerHTML.js +3 -5
  171. package/lib/setTextContent.js +3 -5
  172. package/lib/shouldUpdateReactComponent.js +3 -5
  173. package/lib/traverseAllChildren.js +3 -5
  174. package/lib/validateDOMNesting.js +3 -5
  175. package/package.json +27 -20
  176. package/PATENTS +0 -33
@@ -1,10 +1,8 @@
1
1
  /**
2
- * Copyright 2015-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2015-present, Facebook, Inc.
4
3
  *
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.
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 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 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.
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 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 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.
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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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
 
@@ -150,8 +148,11 @@ var ReactDOMInput = {
150
148
  // Simulate `input.valueAsNumber`. IE9 does not support it
151
149
  var valueAsNumber = parseFloat(node.value, 10) || 0;
152
150
 
151
+ if (
153
152
  // eslint-disable-next-line
154
- if (value != valueAsNumber) {
153
+ value != valueAsNumber ||
154
+ // eslint-disable-next-line
155
+ value == valueAsNumber && node.value != value) {
155
156
  // Cast `value` to a string to ensure the value is set correctly. While
156
157
  // browsers typically do this as necessary, jsdom doesn't.
157
158
  node.value = '' + value;
@@ -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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 2015-present, Facebook, Inc.
3
- * All rights reserved.
2
+ * Copyright (c) 2015-present, Facebook, Inc.
4
3
  *
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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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.
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 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.
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 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 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.
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 = func.bind(null, a);
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 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.
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 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 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.
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 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 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.
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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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 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.
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 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.
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 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 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.
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 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 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.
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 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 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.
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