react 0.14.0 → 0.14.4
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 +31 -0
- package/PATENTS +33 -0
- package/README.md +4 -4
- package/dist/react-with-addons.js +452 -404
- package/dist/react-with-addons.min.js +6 -6
- package/dist/react.js +396 -359
- package/dist/react.min.js +6 -6
- package/lib/ChangeEventPlugin.js +2 -0
- package/lib/HTMLDOMPropertyConfig.js +10 -4
- package/lib/React.js +1 -0
- package/lib/React.native.js +5 -0
- package/lib/ReactCSSTransitionGroup.js +1 -1
- package/lib/ReactCSSTransitionGroupChild.js +5 -0
- package/lib/ReactComponent.js +2 -3
- package/lib/ReactDOM.native.js +12 -0
- package/lib/ReactDOMComponent.js +10 -8
- package/lib/ReactDOMSelect.js +1 -1
- package/lib/ReactDefaultPerfAnalysis.js +3 -1
- package/lib/ReactElement.js +1 -10
- package/lib/ReactElementValidator.js +2 -3
- package/lib/ReactErrorUtils.js +7 -4
- package/lib/ReactMount.js +6 -1
- package/lib/ReactTestUtils.js +12 -6
- package/lib/ReactVersion.js +1 -1
- package/lib/ResponderEventPlugin.js +13 -8
- package/lib/canDefineProperty.js +24 -0
- package/package.json +3 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2013-2015, Facebook, Inc.
|
|
3
|
+
* All rights reserved.
|
|
4
|
+
*
|
|
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.
|
|
8
|
+
*
|
|
9
|
+
* @providesModule canDefineProperty
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
'use strict';
|
|
13
|
+
|
|
14
|
+
var canDefineProperty = false;
|
|
15
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
16
|
+
try {
|
|
17
|
+
Object.defineProperty({}, 'x', { get: function () {} });
|
|
18
|
+
canDefineProperty = true;
|
|
19
|
+
} catch (x) {
|
|
20
|
+
// IE will fail on defineProperty
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
module.exports = canDefineProperty;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react",
|
|
3
3
|
"description": "React is a JavaScript library for building user interfaces.",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.4",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react"
|
|
7
7
|
],
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"bugs": "https://github.com/facebook/react/issues",
|
|
10
10
|
"license": "BSD-3-Clause",
|
|
11
11
|
"files": [
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"PATENTS",
|
|
12
14
|
"addons.js",
|
|
13
15
|
"react.js",
|
|
14
16
|
"addons/",
|