Update website for 0.14.7
(cherry picked from commit e48343bd038bff190d2566a4f9c6f70babbfa02b)
Scott Feeney committed
Jan 28, 2016 at 11:46 UTC
c569b329e9334b59baf64e0c706af56521099383
4 files changed
+18
-12
docs/_config.yml
+4
-4
@@ -2,9 +2,9 @@
2
name: React
3
description: A JavaScript library for building user interfaces
4
url: https://facebook.github.io
5
-baseurl: "/react"
6
-permalink: "/blog/:year/:month/:day/:title.html"
7
-paginate_path: "/blog/page:num/"
5
+baseurl: /react
6
+permalink: /blog/:year/:month/:day/:title.html
7
+paginate_path: /blog/page:num/
8
relative_permalinks: true
9
paginate: 5
10
timezone: America/Los_Angeles
@@ -36,4 +36,4 @@ sass:
36
sass_dir: _css
37
gems:
38
- jekyll-redirect-from
39
-react_version: 0.14.6
39
+react_version: 0.14.7
docs/downloads/react-0.14.7.zip
Binary files /dev/null and b/docs/downloads/react-0.14.7.zip differ
docs/js/react-dom.js
+2
-2
@@ -1,5 +1,5 @@
1
/**
2
- * ReactDOM v0.14.6
2
+ * ReactDOM v0.14.7
3
*
4
* Copyright 2013-2015, Facebook, Inc.
5
* All rights reserved.
@@ -21,7 +21,7 @@
21
22
// <script>
23
} else {
24
- var g
24
+ var g;
25
if (typeof window !== "undefined") {
26
g = window;
27
} else if (typeof global !== "undefined") {
docs/js/react.js
+12
-6
@@ -1,5 +1,5 @@
1
/**
2
- * React v0.14.6
2
+ * React v0.14.7
3
*/
4
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.React = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
5
/**
@@ -7710,7 +7710,10 @@ var ReactDOMOption = {
7710
}
7711
});
7712
7713
- nativeProps.children = content;
7713
+ if (content) {
7714
+ nativeProps.children = content;
7715
+ }
7716
+
7717
return nativeProps;
7718
}
7719
@@ -13840,7 +13843,7 @@ module.exports = ReactUpdates;
13843
13844
'use strict';
13845
13843
-module.exports = '0.14.6';
13846
+module.exports = '0.14.7';
13847
},{}],85:[function(_dereq_,module,exports){
13848
/**
13849
* Copyright 2013-2015, Facebook, Inc.
@@ -14932,6 +14935,7 @@ var warning = _dereq_(155);
14935
*/
14936
var EventInterface = {
14937
type: null,
14938
+ target: null,
14939
// currentTarget is set when dispatching; no use in copying it here
14940
currentTarget: emptyFunction.thatReturnsNull,
14941
eventPhase: null,
@@ -14965,8 +14969,6 @@ function SyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEvent
14969
this.dispatchConfig = dispatchConfig;
14970
this.dispatchMarker = dispatchMarker;
14971
this.nativeEvent = nativeEvent;
14968
- this.target = nativeEventTarget;
14969
- this.currentTarget = nativeEventTarget;
14972
14973
var Interface = this.constructor.Interface;
14974
for (var propName in Interface) {
@@ -14977,7 +14979,11 @@ function SyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEvent
14979
if (normalize) {
14980
this[propName] = normalize(nativeEvent);
14981
} else {
14980
- this[propName] = nativeEvent[propName];
14982
+ if (propName === 'target') {
14983
+ this.target = nativeEventTarget;
14984
+ } else {
14985
+ this[propName] = nativeEvent[propName];
14986
+ }
14987
}
14988
}
14989