react 0.9.0-rc1 → 0.9.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 (141) hide show
  1. package/lib/AutoFocusMixin.js +1 -1
  2. package/lib/CSSCore.js +1 -1
  3. package/lib/CSSProperty.js +1 -1
  4. package/lib/CSSPropertyOperations.js +1 -1
  5. package/lib/ChangeEventPlugin.js +1 -1
  6. package/lib/ClientReactRootIndex.js +1 -1
  7. package/lib/CompositionEventPlugin.js +1 -1
  8. package/lib/DOMChildrenOperations.js +1 -1
  9. package/lib/DOMProperty.js +1 -1
  10. package/lib/DOMPropertyOperations.js +1 -1
  11. package/lib/Danger.js +1 -1
  12. package/lib/DefaultDOMPropertyConfig.js +7 -1
  13. package/lib/DefaultEventPluginOrder.js +1 -1
  14. package/lib/EnterLeaveEventPlugin.js +1 -1
  15. package/lib/EventConstants.js +1 -1
  16. package/lib/EventPluginHub.js +3 -1
  17. package/lib/EventPluginRegistry.js +23 -2
  18. package/lib/EventPluginUtils.js +1 -1
  19. package/lib/EventPropagators.js +1 -1
  20. package/lib/ExecutionEnvironment.js +1 -1
  21. package/lib/LinkedStateMixin.js +1 -1
  22. package/lib/LinkedValueUtils.js +1 -1
  23. package/lib/MobileSafariClickEventPlugin.js +1 -1
  24. package/lib/PooledClass.js +1 -1
  25. package/lib/React.js +2 -2
  26. package/lib/ReactCSSTransitionGroup.js +1 -1
  27. package/lib/ReactCSSTransitionGroupChild.js +1 -1
  28. package/lib/ReactChildren.js +4 -4
  29. package/lib/ReactComponent.js +1 -1
  30. package/lib/ReactComponentBrowserEnvironment.js +1 -1
  31. package/lib/ReactComponentEnvironment.js +1 -1
  32. package/lib/ReactCompositeComponent.js +1 -1
  33. package/lib/ReactContext.js +1 -1
  34. package/lib/ReactCurrentOwner.js +1 -1
  35. package/lib/ReactDOM.js +1 -1
  36. package/lib/ReactDOMButton.js +1 -1
  37. package/lib/ReactDOMComponent.js +1 -1
  38. package/lib/ReactDOMForm.js +1 -1
  39. package/lib/ReactDOMIDOperations.js +1 -1
  40. package/lib/ReactDOMImg.js +1 -1
  41. package/lib/ReactDOMInput.js +1 -1
  42. package/lib/ReactDOMOption.js +1 -1
  43. package/lib/ReactDOMSelect.js +1 -1
  44. package/lib/ReactDOMSelection.js +1 -1
  45. package/lib/ReactDOMTextarea.js +1 -1
  46. package/lib/ReactDefaultBatchingStrategy.js +1 -1
  47. package/lib/ReactDefaultInjection.js +1 -1
  48. package/lib/ReactDefaultPerf.js +1 -1
  49. package/lib/ReactDefaultPerfAnalysis.js +1 -1
  50. package/lib/ReactErrorUtils.js +1 -1
  51. package/lib/ReactEventEmitter.js +3 -1
  52. package/lib/ReactEventEmitterMixin.js +1 -1
  53. package/lib/ReactEventTopLevelCallback.js +56 -16
  54. package/lib/ReactInjection.js +1 -1
  55. package/lib/ReactInputSelection.js +1 -1
  56. package/lib/ReactInstanceHandles.js +1 -1
  57. package/lib/ReactLink.js +1 -1
  58. package/lib/ReactMarkupChecksum.js +1 -1
  59. package/lib/ReactMount.js +1 -1
  60. package/lib/ReactMountReady.js +1 -1
  61. package/lib/ReactMultiChild.js +1 -1
  62. package/lib/ReactMultiChildUpdateTypes.js +1 -1
  63. package/lib/ReactOwner.js +1 -1
  64. package/lib/ReactPerf.js +1 -1
  65. package/lib/ReactPropTransferer.js +1 -1
  66. package/lib/ReactPropTypeLocationNames.js +1 -1
  67. package/lib/ReactPropTypeLocations.js +1 -1
  68. package/lib/ReactPropTypes.js +19 -19
  69. package/lib/ReactPutListenerQueue.js +1 -1
  70. package/lib/ReactReconcileTransaction.js +1 -1
  71. package/lib/ReactRootIndex.js +1 -1
  72. package/lib/ReactServerRendering.js +1 -1
  73. package/lib/ReactStateSetters.js +1 -1
  74. package/lib/ReactTestUtils.js +394 -0
  75. package/lib/ReactTextComponent.js +1 -1
  76. package/lib/ReactTransitionChildMapping.js +1 -1
  77. package/lib/ReactTransitionEvents.js +1 -1
  78. package/lib/ReactTransitionGroup.js +1 -1
  79. package/lib/ReactUpdates.js +1 -1
  80. package/lib/ReactWithAddons.js +6 -1
  81. package/lib/SelectEventPlugin.js +1 -1
  82. package/lib/ServerReactRootIndex.js +1 -1
  83. package/lib/SimpleEventPlugin.js +1 -1
  84. package/lib/SyntheticClipboardEvent.js +1 -1
  85. package/lib/SyntheticCompositionEvent.js +1 -1
  86. package/lib/SyntheticDragEvent.js +1 -1
  87. package/lib/SyntheticEvent.js +1 -1
  88. package/lib/SyntheticFocusEvent.js +1 -1
  89. package/lib/SyntheticKeyboardEvent.js +1 -1
  90. package/lib/SyntheticMouseEvent.js +1 -1
  91. package/lib/SyntheticTouchEvent.js +1 -1
  92. package/lib/SyntheticUIEvent.js +1 -1
  93. package/lib/SyntheticWheelEvent.js +1 -1
  94. package/lib/Transaction.js +1 -1
  95. package/lib/ViewportMetrics.js +1 -1
  96. package/lib/accumulate.js +1 -1
  97. package/lib/adler32.js +1 -1
  98. package/lib/cloneWithProps.js +1 -1
  99. package/lib/containsNode.js +1 -1
  100. package/lib/copyProperties.js +1 -1
  101. package/lib/createArrayFrom.js +1 -1
  102. package/lib/createFullPageComponent.js +1 -1
  103. package/lib/createNodesFromMarkup.js +1 -1
  104. package/lib/createObjectFrom.js +1 -1
  105. package/lib/cx.js +1 -1
  106. package/lib/dangerousStyleValue.js +1 -1
  107. package/lib/emptyFunction.js +1 -1
  108. package/lib/escapeTextForBrowser.js +1 -1
  109. package/lib/flattenChildren.js +1 -1
  110. package/lib/forEachAccumulated.js +1 -1
  111. package/lib/getActiveElement.js +1 -1
  112. package/lib/getEventKey.js +1 -1
  113. package/lib/getEventTarget.js +1 -1
  114. package/lib/getMarkupWrap.js +1 -1
  115. package/lib/getNodeForCharacterOffset.js +1 -1
  116. package/lib/getReactRootElementInContainer.js +1 -1
  117. package/lib/getTextContentAccessor.js +1 -1
  118. package/lib/getUnboundedScrollPosition.js +1 -1
  119. package/lib/hyphenate.js +1 -1
  120. package/lib/invariant.js +8 -8
  121. package/lib/isEventSupported.js +1 -1
  122. package/lib/isNode.js +1 -1
  123. package/lib/isTextInputElement.js +1 -1
  124. package/lib/isTextNode.js +1 -1
  125. package/lib/joinClasses.js +1 -1
  126. package/lib/keyMirror.js +1 -1
  127. package/lib/keyOf.js +1 -1
  128. package/lib/memoizeStringOnly.js +1 -1
  129. package/lib/merge.js +1 -1
  130. package/lib/mergeHelpers.js +1 -1
  131. package/lib/mergeInto.js +1 -1
  132. package/lib/mixInto.js +1 -1
  133. package/lib/objMap.js +1 -1
  134. package/lib/objMapKeyVal.js +1 -1
  135. package/lib/onlyChild.js +1 -1
  136. package/lib/performanceNow.js +1 -1
  137. package/lib/shallowEqual.js +1 -1
  138. package/lib/shouldUpdateReactComponent.js +1 -1
  139. package/lib/traverseAllChildren.js +1 -1
  140. package/lib/warning.js +19 -11
  141. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@ var LinkedStateMixin = require("./LinkedStateMixin");
