Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 6a2c685

Browse files
committed
v0.14.4
1 parent 2eef4b2 commit 6a2c685

File tree

8 files changed

+64
-60
lines changed

8 files changed

+64
-60
lines changed

react-dom-server.js

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

react-dom-server.min.js

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

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.3
2+
* ReactDOM v0.14.4
33
*
44
* Copyright 2013-2015, Facebook, Inc.
55
* All rights reserved.

react-dom.min.js

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

react-with-addons.js

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* React (with addons) v0.14.3
2+
* React (with addons) v0.14.4
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
/**
@@ -3363,8 +3363,8 @@ var HTMLDOMPropertyConfig = {
33633363
*/
33643364
// autoCapitalize and autoCorrect are supported in Mobile Safari for
33653365
// keyboard hints.
3366-
autoCapitalize: null,
3367-
autoCorrect: null,
3366+
autoCapitalize: MUST_USE_ATTRIBUTE,
3367+
autoCorrect: MUST_USE_ATTRIBUTE,
33683368
// autoSave allows WebKit/Blink to persist values of input fields on page reloads
33693369
autoSave: null,
33703370
// color is for Safari mask-icon link
@@ -3395,9 +3395,7 @@ var HTMLDOMPropertyConfig = {
33953395
httpEquiv: 'http-equiv'
33963396
},
33973397
DOMPropertyNames: {
3398-
autoCapitalize: 'autocapitalize',
33993398
autoComplete: 'autocomplete',
3400-
autoCorrect: 'autocorrect',
34013399
autoFocus: 'autofocus',
34023400
autoPlay: 'autoplay',
34033401
autoSave: 'autosave',
@@ -8145,7 +8143,7 @@ function updateOptionsIfPendingUpdateAndMounted() {
81458143
var value = LinkedValueUtils.getValue(props);
81468144

81478145
if (value != null) {
8148-
updateOptions(this, props, value);
8146+
updateOptions(this, Boolean(props.multiple), value);
81498147
}
81508148
}
81518149
}
@@ -9217,7 +9215,9 @@ var DOM_OPERATION_TYPES = {
92179215
'setValueForProperty': 'update attribute',
92189216
'setValueForAttribute': 'update attribute',
92199217
'deleteValueForProperty': 'remove attribute',
9220-
'dangerouslyReplaceNodeWithMarkupByID': 'replace'
9218+
'setValueForStyles': 'update styles',
9219+
'replaceNodeWithMarkup': 'replace',
9220+
'updateTextContent': 'set textContent'
92219221
};
92229222

