react 0.13.0-beta.1 → 0.13.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 (181) hide show
  1. package/dist/JSXTransformer.js +1919 -1295
  2. package/dist/react-with-addons.js +1690 -1090
  3. package/dist/react-with-addons.min.js +7 -6
  4. package/dist/react.js +1574 -1010
  5. package/dist/react.min.js +6 -6
  6. package/lib/AutoFocusMixin.js +1 -1
  7. package/lib/BeforeInputEventPlugin.js +1 -5
  8. package/lib/CSSCore.js +1 -1
  9. package/lib/CSSProperty.js +3 -1
  10. package/lib/CSSPropertyOperations.js +1 -1
  11. package/lib/CallbackQueue.js +1 -1
  12. package/lib/ChangeEventPlugin.js +1 -1
  13. package/lib/ClientReactRootIndex.js +1 -1
  14. package/lib/DOMChildrenOperations.js +4 -43
  15. package/lib/DOMProperty.js +1 -1
  16. package/lib/DOMPropertyOperations.js +7 -14
  17. package/lib/Danger.js +1 -1
  18. package/lib/DefaultEventPluginOrder.js +2 -2
  19. package/lib/EnterLeaveEventPlugin.js +1 -1
  20. package/lib/EventConstants.js +1 -1
  21. package/lib/EventListener.js +1 -1
  22. package/lib/EventPluginHub.js +1 -1
  23. package/lib/EventPluginRegistry.js +1 -1
  24. package/lib/EventPluginUtils.js +3 -3
  25. package/lib/EventPropagators.js +1 -1
  26. package/lib/ExecutionEnvironment.js +1 -1
  27. package/lib/FallbackCompositionState.js +1 -1
  28. package/lib/HTMLDOMPropertyConfig.js +12 -5
  29. package/lib/LinkedStateMixin.js +1 -1
  30. package/lib/LinkedValueUtils.js +1 -1
  31. package/lib/LocalEventTrapMixin.js +1 -1
  32. package/lib/MobileSafariClickEventPlugin.js +1 -1
  33. package/lib/Object.assign.js +1 -1
  34. package/lib/PooledClass.js +1 -1
  35. package/lib/React.js +7 -9
  36. package/lib/ReactBrowserComponentMixin.js +1 -1
  37. package/lib/ReactBrowserEventEmitter.js +2 -2
  38. package/lib/ReactCSSTransitionGroup.js +1 -1
  39. package/lib/ReactCSSTransitionGroupChild.js +8 -5
  40. package/lib/ReactChildReconciler.js +1 -1
  41. package/lib/ReactChildren.js +3 -2
  42. package/lib/ReactClass.js +49 -23
  43. package/lib/ReactComponent.js +35 -19
  44. package/lib/ReactComponentBrowserEnvironment.js +1 -1
  45. package/lib/ReactComponentEnvironment.js +1 -1
  46. package/lib/ReactComponentWithPureRenderMixin.js +1 -1
  47. package/lib/ReactCompositeComponent.js +89 -40
  48. package/lib/ReactContext.js +13 -3
  49. package/lib/ReactCurrentOwner.js +1 -1
  50. package/lib/ReactDOM.js +1 -1
  51. package/lib/ReactDOMButton.js +1 -1
  52. package/lib/ReactDOMComponent.js +19 -19
  53. package/lib/ReactDOMForm.js +1 -1
  54. package/lib/ReactDOMIDOperations.js +3 -3
  55. package/lib/ReactDOMIframe.js +43 -0
  56. package/lib/ReactDOMImg.js +1 -1
  57. package/lib/ReactDOMInput.js +1 -1
  58. package/lib/ReactDOMOption.js +1 -1
  59. package/lib/ReactDOMSelect.js +1 -1
  60. package/lib/ReactDOMSelection.js +1 -1
  61. package/lib/ReactDOMTextComponent.js +3 -5
  62. package/lib/ReactDOMTextarea.js +1 -1
  63. package/lib/ReactDefaultBatchingStrategy.js +1 -1
  64. package/lib/ReactDefaultInjection.js +25 -1
  65. package/lib/ReactDefaultPerf.js +5 -10
  66. package/lib/ReactDefaultPerfAnalysis.js +1 -1
  67. package/lib/ReactElement.js +56 -2
  68. package/lib/ReactElementValidator.js +122 -79
  69. package/lib/ReactEmptyComponent.js +5 -5
  70. package/lib/ReactErrorUtils.js +1 -1
  71. package/lib/ReactEventEmitterMixin.js +1 -1
  72. package/lib/ReactEventListener.js +1 -1
  73. package/lib/ReactFragment.js +181 -0
  74. package/lib/ReactInjection.js +1 -1
  75. package/lib/ReactInputSelection.js +1 -1
  76. package/lib/ReactInstanceHandles.js +1 -1
  77. package/lib/ReactInstanceMap.js +1 -1
  78. package/lib/ReactLifeCycle.js +1 -1
  79. package/lib/ReactLink.js +1 -1
  80. package/lib/ReactMarkupChecksum.js +1 -1
  81. package/lib/ReactMount.js +32 -10
  82. package/lib/ReactMultiChild.js +1 -1
  83. package/lib/ReactMultiChildUpdateTypes.js +1 -1
  84. package/lib/ReactNativeComponent.js +7 -20
  85. package/lib/ReactOwner.js +1 -1
  86. package/lib/ReactPerf.js +1 -1
  87. package/lib/ReactPropTransferer.js +1 -1
  88. package/lib/ReactPropTypeLocationNames.js +1 -1
  89. package/lib/ReactPropTypeLocations.js +1 -1
  90. package/lib/ReactPropTypes.js +7 -4
  91. package/lib/ReactPutListenerQueue.js +1 -1
  92. package/lib/ReactReconcileTransaction.js +1 -1
  93. package/lib/ReactReconciler.js +15 -2
  94. package/lib/ReactRef.js +2 -3
  95. package/lib/ReactRootIndex.js +1 -1
  96. package/lib/ReactServerRendering.js +1 -1
  97. package/lib/ReactServerRenderingTransaction.js +1 -1
  98. package/lib/ReactStateSetters.js +1 -1
  99. package/lib/ReactTestUtils.js +19 -7
  100. package/lib/ReactTransitionChildMapping.js +7 -3
  101. package/lib/ReactTransitionEvents.js +1 -1
  102. package/lib/ReactTransitionGroup.js +5 -5
  103. package/lib/ReactUpdateQueue.js +63 -32
  104. package/lib/ReactUpdates.js +7 -2
  105. package/lib/ReactWithAddons.js +3 -1
  106. package/lib/SVGDOMPropertyConfig.js +1 -1
  107. package/lib/SelectEventPlugin.js +1 -1
  108. package/lib/ServerReactRootIndex.js +1 -1
  109. package/lib/SimpleEventPlugin.js +3 -3
  110. package/lib/SyntheticClipboardEvent.js +1 -1
  111. package/lib/SyntheticCompositionEvent.js +1 -1
  112. package/lib/SyntheticDragEvent.js +1 -1
  113. package/lib/SyntheticEvent.js +1 -1
  114. package/lib/SyntheticFocusEvent.js +1 -1
  115. package/lib/SyntheticInputEvent.js +1 -1
  116. package/lib/SyntheticKeyboardEvent.js +1 -1
  117. package/lib/SyntheticMouseEvent.js +1 -1
  118. package/lib/SyntheticTouchEvent.js +1 -1
  119. package/lib/SyntheticUIEvent.js +1 -1
  120. package/lib/SyntheticWheelEvent.js +1 -1
  121. package/lib/Transaction.js +2 -2
  122. package/lib/ViewportMetrics.js +1 -1
  123. package/lib/accumulateInto.js +1 -1
  124. package/lib/adler32.js +1 -1
  125. package/lib/camelize.js +1 -1
  126. package/lib/camelizeStyleName.js +1 -1
  127. package/lib/cloneWithProps.js +4 -4
  128. package/lib/containsNode.js +1 -1
  129. package/lib/{createArrayFrom.js → createArrayFromMixed.js} +6 -6
  130. package/lib/createFullPageComponent.js +1 -1
  131. package/lib/createNodesFromMarkup.js +4 -4
  132. package/lib/cx.js +16 -1
  133. package/lib/dangerousStyleValue.js +1 -1
  134. package/lib/emptyFunction.js +1 -1
  135. package/lib/emptyObject.js +1 -1
  136. package/lib/{escapeTextForBrowser.js → escapeTextContentForBrowser.js} +4 -5
  137. package/lib/findDOMNode.js +19 -1
  138. package/lib/flattenChildren.js +1 -1
  139. package/lib/focusNode.js +1 -1
  140. package/lib/forEachAccumulated.js +1 -1
  141. package/lib/getActiveElement.js +1 -1
  142. package/lib/getEventCharCode.js +1 -1
  143. package/lib/getEventKey.js +1 -1
  144. package/lib/getEventModifierState.js +1 -1
  145. package/lib/getEventTarget.js +1 -1
  146. package/lib/getIteratorFn.js +1 -1
  147. package/lib/getMarkupWrap.js +1 -1
  148. package/lib/getNodeForCharacterOffset.js +1 -1
  149. package/lib/getReactRootElementInContainer.js +1 -1
  150. package/lib/getTextContentAccessor.js +1 -1
  151. package/lib/getUnboundedScrollPosition.js +1 -1
  152. package/lib/hyphenate.js +1 -1
  153. package/lib/hyphenateStyleName.js +1 -1
  154. package/lib/instantiateReactComponent.js +6 -1
  155. package/lib/invariant.js +1 -1
  156. package/lib/isEventSupported.js +1 -1
  157. package/lib/isNode.js +1 -1
  158. package/lib/isTextInputElement.js +1 -1
  159. package/lib/isTextNode.js +1 -1
  160. package/lib/joinClasses.js +1 -1
  161. package/lib/keyMirror.js +1 -1
  162. package/lib/keyOf.js +1 -1
  163. package/lib/mapObject.js +1 -1
  164. package/lib/memoizeStringOnly.js +1 -1
  165. package/lib/onlyChild.js +1 -1
  166. package/lib/performance.js +1 -1
  167. package/lib/performanceNow.js +1 -1
  168. package/lib/quoteAttributeValueForBrowser.js +26 -0
  169. package/lib/setInnerHTML.js +1 -1
  170. package/lib/setTextContent.js +40 -0
  171. package/lib/shallowEqual.js +1 -1
  172. package/lib/shouldUpdateReactComponent.js +32 -10
  173. package/lib/toArray.js +2 -2
  174. package/lib/traverseAllChildren.js +18 -4
  175. package/lib/update.js +1 -1
  176. package/lib/warning.js +9 -2
  177. package/package.json +1 -1
  178. package/lib/copyProperties.js +0 -56
  179. package/lib/merge.js +0 -34
  180. package/lib/mergeInto.js +0 -24
  181. package/lib/monitorCodeUse.js +0 -30
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -13,6 +13,7 @@
13
13
  'use strict';