29
29
  var React = require("./React");
30
30
  var ReactCSSTransitionGroup = require("./ReactCSSTransitionGroup");
31
31
  var ReactTransitionGroup = require("./ReactTransitionGroup");
32
+ var ReactCSSTransitionGroup = require("./ReactCSSTransitionGroup");
32
33
 
33
34
  var cx = require("./cx");
34
35
  var cloneWithProps = require("./cloneWithProps");
@@ -42,5 +43,9 @@ React.addons = {
42
43
  cloneWithProps: cloneWithProps
43
44
  };
44
45
 
46
+ if ("production" !== process.env.NODE_ENV) {
47
+ React.addons.TestUtils = require("./ReactTestUtils");
48
+ }
49
+
45
50
  module.exports = React;
46
51
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/accumulate.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/adler32.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/cx.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/hyphenate.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/invariant.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -16,6 +16,8 @@
16
16
  * @providesModule invariant
17
17
  */
18
18
 
19
+ "use strict";
20
+
19
21
  /**
20
22
  * Use invariant() to assert state which your program assumes to be true.
21
23
  *
@@ -27,7 +29,7 @@
27
29
  * will remain to ensure logic does not differ in production.
28
30
  */
29
31
 
30
- function invariant(condition) {
32
+ var invariant = function(condition) {
31
33
  if (!condition) {
32
34
  var error = new Error(
33
35
  'Minified exception occured; use the non-minified dev environment for ' +
@@ -36,12 +38,10 @@ function invariant(condition) {
36
38
  error.framesToPop = 1;
37
39
  throw error;
38
40
  }
39
- }
40
-
41
- module.exports = invariant;
41
+ };
42
42
 
43
43
  if ("production" !== process.env.NODE_ENV) {
44
- var invariantDev = function(condition, format, a, b, c, d, e, f) {
44
+ invariant = function(condition, format, a, b, c, d, e, f) {
45
45
  if (format === undefined) {
46
46
  throw new Error('invariant requires an error message argument');
47
47
  }
@@ -57,6 +57,6 @@ if ("production" !== process.env.NODE_ENV) {
57
57
  throw error;
58
58
  }
59
59
  };
60
-
61
- module.exports = invariantDev;
62
60
  }
61
+
62
+ module.exports = invariant;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/isNode.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2013 Facebook, Inc.
2
+ * Copyright 2013-2014 Facebook, Inc.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.