Update website for 0.14.6
(cherry picked from commit d5bf8c553f6a5e0674fc49a2279051cb267f1825)
Paul O’Shannessy committed
Jan 6, 2016 at 15:49 UTC
a7f7ef6ac33cd25ac55907eeaec2b7f9dbaed6d3
4 files changed
+15
-9
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.5
39
+react_version: 0.14.6
docs/downloads/react-0.14.6.zip
Binary files /dev/null and b/docs/downloads/react-0.14.6.zip differ
docs/js/react-dom.js
+1
-1
@@ -1,5 +1,5 @@
1
/**
2
- * ReactDOM v0.14.5
2
+ * ReactDOM v0.14.6
3
*
4
* Copyright 2013-2015, Facebook, Inc.
5
* All rights reserved.
docs/js/react.js
+10
-4
@@ -1,5 +1,5 @@
1
/**
2
- * React v0.14.5
2
+ * React v0.14.6
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
/**
@@ -13840,7 +13840,7 @@ module.exports = ReactUpdates;
13840
13841
'use strict';
13842
13843
-module.exports = '0.14.5';
13843
+module.exports = '0.14.6';
13844
},{}],85:[function(_dereq_,module,exports){
13845
/**
13846
* Copyright 2013-2015, Facebook, Inc.
@@ -18070,15 +18070,21 @@ module.exports = focusNode;
18070
* @typechecks
18071
*/
18072
18073
+/* eslint-disable fb-www/typeof-undefined */
18074
+
18075
/**
18076
* Same as document.activeElement but wraps in a try-catch block. In IE it is
18077
* not safe to call document.activeElement if there is nothing focused.
18078
*
18077
- * The activeElement will be null only if the document body is not yet defined.
18079
+ * The activeElement will be null only if the document or document body is not
18080
+ * yet defined.
18081
*/
18079
-"use strict";
18082
+'use strict';
18083
18084
function getActiveElement() /*?DOMElement*/{
18085
+ if (typeof document === 'undefined') {
18086
+ return null;
18087
+ }
18088
try {
18089
return document.activeElement || document.body;
18090
} catch (e) {