Skip to content

Commit fdf6f6b

Browse files
committed
Update website for 0.14.2
1 parent 5a2312c commit fdf6f6b

4 files changed

Lines changed: 17 additions & 9 deletions

File tree

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ sass:
3636
sass_dir: _css
3737
gems:
3838
- jekyll-redirect-from
39-
react_version: 0.14.1
39+
react_version: 0.14.2

docs/downloads/react-0.14.2.zip

492 KB
Binary file not shown.

docs/js/react-dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* ReactDOM v0.14.1
2+
* ReactDOM v0.14.2
33
*
44
* Copyright 2013-2015, Facebook, Inc.
55
* All rights reserved.

docs/js/react.js

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* React v0.14.1
2+
* React v0.14.2
33
*/
44
(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){
55
/**
@@ -3256,6 +3256,7 @@ var HTMLDOMPropertyConfig = {
32563256
icon: null,
32573257
id: MUST_USE_PROPERTY,
32583258
inputMode: MUST_USE_ATTRIBUTE,
3259+
integrity: null,
32593260
is: MUST_USE_ATTRIBUTE,
32603261
keyParams: MUST_USE_ATTRIBUTE,
32613262
keyType: MUST_USE_ATTRIBUTE,
@@ -6272,6 +6273,7 @@ var registrationNameModules = ReactBrowserEventEmitter.registrationNameModules;
62726273
// For quickly matching children type, to test if can be treated as content.
62736274
var CONTENT_TYPES = { 'string': true, 'number': true };
62746275

6276+
var CHILDREN = keyOf({ children: null });
62756277
var STYLE = keyOf({ style: null });
62766278
var HTML = keyOf({ __html: null });
62776279

@@ -6762,7 +6764,9 @@ ReactDOMComponent.Mixin = {
67626764
}
67636765
var markup = null;
67646766
if (this._tag != null && isCustomComponent(this._tag, props)) {
6765-
markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue);
6767+
if (propKey !== CHILDREN) {
6768+
markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue);
6769+
}
67666770
} else {
67676771
markup = DOMPropertyOperations.createMarkupForProperty(propKey, propValue);
67686772
}
@@ -7022,6 +7026,9 @@ ReactDOMComponent.Mixin = {
70227026
if (!node) {
70237027
node = ReactMount.getNode(this._rootNodeID);
70247028
}
7029+
if (propKey === CHILDREN) {
7030+
nextProp = null;
7031+
}
70257032
DOMPropertyOperations.setValueForAttribute(node, propKey, nextProp);
70267033
} else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {
70277034
if (!node) {
@@ -9682,11 +9689,12 @@ if ("development" !== 'production') {
96829689
var fakeNode = document.createElement('react');
96839690
ReactErrorUtils.invokeGuardedCallback = function (name, func, a, b) {
96849691
var boundFunc = func.bind(null, a, b);
9685-
fakeNode.addEventListener(name, boundFunc, false);
9692+
var evtType = 'react-' + name;
9693+
fakeNode.addEventListener(evtType, boundFunc, false);
96869694
var evt = document.createEvent('Event');
9687-
evt.initEvent(name, false, false);
9695+
evt.initEvent(evtType, false, false);
96889696
fakeNode.dispatchEvent(evt);
9689-
fakeNode.removeEventListener(name, boundFunc, false);
9697+
fakeNode.removeEventListener(evtType, boundFunc, false);
96909698
};
96919699
}
96929700
}
@@ -13829,7 +13837,7 @@ module.exports = ReactUpdates;
1382913837

1383013838
'use strict';
1383113839

13832-
module.exports = '0.14.1';
13840+
module.exports = '0.14.2';
1383313841
},{}],85:[function(_dereq_,module,exports){
1383413842
/**
1383513843
* Copyright 2013-2015, Facebook, Inc.
@@ -15853,7 +15861,7 @@ module.exports = adler32;
1585315861
var canDefineProperty = false;
1585415862
if ("development" !== 'production') {
1585515863
try {
15856-
Object.defineProperty({}, 'x', {});
15864+
Object.defineProperty({}, 'x', { get: function () {} });
1585715865
canDefineProperty = true;
1585815866
} catch (x) {
1585915867
// IE will fail on defineProperty

0 commit comments

Comments
 (0)