92239223
function getTotalTime(measurements) {
@@ -15473,7 +15473,7 @@ module.exports = ReactUpdates;
1547315473

1547415474
'use strict';
1547515475

15476-
module.exports = '0.14.3';
15476+
module.exports = '0.14.4';
1547715477
},{}],98:[function(_dereq_,module,exports){
1547815478
/**
1547915479
* Copyright 2013-2015, Facebook, Inc.
@@ -19993,15 +19993,11 @@ module.exports = focusNode;
1999319993
* Same as document.activeElement but wraps in a try-catch block. In IE it is
1999419994
* not safe to call document.activeElement if there is nothing focused.
1999519995
*
19996-
* The activeElement will be null only if the document or document body is not yet defined.
19996+
* The activeElement will be null only if the document body is not yet defined.
1999719997
*/
19998-
'use strict';
19998+
"use strict";
1999919999

2000020000
function getActiveElement() /*?DOMElement*/{
20001-
if (typeof document === 'undefined') {
20002-
return null;
20003-
}
20004-
2000520001
try {
2000620002
return document.activeElement || document.body;
2000720003
} catch (e) {
@@ -20244,7 +20240,7 @@ module.exports = hyphenateStyleName;
2024420240
* will remain to ensure logic does not differ in production.
2024520241
*/
2024620242

20247-
var invariant = function (condition, format, a, b, c, d, e, f) {
20243+
function invariant(condition, format, a, b, c, d, e, f) {
2024820244
if ("development" !== 'production') {
2024920245
if (format === undefined) {
2025020246
throw new Error('invariant requires an error message argument');
@@ -20258,15 +20254,16 @@ var invariant = function (condition, format, a, b, c, d, e, f) {
2025820254
} else {
2025920255
var args = [a, b, c, d, e, f];
2026020256
var argIndex = 0;
20261-
error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {
20257+
error = new Error(format.replace(/%s/g, function () {
2026220258
return args[argIndex++];
2026320259
}));
20260+
error.name = 'Invariant Violation';
2026420261
}
2026520262

2026620263
error.framesToPop = 1; // we don't care about invariant's own frame
2026720264
throw error;
2026820265
}
20269-
};
20266+
}
2027020267

2027120268
module.exports = invariant;
2027220269
},{}],162:[function(_dereq_,module,exports){
@@ -20568,19 +20565,24 @@ module.exports = performance || {};
2056820565
'use strict';
2056920566

2057020567
var performance = _dereq_(169);
20571-
var curPerformance = performance;
20568+
20569+
var performanceNow;
2057220570

2057320571
/**
2057420572
* Detect if we can use `window.performance.now()` and gracefully fallback to
2057520573
* `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now
2057620574
* because of Facebook's testing infrastructure.
2057720575
*/
20578-
if (!curPerformance || !curPerformance.now) {
20579-
curPerformance = Date;
20576+
if (performance.now) {
20577+
performanceNow = function () {
20578+
return performance.now();
20579+
};
20580+
} else {
20581+
performanceNow = function () {
20582+
return Date.now();
20583+
};
2058020584
}
2058120585

20582-
var performanceNow = curPerformance.now.bind(curPerformance);
20583-
2058420586
module.exports = performanceNow;
2058520587
},{"169":169}],171:[function(_dereq_,module,exports){
2058620588
/**

react-with-addons.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

react.js

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* React v0.14.3
2+
* React v0.14.4
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
/**
@@ -3343,8 +3343,8 @@ var HTMLDOMPropertyConfig = {
33433343
*/
33443344
// autoCapitalize and autoCorrect are supported in Mobile Safari for
33453345
// keyboard hints.
3346-
autoCapitalize: null,
3347-
autoCorrect: null,
3346+
autoCapitalize: MUST_USE_ATTRIBUTE,
3347+
autoCorrect: MUST_USE_ATTRIBUTE,
33483348
// autoSave allows WebKit/Blink to persist values of input fields on page reloads
33493349
autoSave: null,
33503350
// color is for Safari mask-icon link
@@ -3375,9 +3375,7 @@ var HTMLDOMPropertyConfig = {
33753375
httpEquiv: 'http-equiv'
33763376
},
33773377
DOMPropertyNames: {
3378-
autoCapitalize: 'autocapitalize',
33793378
autoComplete: 'autocomplete',
3380-
autoCorrect: 'autocorrect',
33813379
autoFocus: 'autofocus',
33823380
autoPlay: 'autoplay',
33833381
autoSave: 'autosave',
@@ -7750,7 +7748,7 @@ function updateOptionsIfPendingUpdateAndMounted() {
77507748
var value = LinkedValueUtils.getValue(props);
77517749

77527750
if (value != null) {
7753-
updateOptions(this, props, value);
7751+
updateOptions(this, Boolean(props.multiple), value);
77547752
}
77557753
}
77567754
}
@@ -8822,7 +8820,9 @@ var DOM_OPERATION_TYPES = {
88228820
'setValueForProperty': 'update attribute',
88238821
'setValueForAttribute': 'update attribute',
88248822
'deleteValueForProperty': 'remove attribute',
8825-
'dangerouslyReplaceNodeWithMarkupByID': 'replace'
8823+
'setValueForStyles': 'update styles',
8824+
'replaceNodeWithMarkup': 'replace',
8825+
'updateTextContent': 'set textContent'
88268826
};
88278827

88288828
function getTotalTime(measurements) {
@@ -13840,7 +13840,7 @@ module.exports = ReactUpdates;
1384013840

1384113841
'use strict';
1384213842

13843-
module.exports = '0.14.3';
13843+
module.exports = '0.14.4';
1384413844
},{}],85:[function(_dereq_,module,exports){
1384513845
/**
1384613846
* Copyright 2013-2015, Facebook, Inc.
@@ -18074,15 +18074,11 @@ module.exports = focusNode;
1807418074
* Same as document.activeElement but wraps in a try-catch block. In IE it is
1807518075
* not safe to call document.activeElement if there is nothing focused.
1807618076
*
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.
1807818078
*/
18079-
'use strict';
18079+
"use strict";
1808018080

1808118081
function getActiveElement() /*?DOMElement*/{
18082-
if (typeof document === 'undefined') {
18083-
return null;
18084-
}
18085-
1808618082
try {
1808718083
return document.activeElement || document.body;
1808818084
} catch (e) {
@@ -18325,7 +18321,7 @@ module.exports = hyphenateStyleName;
1832518321
* will remain to ensure logic does not differ in production.
1832618322
*/
1832718323

18328-
var invariant = function (condition, format, a, b, c, d, e, f) {
18324+
function invariant(condition, format, a, b, c, d, e, f) {
1832918325
if ("development" !== 'production') {
1833018326
if (format === undefined) {
1833118327
throw new Error('invariant requires an error message argument');
@@ -18339,15 +18335,16 @@ var invariant = function (condition, format, a, b, c, d, e, f) {
1833918335
} else {
1834018336
var args = [a, b, c, d, e, f];
1834118337
var argIndex = 0;
18342-
error = new Error('Invariant Violation: ' + format.replace(/%s/g, function () {
18338+
error = new Error(format.replace(/%s/g, function () {
1834318339
return args[argIndex++];
1834418340
}));
18341+
error.name = 'Invariant Violation';
1834518342
}
1834618343

1834718344
error.framesToPop = 1; // we don't care about invariant's own frame
1834818345
throw error;
1834918346
}
18350-
};
18347+
}
1835118348

1835218349
module.exports = invariant;
1835318350
},{}],145:[function(_dereq_,module,exports){
@@ -18609,19 +18606,24 @@ module.exports = performance || {};
1860918606
'use strict';
1861018607

1861118608
var performance = _dereq_(151);
18612-
var curPerformance = performance;
18609+
18610+
var performanceNow;
1861318611

1861418612
/**
1861518613
* Detect if we can use `window.performance.now()` and gracefully fallback to
1861618614
* `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now
1861718615
* because of Facebook's testing infrastructure.
1861818616
*/
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+
};
1862118625
}
1862218626

18623-
var performanceNow = curPerformance.now.bind(curPerformance);
18624-
1862518627
module.exports = performanceNow;
1862618628
},{"151":151}],153:[function(_dereq_,module,exports){
1862718629
/**

react.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)