14
14
 
15
15
  var ReactChildren = require("./ReactChildren");
16
+ var ReactFragment = require("./ReactFragment");
16
17
 
17
18
  var ReactTransitionChildMapping = {
18
19
  /**
@@ -23,9 +24,12 @@ var ReactTransitionChildMapping = {
23
24
  * @return {object} Mapping of key to child
24
25
  */
25
26
  getChildMapping: function(children) {
26
- return ReactChildren.map(children, function(child) {
27
+ if (!children) {
28
+ return children;
29
+ }
30
+ return ReactFragment.extract(ReactChildren.map(children, function(child) {
27
31
  return child;
28
- });
32
+ }));
29
33
  },
30
34
 
31
35
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -202,7 +202,7 @@ var ReactTransitionGroup = React.createClass({
202
202
  render: function() {
203
203
  // TODO: we could get rid of the need for the wrapper node
204
204
  // by cloning a single child
205
- var childrenToRender = {};
205
+ var childrenToRender = [];
206
206
  for (var key in this.state.children) {
207
207
  var child = this.state.children[key];
208
208
  if (child) {
@@ -211,10 +211,10 @@ var ReactTransitionGroup = React.createClass({
211
211
  // already been removed. In case you need this behavior you can provide
212
212
  // a childFactory function to wrap every child, even the ones that are
213
213
  // leaving.
214
- childrenToRender[key] = cloneWithProps(
214
+ childrenToRender.push(cloneWithProps(
215
215
  this.props.childFactory(child),
216
- {ref: key}
217
- );
216
+ {ref: key, key: key}
217
+ ));
218
218
  }
219
219
  }
220
220
  return React.createElement(
@@ -9,7 +9,7 @@
9
9
  * @providesModule ReactUpdateQueue
10
10
  */
11
11
 
12
- "use strict";
12
+ 'use strict';
13
13
 
14
14
  var ReactLifeCycle = require("./ReactLifeCycle");
15
15
  var ReactCurrentOwner = require("./ReactCurrentOwner");
@@ -19,6 +19,7 @@ var ReactUpdates = require("./ReactUpdates");
19
19
 
20
20
  var assign = require("./Object.assign");
21
21
  var invariant = require("./invariant");
22
+ var warning = require("./warning");
22
23
 
23
24
  function enqueueUpdate(internalInstance) {
24
25
  if (internalInstance !== ReactLifeCycle.currentlyMountingInstance) {
@@ -40,20 +41,27 @@ function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
40
41
  ) : invariant(ReactCurrentOwner.current == null));
41
42
 
42
43
  var internalInstance = ReactInstanceMap.get(publicInstance);
43
- ("production" !== process.env.NODE_ENV ? invariant(
44
- internalInstance,
45
- '%s(...): Can only update a mounted or mounting component. ' +
46
- 'This usually means you called %s() on an unmounted ' +
47
- 'component.',
48
- callerName,
49
- callerName
50
- ) : invariant(internalInstance));
51
- ("production" !== process.env.NODE_ENV ? invariant(
52
- internalInstance !== ReactLifeCycle.currentlyUnmountingInstance,
53
- '%s(...): Cannot call %s() on an unmounting component.',
54
- callerName,
55
- callerName
56
- ) : invariant(internalInstance !== ReactLifeCycle.currentlyUnmountingInstance));
44
+ if (!internalInstance) {
45
+ if ("production" !== process.env.NODE_ENV) {
46
+ // Only warn when we have a callerName. Otherwise we should be silent.
47
+ // We're probably calling from enqueueCallback. We don't want to warn
48
+ // there because we already warned for the corresponding lifecycle method.
49
+ ("production" !== process.env.NODE_ENV ? warning(
50
+ !callerName,
51
+ '%s(...): Can only update a mounted or mounting component. ' +
52
+ 'This usually means you called %s() on an unmounted ' +
53
+ 'component. This is a no-op.',
54
+ callerName,
55
+ callerName
56
+ ) : null);
57
+ }
58
+ return null;
59
+ }
60
+
61
+ if (internalInstance === ReactLifeCycle.currentlyUnmountingInstance) {
62
+ return null;
63
+ }
64
+
57
65
  return internalInstance;
58
66
  }
59
67
 
@@ -78,15 +86,18 @@ var ReactUpdateQueue = {
78
86
  '`setState`, `replaceState`, or `forceUpdate` with a callback that ' +
79
87
  'isn\'t callable.'
80
88
  ) : invariant(typeof callback === 'function'));
81
- var internalInstance = ReactInstanceMap.get(publicInstance);
82
- ("production" !== process.env.NODE_ENV ? invariant(
83
- internalInstance,
84
- 'Cannot enqueue a callback on an instance that is unmounted.'
85
- ) : invariant(internalInstance));
86
- if (internalInstance === ReactLifeCycle.currentlyMountingInstance) {
87
- // Ignore callbacks in componentWillMount. See enqueueUpdate.
88
- return;
89
+ var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);
90
+
91
+ // Previously we would throw an error if we didn't have an internal
92
+ // instance. Since we want to make it a no-op instead, we mirror the same
93
+ // behavior we have in other enqueue* methods.
94
+ // We also need to ignore callbacks in componentWillMount. See
95
+ // enqueueUpdates.
96
+ if (!internalInstance ||
97
+ internalInstance === ReactLifeCycle.currentlyMountingInstance) {
98
+ return null;
89
99
  }
100
+
90
101
  if (internalInstance._pendingCallbacks) {
91
102
  internalInstance._pendingCallbacks.push(callback);
92
103
  } else {
@@ -101,16 +112,17 @@ var ReactUpdateQueue = {
101
112
 
102
113
  enqueueCallbackInternal: function(internalInstance, callback) {
103
114
  ("production" !== process.env.NODE_ENV ? invariant(
104
- typeof callback === "function",
115
+ typeof callback === 'function',
105
116
  'enqueueCallback(...): You called `setProps`, `replaceProps`, ' +
106
117
  '`setState`, `replaceState`, or `forceUpdate` with a callback that ' +
107
118
  'isn\'t callable.'
108
- ) : invariant(typeof callback === "function"));
119
+ ) : invariant(typeof callback === 'function'));
109
120
  if (internalInstance._pendingCallbacks) {
110
121
  internalInstance._pendingCallbacks.push(callback);
111
122
  } else {
112
123
  internalInstance._pendingCallbacks = [callback];
113
124
  }
125
+ enqueueUpdate(internalInstance);
114
126
  },
115
127
 
116
128
  /**
@@ -132,6 +144,10 @@ var ReactUpdateQueue = {
132
144
  'forceUpdate'
133
145
  );
134
146
 
147
+ if (!internalInstance) {
148
+ return;
149
+ }
150
+
135
151
  internalInstance._pendingForceUpdate = true;
136
152
 
137
153
  enqueueUpdate(internalInstance);
@@ -154,7 +170,12 @@ var ReactUpdateQueue = {
154
170
  'replaceState'
155
171
  );
156
172
 
157
- internalInstance._pendingState = completeState;
173
+ if (!internalInstance) {
174
+ return;
175
+ }
176
+
177
+ internalInstance._pendingStateQueue = [completeState];
178
+ internalInstance._pendingReplaceState = true;
158
179
 
159
180
  enqueueUpdate(internalInstance);
160
181
  },
@@ -175,12 +196,14 @@ var ReactUpdateQueue = {
175
196
  'setState'
176
197
  );
177
198
 
178
- // Merge with `_pendingState` if it exists, otherwise with existing state.
179
- internalInstance._pendingState = assign(
180
- {},
181
- internalInstance._pendingState || internalInstance._instance.state,
182
- partialState
183
- );
199
+ if (!internalInstance) {
200
+ return;
201
+ }
202
+
203
+ var queue =
204
+ internalInstance._pendingStateQueue ||
205
+ (internalInstance._pendingStateQueue = []);
206
+ queue.push(partialState);
184
207
 
185
208
  enqueueUpdate(internalInstance);
186
209
  },
@@ -198,6 +221,10 @@ var ReactUpdateQueue = {
198
221
  'setProps'
199
222
  );
200
223
 
224
+ if (!internalInstance) {
225
+ return;
226
+ }
227
+
201
228
  ("production" !== process.env.NODE_ENV ? invariant(
202
229
  internalInstance._isTopLevel,
203
230
  'setProps(...): You called `setProps` on a ' +
@@ -233,6 +260,10 @@ var ReactUpdateQueue = {
233
260
  'replaceProps'
234
261
  );
235
262
 
263
+ if (!internalInstance) {
264
+ return;
265
+ }
266
+
236
267
  ("production" !== process.env.NODE_ENV ? invariant(
237
268
  internalInstance._isTopLevel,
238
269
  'replaceProps(...): You called `replaceProps` on a ' +
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -15,6 +15,7 @@ var CallbackQueue = require("./CallbackQueue");
15
15
  var PooledClass = require("./PooledClass");
16
16
  var ReactCurrentOwner = require("./ReactCurrentOwner");
17
17
  var ReactPerf = require("./ReactPerf");
18
+ var ReactReconciler = require("./ReactReconciler");
18
19
  var Transaction = require("./Transaction");
19
20
 
20
21
  var assign = require("./Object.assign");
@@ -146,7 +147,11 @@ function runBatchedUpdates(transaction) {
146
147
  // stash the callbacks first
147
148
  var callbacks = component._pendingCallbacks;
148
149
  component._pendingCallbacks = null;
149
- component.performUpdateIfNecessary(transaction.reconcileTransaction);
150
+
151
+ ReactReconciler.performUpdateIfNecessary(
152
+ component,
153
+ transaction.reconcileTransaction
154
+ );
150
155
 
151
156
  if (callbacks) {
152
157
  for (var j = 0; j < callbacks.length; j++) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -23,6 +23,7 @@ var React = require("./React");
23
23
  var ReactComponentWithPureRenderMixin =
24
24
  require("./ReactComponentWithPureRenderMixin");
25
25
  var ReactCSSTransitionGroup = require("./ReactCSSTransitionGroup");
26
+ var ReactFragment = require("./ReactFragment");
26
27
  var ReactTransitionGroup = require("./ReactTransitionGroup");
27
28
  var ReactUpdates = require("./ReactUpdates");
28
29
 
@@ -39,6 +40,7 @@ React.addons = {
39
40
  batchedUpdates: ReactUpdates.batchedUpdates,
40
41
  classSet: cx,
41
42
  cloneWithProps: cloneWithProps,
43
+ createFragment: ReactFragment.create,
42
44
  update: update
43
45
  };
44
46
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -285,8 +285,8 @@ var topLevelEventsToDispatchConfig = {
285
285
  topWheel: eventTypes.wheel
286
286
  };
287
287
 
288
- for (var topLevelType in topLevelEventsToDispatchConfig) {
289
- topLevelEventsToDispatchConfig[topLevelType].dependencies = [topLevelType];
288
+ for (var type in topLevelEventsToDispatchConfig) {
289
+ topLevelEventsToDispatchConfig[type].dependencies = [type];
290
290
  }
291
291
 
292
292
  var SimpleEventPlugin = {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the
@@ -61,7 +61,7 @@ var invariant = require("./invariant");
61
61
  * content.
62
62
  * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue
63
63
  * to preserve the `scrollTop` (an automatic scroll aware DOM).
64
- * - (Future use case): Layout calculations before and after DOM upates.
64
+ * - (Future use case): Layout calculations before and after DOM updates.
65
65
  *
66
66
  * Transactional plugin API:
67
67
  * - A module that has an `initialize` method that returns any precomputation.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013-2014, Facebook, Inc.
2
+ * Copyright 2013-2015, Facebook, Inc.
3
3
  * All rights reserved.
4
4
  *
5
5
  * This source code is licensed under the BSD-style license found in the