update website for 0.14.4
(cherry picked from commit c8398491d85c284858499e1ddaa2e7748c8bed1c)
Ben Alpert committed
Dec 29, 2015 at 14:01 UTC
8f720f8cd97ff87b10fdc9e777965a66fa4d128e
4 files changed
+29
-27
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.3
39
+react_version: 0.14.4
docs/downloads/react-0.14.4.zip
Binary files /dev/null and b/docs/downloads/react-0.14.4.zip differ
docs/js/react-dom.js
+1
-1
@@ -1,5 +1,5 @@
1
/**
2
- * ReactDOM v0.14.3
2
+ * ReactDOM v0.14.4
3
*
4
* Copyright 2013-2015, Facebook, Inc.
5
* All rights reserved.
docs/js/react.js
+24
-22
@@ -1,5 +1,5 @@
1
/**
2
- * React v0.14.3
2
+ * React v0.14.4
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
/**
@@ -3343,8 +3343,8 @@ var HTMLDOMPropertyConfig = {
3343
*/
3344
// autoCapitalize and autoCorrect are supported in Mobile Safari for
3345
// keyboard hints.
3346
- autoCapitalize: null,
3347
- autoCorrect: null,
3346
+ autoCapitalize: MUST_USE_ATTRIBUTE,
3347
+ autoCorrect: MUST_USE_ATTRIBUTE,
3348
// autoSave allows WebKit/Blink to persist values of input fields on page reloads
3349
autoSave: null,
3350
// color is for Safari mask-icon link
@@ -3375,9 +3375,7 @@ var HTMLDOMPropertyConfig = {
3375
httpEquiv: 'http-equiv'
3376
},
3377
DOMPropertyNames: {
3378
- autoCapitalize: 'autocapitalize',
3378
autoComplete: 'autocomplete',
3380
- autoCorrect: 'autocorrect',
3379
autoFocus: 'autofocus',
3380
autoPlay: 'autoplay',
3381
autoSave: 'autosave',
@@ -7750,7 +7748,7 @@ function updateOptionsIfPendingUpdateAndMounted() {
7748
var value = LinkedValueUtils.getValue(props);
7749
7750
if (value != null) {
7753
- updateOptions(this, props, value);
7751
+ updateOptions(this, Boolean(props.multiple), value);
7752
}
7753
}
7754
}
@@ -8822,7 +8820,9 @@ var DOM_OPERATION_TYPES = {
8820
'setValueForProperty': 'update attribute',
8821
'setValueForAttribute': 'update attribute',
8822
'deleteValueForProperty': 'remove attribute',
8825
- 'dangerouslyReplaceNodeWithMarkupByID': 'replace'
8823
+ 'setValueForStyles': 'update styles',
8824
+ 'replaceNodeWithMarkup': 'replace',
8825
+ 'updateTextContent': 'set textContent'
8826
};
8827
8828
function getTotalTime(measurements) {
@@ -13840,7 +13840,7 @@ module.exports = ReactUpdates;
13840
13841
'use strict';
13842
13843
-module.exports = '0.14.3';
13843
+module.exports = '0.14.4';
13844
},{}],85:[function(_dereq_,module,exports){
13845
/**
13846
* Copyright 2013-2015, Facebook, Inc.
@@ -18074,15 +18074,11 @@ module.exports = focusNode;
18074
* Same as document.activeElement but wraps in a try-catch block. In IE it is
18075
* not safe to call document.activeElement if there is nothing focused.
18076
*
18077
- * The activeElement will be null only if the document or document body is not yet defined.
18077
+ * The activeElement will be null only if the document body is not yet defined.
18078
*/
18079
-'use strict';
18079
+"use strict";
18080
18081
function getActiveElement() /*?DOMElement*/{
18082
- if (typeof document === 'undefined') {
18083
- return null;
18084
- }
18085
-
18082
try {
18083
return document.activeElement || document.body;
18084
} catch (e) {
@@ -18325,7 +18321,7 @@ module.exports = hyphenateStyleName;
18321
* will remain to ensure logic does not differ in production.
18322
*/
18323
18328
-var invariant = function (condition, format, a, b, c, d, e, f) {
18324
+function invariant(condition, format, a, b, c, d, e, f) {
18325
if ("development" !== 'production') {
18326
if (format === undefined) {
18327
throw new Error('invariant requires an error message argument');
@@ -18339,15 +18335,16 @@ var invariant = function (condition, format, a, b, c, d, e, f) {
18335
} else {
18336
var args = [a, b, c, d, e, f];
18337
var argIndex = 0;
18342
- error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {
18338
+ error = new Error(format.replace(/%s/g, function () {
18339
return args[argIndex++];
18340
}));
18341
+ error.name = 'Invariant Violation';
18342
}
18343
18344
error.framesToPop = 1; // we don't care about invariant's own frame
18345
throw error;
18346
}
18350
-};
18347
+}
18348
18349
module.exports = invariant;
18350
},{}],145:[function(_dereq_,module,exports){
@@ -18609,19 +18606,24 @@ module.exports = performance || {};
18606
'use strict';
18607
18608
var performance = _dereq_(151);
18612
-var curPerformance = performance;
18609
+
18610
+var performanceNow;
18611
18612
/**
18613
* Detect if we can use `window.performance.now()` and gracefully fallback to
18614
* `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now
18615
* because of Facebook's testing infrastructure.
18616
*/
18619
-if (!curPerformance || !curPerformance.now) {
18620
- curPerformance = Date;
18617
+if (performance.now) {
18618
+ performanceNow = function () {
18619
+ return performance.now();
18620
+ };
18621
+} else {
18622
+ performanceNow = function () {
18623
+ return Date.now();
18624
+ };
18625
}
18626
18623
-var performanceNow = curPerformance.now.bind(curPerformance);
18624
-
18627
module.exports = performanceNow;
18628
},{"151":151}],153:[function(_dereq_,module,exports){
18629
/**