mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
@@ -2,9 +2,9 @@
|
||||
name: React
|
||||
description: A JavaScript library for building user interfaces
|
||||
url: https://facebook.github.io
|
||||
baseurl: "/react"
|
||||
permalink: "/blog/:year/:month/:day/:title.html"
|
||||
paginate_path: "/blog/page:num/"
|
||||
baseurl: /react
|
||||
permalink: /blog/:year/:month/:day/:title.html
|
||||
paginate_path: /blog/page:num/
|
||||
relative_permalinks: true
|
||||
paginate: 5
|
||||
timezone: America/Los_Angeles
|
||||
@@ -36,4 +36,4 @@ sass:
|
||||
sass_dir: _css
|
||||
gems:
|
||||
- jekyll-redirect-from
|
||||
react_version: 0.14.3
|
||||
react_version: 0.14.4
|
||||
|
||||
BIN
docs/downloads/react-0.14.4.zip
Normal file
BIN
docs/downloads/react-0.14.4.zip
Normal file
Binary file not shown.
2
docs/js/react-dom.js
vendored
2
docs/js/react-dom.js
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* ReactDOM v0.14.3
|
||||
* ReactDOM v0.14.4
|
||||
*
|
||||
* Copyright 2013-2015, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
|
||||
46
docs/js/react.js
vendored
46
docs/js/react.js
vendored
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* React v0.14.3
|
||||
* React v0.14.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){
|
||||
/**
|
||||
@@ -3343,8 +3343,8 @@ var HTMLDOMPropertyConfig = {
|
||||
*/
|
||||
// autoCapitalize and autoCorrect are supported in Mobile Safari for
|
||||
// keyboard hints.
|
||||
autoCapitalize: null,
|
||||
autoCorrect: null,
|
||||
autoCapitalize: MUST_USE_ATTRIBUTE,
|
||||
autoCorrect: MUST_USE_ATTRIBUTE,
|
||||
// autoSave allows WebKit/Blink to persist values of input fields on page reloads
|
||||
autoSave: null,
|
||||
// color is for Safari mask-icon link
|
||||
@@ -3375,9 +3375,7 @@ var HTMLDOMPropertyConfig = {
|
||||
httpEquiv: 'http-equiv'
|
||||
},
|
||||
DOMPropertyNames: {
|
||||
autoCapitalize: 'autocapitalize',
|
||||
autoComplete: 'autocomplete',
|
||||
autoCorrect: 'autocorrect',
|
||||
autoFocus: 'autofocus',
|
||||
autoPlay: 'autoplay',
|
||||
autoSave: 'autosave',
|
||||
@@ -7750,7 +7748,7 @@ function updateOptionsIfPendingUpdateAndMounted() {
|
||||
var value = LinkedValueUtils.getValue(props);
|
||||
|
||||
if (value != null) {
|
||||
updateOptions(this, props, value);
|
||||
updateOptions(this, Boolean(props.multiple), value);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8822,7 +8820,9 @@ var DOM_OPERATION_TYPES = {
|
||||
'setValueForProperty': 'update attribute',
|
||||
'setValueForAttribute': 'update attribute',
|
||||
'deleteValueForProperty': 'remove attribute',
|
||||
'dangerouslyReplaceNodeWithMarkupByID': 'replace'
|
||||
'setValueForStyles': 'update styles',
|
||||
'replaceNodeWithMarkup': 'replace',
|
||||
'updateTextContent': 'set textContent'
|
||||
};
|
||||
|
||||
function getTotalTime(measurements) {
|
||||
@@ -13840,7 +13840,7 @@ module.exports = ReactUpdates;
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = '0.14.3';
|
||||
module.exports = '0.14.4';
|
||||
},{}],85:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* Copyright 2013-2015, Facebook, Inc.
|
||||
@@ -18074,15 +18074,11 @@ module.exports = focusNode;
|
||||
* Same as document.activeElement but wraps in a try-catch block. In IE it is
|
||||
* not safe to call document.activeElement if there is nothing focused.
|
||||
*
|
||||
* The activeElement will be null only if the document or document body is not yet defined.
|
||||
* The activeElement will be null only if the document body is not yet defined.
|
||||
*/
|
||||
'use strict';
|
||||
"use strict";
|
||||
|
||||
function getActiveElement() /*?DOMElement*/{
|
||||
if (typeof document === 'undefined') {
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
return document.activeElement || document.body;
|
||||
} catch (e) {
|
||||
@@ -18325,7 +18321,7 @@ module.exports = hyphenateStyleName;
|
||||
* will remain to ensure logic does not differ in production.
|
||||
*/
|
||||
|
||||
var invariant = function (condition, format, a, b, c, d, e, f) {
|
||||
function invariant(condition, format, a, b, c, d, e, f) {
|
||||
if ("development" !== 'production') {
|
||||
if (format === undefined) {
|
||||
throw new Error('invariant requires an error message argument');
|
||||
@@ -18339,15 +18335,16 @@ var invariant = function (condition, format, a, b, c, d, e, f) {
|
||||
} else {
|
||||
var args = [a, b, c, d, e, f];
|
||||
var argIndex = 0;
|
||||
error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {
|
||||
error = new Error(format.replace(/%s/g, function () {
|
||||
return args[argIndex++];
|
||||
}));
|
||||
error.name = 'Invariant Violation';
|
||||
}
|
||||
|
||||
error.framesToPop = 1; // we don't care about invariant's own frame
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = invariant;
|
||||
},{}],145:[function(_dereq_,module,exports){
|
||||
@@ -18609,19 +18606,24 @@ module.exports = performance || {};
|
||||
'use strict';
|
||||
|
||||
var performance = _dereq_(151);
|
||||
var curPerformance = performance;
|
||||
|
||||
var performanceNow;
|
||||
|
||||
/**
|
||||
* Detect if we can use `window.performance.now()` and gracefully fallback to
|
||||
* `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now
|
||||
* because of Facebook's testing infrastructure.
|
||||
*/
|
||||
if (!curPerformance || !curPerformance.now) {
|
||||
curPerformance = Date;
|
||||
if (performance.now) {
|
||||
performanceNow = function () {
|
||||
return performance.now();
|
||||
};
|
||||
} else {
|
||||
performanceNow = function () {
|
||||
return Date.now();
|
||||
};
|
||||
}
|
||||
|
||||
var performanceNow = curPerformance.now.bind(curPerformance);
|
||||
|
||||
module.exports = performanceNow;
|
||||
},{"151":151}],153:[function(_dereq_,module,exports){
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user