react 0.13.0-beta.2 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/JSXTransformer.js +1389 -1139
- package/dist/react-with-addons.js +450 -214
- package/dist/react-with-addons.min.js +6 -5
- package/dist/react.js +398 -189
- package/dist/react.min.js +5 -5
- package/lib/CSSProperty.js +2 -0
- package/lib/React.js +4 -1
- package/lib/ReactClass.js +25 -1
- package/lib/ReactComponent.js +2 -1
- package/lib/ReactCompositeComponent.js +20 -4
- package/lib/ReactDOMComponent.js +1 -0
- package/lib/ReactDOMSelect.js +3 -1
- package/lib/ReactDefaultPerf.js +8 -11
- package/lib/ReactElement.js +55 -1
- package/lib/ReactElementValidator.js +102 -36
- package/lib/ReactFragment.js +14 -5
- package/lib/ReactMount.js +4 -4
- package/lib/ReactPropTypes.js +4 -1
- package/lib/ReactReconciler.js +0 -1
- package/lib/ReactRef.js +1 -1
- package/lib/ReactTestUtils.js +19 -7
- package/lib/Transaction.js +1 -1
- package/lib/cloneWithProps.js +3 -3
- package/lib/createFullPageComponent.js +1 -0
- package/lib/cx.js +15 -0
- package/lib/findDOMNode.js +18 -0
- package/lib/instantiateReactComponent.js +1 -0
- package/lib/traverseAllChildren.js +12 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React (with addons) v0.13.
|
|
2
|
+
* React (with addons) v0.13.1
|
|
3
3
|
*/
|
|
4
|
-
|
|
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
5
|
/**
|
|
6
6
|
* Copyright 2013-2015, Facebook, Inc.
|
|
7
7
|
* All rights reserved.
|
|
@@ -55,7 +55,7 @@ if ("production" !== "development") {
|
|
|
55
55
|
|
|
56
56
|
module.exports = React;
|
|
57
57
|
|
|
58
|
-
},{}],2:[function(_dereq_,module,exports){
|
|
58
|
+
},{"100":100,"122":122,"127":127,"170":170,"25":25,"31":31,"34":34,"42":42,"61":61,"69":69,"95":95,"98":98}],2:[function(_dereq_,module,exports){
|
|
59
59
|
/**
|
|
60
60
|
* Copyright 2013-2015, Facebook, Inc.
|
|
61
61
|
* All rights reserved.
|
|
@@ -82,7 +82,7 @@ var AutoFocusMixin = {
|
|
|
82
82
|
|
|
83
83
|
module.exports = AutoFocusMixin;
|
|
84
84
|
|
|
85
|
-
},{}],3:[function(_dereq_,module,exports){
|
|
85
|
+
},{"134":134}],3:[function(_dereq_,module,exports){
|
|
86
86
|
/**
|
|
87
87
|
* Copyright 2013-2015 Facebook, Inc.
|
|
88
88
|
* All rights reserved.
|
|
@@ -577,7 +577,7 @@ var BeforeInputEventPlugin = {
|
|
|
577
577
|
|
|
578
578
|
module.exports = BeforeInputEventPlugin;
|
|
579
579
|
|
|
580
|
-
},{}],4:[function(_dereq_,module,exports){
|
|
580
|
+
},{"106":106,"110":110,"157":157,"16":16,"21":21,"22":22,"23":23}],4:[function(_dereq_,module,exports){
|
|
581
581
|
/**
|
|
582
582
|
* Copyright 2013-2015, Facebook, Inc.
|
|
583
583
|
* All rights reserved.
|
|
@@ -687,7 +687,7 @@ var CSSCore = {
|
|
|
687
687
|
|
|
688
688
|
module.exports = CSSCore;
|
|
689
689
|
|
|
690
|
-
},{}],5:[function(_dereq_,module,exports){
|
|
690
|
+
},{"150":150}],5:[function(_dereq_,module,exports){
|
|
691
691
|
/**
|
|
692
692
|
* Copyright 2013-2015, Facebook, Inc.
|
|
693
693
|
* All rights reserved.
|
|
@@ -705,6 +705,8 @@ module.exports = CSSCore;
|
|
|
705
705
|
* CSS properties which accept numbers but are not in units of "px".
|
|
706
706
|
*/
|
|
707
707
|
var isUnitlessNumber = {
|
|
708
|
+
boxFlex: true,
|
|
709
|
+
boxFlexGroup: true,
|
|
708
710
|
columnCount: true,
|
|
709
711
|
flex: true,
|
|
710
712
|
flexGrow: true,
|
|
@@ -986,7 +988,7 @@ var CSSPropertyOperations = {
|
|
|
986
988
|
|
|
987
989
|
module.exports = CSSPropertyOperations;
|
|
988
990
|
|
|
989
|
-
},{}],7:[function(_dereq_,module,exports){
|
|
991
|
+
},{"121":121,"128":128,"148":148,"159":159,"171":171,"22":22,"5":5}],7:[function(_dereq_,module,exports){
|
|
990
992
|
/**
|
|
991
993
|
* Copyright 2013-2015, Facebook, Inc.
|
|
992
994
|
* All rights reserved.
|
|
@@ -1084,7 +1086,7 @@ PooledClass.addPoolingTo(CallbackQueue);
|
|
|
1084
1086
|
|
|
1085
1087
|
module.exports = CallbackQueue;
|
|
1086
1088
|
|
|
1087
|
-
},{}],8:[function(_dereq_,module,exports){
|
|
1089
|
+
},{"150":150,"29":29,"30":30}],8:[function(_dereq_,module,exports){
|
|
1088
1090
|
/**
|
|
1089
1091
|
* Copyright 2013-2015, Facebook, Inc.
|
|
1090
1092
|
* All rights reserved.
|
|
@@ -1466,7 +1468,7 @@ var ChangeEventPlugin = {
|
|
|
1466
1468
|
|
|
1467
1469
|
module.exports = ChangeEventPlugin;
|
|
1468
1470
|
|
|
1469
|
-
},{}],9:[function(_dereq_,module,exports){
|
|
1471
|
+
},{"100":100,"108":108,"151":151,"153":153,"157":157,"16":16,"18":18,"21":21,"22":22}],9:[function(_dereq_,module,exports){
|
|
1470
1472
|
/**
|
|
1471
1473
|
* Copyright 2013-2015, Facebook, Inc.
|
|
1472
1474
|
* All rights reserved.
|
|
@@ -1627,7 +1629,7 @@ var DOMChildrenOperations = {
|
|
|
1627
1629
|
|
|
1628
1630
|
module.exports = DOMChildrenOperations;
|
|
1629
1631
|
|
|
1630
|
-
},{}],11:[function(_dereq_,module,exports){
|
|
1632
|
+
},{"13":13,"150":150,"165":165,"79":79}],11:[function(_dereq_,module,exports){
|
|
1631
1633
|
/**
|
|
1632
1634
|
* Copyright 2013-2015, Facebook, Inc.
|
|
1633
1635
|
* All rights reserved.
|
|
@@ -1924,7 +1926,7 @@ var DOMProperty = {
|
|
|
1924
1926
|
|
|
1925
1927
|
module.exports = DOMProperty;
|
|
1926
1928
|
|
|
1927
|
-
},{}],12:[function(_dereq_,module,exports){
|
|
1929
|
+
},{"150":150}],12:[function(_dereq_,module,exports){
|
|
1928
1930
|
/**
|
|
1929
1931
|
* Copyright 2013-2015, Facebook, Inc.
|
|
1930
1932
|
* All rights reserved.
|
|
@@ -2114,7 +2116,7 @@ var DOMPropertyOperations = {
|
|
|
2114
2116
|
|
|
2115
2117
|
module.exports = DOMPropertyOperations;
|
|
2116
2118
|
|
|
2117
|
-
},{}],13:[function(_dereq_,module,exports){
|
|
2119
|
+
},{"11":11,"163":163,"171":171}],13:[function(_dereq_,module,exports){
|
|
2118
2120
|
/**
|
|
2119
2121
|
* Copyright 2013-2015, Facebook, Inc.
|
|
2120
2122
|
* All rights reserved.
|
|
@@ -2299,7 +2301,7 @@ var Danger = {
|
|
|
2299
2301
|
|
|
2300
2302
|
module.exports = Danger;
|
|
2301
2303
|
|
|
2302
|
-
},{}],14:[function(_dereq_,module,exports){
|
|
2304
|
+
},{"126":126,"129":129,"142":142,"150":150,"22":22}],14:[function(_dereq_,module,exports){
|
|
2303
2305
|
/**
|
|
2304
2306
|
* Copyright 2013-2015, Facebook, Inc.
|
|
2305
2307
|
* All rights reserved.
|
|
@@ -2338,7 +2340,7 @@ var DefaultEventPluginOrder = [
|
|
|
2338
2340
|
|
|
2339
2341
|
module.exports = DefaultEventPluginOrder;
|
|
2340
2342
|
|
|
2341
|
-
},{}],15:[function(_dereq_,module,exports){
|
|
2343
|
+
},{"157":157}],15:[function(_dereq_,module,exports){
|
|
2342
2344
|
/**
|
|
2343
2345
|
* Copyright 2013-2015, Facebook, Inc.
|
|
2344
2346
|
* All rights reserved.
|
|
@@ -2478,7 +2480,7 @@ var EnterLeaveEventPlugin = {
|
|
|
2478
2480
|
|
|
2479
2481
|
module.exports = EnterLeaveEventPlugin;
|
|
2480
2482
|
|
|
2481
|
-
},{}],16:[function(_dereq_,module,exports){
|
|
2483
|
+
},{"112":112,"157":157,"16":16,"21":21,"77":77}],16:[function(_dereq_,module,exports){
|
|
2482
2484
|
/**
|
|
2483
2485
|
* Copyright 2013-2015, Facebook, Inc.
|
|
2484
2486
|
* All rights reserved.
|
|
@@ -2550,7 +2552,7 @@ var EventConstants = {
|
|
|
2550
2552
|
|
|
2551
2553
|
module.exports = EventConstants;
|
|
2552
2554
|
|
|
2553
|
-
},{}],17:[function(_dereq_,module,exports){
|
|
2555
|
+
},{"156":156}],17:[function(_dereq_,module,exports){
|
|
2554
2556
|
/**
|
|
2555
2557
|
* Copyright 2013-2015, Facebook, Inc.
|
|
2556
2558
|
*
|
|
@@ -2638,7 +2640,7 @@ var EventListener = {
|
|
|
2638
2640
|
|
|
2639
2641
|
module.exports = EventListener;
|
|
2640
2642
|
|
|
2641
|
-
},{}],18:[function(_dereq_,module,exports){
|
|
2643
|
+
},{"129":129}],18:[function(_dereq_,module,exports){
|
|
2642
2644
|
/**
|
|
2643
2645
|
* Copyright 2013-2015, Facebook, Inc.
|
|
2644
2646
|
* All rights reserved.
|
|
@@ -2914,7 +2916,7 @@ var EventPluginHub = {
|
|
|
2914
2916
|
|
|
2915
2917
|
module.exports = EventPluginHub;
|
|
2916
2918
|
|
|
2917
|
-
},{}],19:[function(_dereq_,module,exports){
|
|
2919
|
+
},{"118":118,"135":135,"150":150,"19":19,"20":20}],19:[function(_dereq_,module,exports){
|
|
2918
2920
|
/**
|
|
2919
2921
|
* Copyright 2013-2015, Facebook, Inc.
|
|
2920
2922
|
* All rights reserved.
|
|
@@ -3192,7 +3194,7 @@ var EventPluginRegistry = {
|
|
|
3192
3194
|
|
|
3193
3195
|
module.exports = EventPluginRegistry;
|
|
3194
3196
|
|
|
3195
|
-
},{}],20:[function(_dereq_,module,exports){
|
|
3197
|
+
},{"150":150}],20:[function(_dereq_,module,exports){
|
|
3196
3198
|
/**
|
|
3197
3199
|
* Copyright 2013-2015, Facebook, Inc.
|
|
3198
3200
|
* All rights reserved.
|
|
@@ -3411,7 +3413,7 @@ var EventPluginUtils = {
|
|
|
3411
3413
|
|
|
3412
3414
|
module.exports = EventPluginUtils;
|
|
3413
3415
|
|
|
3414
|
-
},{}],21:[function(_dereq_,module,exports){
|
|
3416
|
+
},{"150":150,"16":16}],21:[function(_dereq_,module,exports){
|
|
3415
3417
|
/**
|
|
3416
3418
|
* Copyright 2013-2015, Facebook, Inc.
|
|
3417
3419
|
* All rights reserved.
|
|
@@ -3551,7 +3553,7 @@ var EventPropagators = {
|
|
|
3551
3553
|
|
|
3552
3554
|
module.exports = EventPropagators;
|
|
3553
3555
|
|
|
3554
|
-
},{}],22:[function(_dereq_,module,exports){
|
|
3556
|
+
},{"118":118,"135":135,"16":16,"18":18}],22:[function(_dereq_,module,exports){
|
|
3555
3557
|
/**
|
|
3556
3558
|
* Copyright 2013-2015, Facebook, Inc.
|
|
3557
3559
|
* All rights reserved.
|
|
@@ -3686,7 +3688,7 @@ PooledClass.addPoolingTo(FallbackCompositionState);
|
|
|
3686
3688
|
|
|
3687
3689
|
module.exports = FallbackCompositionState;
|
|
3688
3690
|
|
|
3689
|
-
},{}],24:[function(_dereq_,module,exports){
|
|
3691
|
+
},{"145":145,"29":29,"30":30}],24:[function(_dereq_,module,exports){
|
|
3690
3692
|
/**
|
|
3691
3693
|
* Copyright 2013-2015, Facebook, Inc.
|
|
3692
3694
|
* All rights reserved.
|
|
@@ -3891,7 +3893,7 @@ var HTMLDOMPropertyConfig = {
|
|
|
3891
3893
|
|
|
3892
3894
|
module.exports = HTMLDOMPropertyConfig;
|
|
3893
3895
|
|
|
3894
|
-
},{}],25:[function(_dereq_,module,exports){
|
|
3896
|
+
},{"11":11,"22":22}],25:[function(_dereq_,module,exports){
|
|
3895
3897
|
/**
|
|
3896
3898
|
* Copyright 2013-2015, Facebook, Inc.
|
|
3897
3899
|
* All rights reserved.
|
|
@@ -3932,7 +3934,7 @@ var LinkedStateMixin = {
|
|
|
3932
3934
|
|
|
3933
3935
|
module.exports = LinkedStateMixin;
|
|
3934
3936
|
|
|
3935
|
-
},{}],26:[function(_dereq_,module,exports){
|
|
3937
|
+
},{"75":75,"94":94}],26:[function(_dereq_,module,exports){
|
|
3936
3938
|
/**
|
|
3937
3939
|
* Copyright 2013-2015, Facebook, Inc.
|
|
3938
3940
|
* All rights reserved.
|
|
@@ -4086,7 +4088,7 @@ var LinkedValueUtils = {
|
|
|
4086
4088
|
|
|
4087
4089
|
module.exports = LinkedValueUtils;
|
|
4088
4090
|
|
|
4089
|
-
},{}],27:[function(_dereq_,module,exports){
|
|
4091
|
+
},{"150":150,"86":86}],27:[function(_dereq_,module,exports){
|
|
4090
4092
|
/**
|
|
4091
4093
|
* Copyright 2014-2015, Facebook, Inc.
|
|
4092
4094
|
* All rights reserved.
|
|
@@ -4141,7 +4143,7 @@ var LocalEventTrapMixin = {
|
|
|
4141
4143
|
|
|
4142
4144
|
module.exports = LocalEventTrapMixin;
|
|
4143
4145
|
|
|
4144
|
-
},{}],28:[function(_dereq_,module,exports){
|
|
4146
|
+
},{"118":118,"135":135,"150":150,"33":33}],28:[function(_dereq_,module,exports){
|
|
4145
4147
|
/**
|
|
4146
4148
|
* Copyright 2013-2015, Facebook, Inc.
|
|
4147
4149
|
* All rights reserved.
|
|
@@ -4199,7 +4201,7 @@ var MobileSafariClickEventPlugin = {
|
|
|
4199
4201
|
|
|
4200
4202
|
module.exports = MobileSafariClickEventPlugin;
|
|
4201
4203
|
|
|
4202
|
-
},{}],29:[function(_dereq_,module,exports){
|
|
4204
|
+
},{"129":129,"16":16}],29:[function(_dereq_,module,exports){
|
|
4203
4205
|
/**
|
|
4204
4206
|
* Copyright 2014-2015, Facebook, Inc.
|
|
4205
4207
|
* All rights reserved.
|
|
@@ -4362,7 +4364,7 @@ var PooledClass = {
|
|
|
4362
4364
|
|
|
4363
4365
|
module.exports = PooledClass;
|
|
4364
4366
|
|
|
4365
|
-
},{}],31:[function(_dereq_,module,exports){
|
|
4367
|
+
},{"150":150}],31:[function(_dereq_,module,exports){
|
|
4366
4368
|
/**
|
|
4367
4369
|
* Copyright 2013-2015, Facebook, Inc.
|
|
4368
4370
|
* All rights reserved.
|
|
@@ -4404,10 +4406,12 @@ ReactDefaultInjection.inject();
|
|
|
4404
4406
|
|
|
4405
4407
|
var createElement = ReactElement.createElement;
|
|
4406
4408
|
var createFactory = ReactElement.createFactory;
|
|
4409
|
+
var cloneElement = ReactElement.cloneElement;
|
|
4407
4410
|
|
|
4408
4411
|
if ("production" !== "development") {
|
|
4409
4412
|
createElement = ReactElementValidator.createElement;
|
|
4410
4413
|
createFactory = ReactElementValidator.createFactory;
|
|
4414
|
+
cloneElement = ReactElementValidator.cloneElement;
|
|
4411
4415
|
}
|
|
4412
4416
|
|
|
4413
4417
|
var render = ReactPerf.measure('React', 'render', ReactMount.render);
|
|
@@ -4427,6 +4431,7 @@ var React = {
|
|
|
4427
4431
|
},
|
|
4428
4432
|
createClass: ReactClass.createClass,
|
|
4429
4433
|
createElement: createElement,
|
|
4434
|
+
cloneElement: cloneElement,
|
|
4430
4435
|
createFactory: createFactory,
|
|
4431
4436
|
createMixin: function(mixin) {
|
|
4432
4437
|
// Currently a noop. Will be used to validate and trace mixins.
|
|
@@ -4505,11 +4510,11 @@ if ("production" !== "development") {
|
|
|
4505
4510
|
}
|
|
4506
4511
|
}
|
|
4507
4512
|
|
|
4508
|
-
React.version = '0.13.
|
|
4513
|
+
React.version = '0.13.1';
|
|
4509
4514
|
|
|
4510
4515
|
module.exports = React;
|
|
4511
4516
|
|
|
4512
|
-
},{}],32:[function(_dereq_,module,exports){
|
|
4517
|
+
},{"132":132,"160":160,"20":20,"22":22,"29":29,"37":37,"38":38,"39":39,"44":44,"45":45,"46":46,"57":57,"60":60,"63":63,"64":64,"72":72,"77":77,"82":82,"86":86,"89":89,"92":92}],32:[function(_dereq_,module,exports){
|
|
4513
4518
|
/**
|
|
4514
4519
|
* Copyright 2013-2015, Facebook, Inc.
|
|
4515
4520
|
* All rights reserved.
|
|
@@ -4540,7 +4545,7 @@ var ReactBrowserComponentMixin = {
|
|
|
4540
4545
|
|
|
4541
4546
|
module.exports = ReactBrowserComponentMixin;
|
|
4542
4547
|
|
|
4543
|
-
},{}],33:[function(_dereq_,module,exports){
|
|
4548
|
+
},{"132":132}],33:[function(_dereq_,module,exports){
|
|
4544
4549
|
/**
|
|
4545
4550
|
* Copyright 2013-2015, Facebook, Inc.
|
|
4546
4551
|
* All rights reserved.
|
|
@@ -4893,7 +4898,7 @@ var ReactBrowserEventEmitter = assign({}, ReactEventEmitterMixin, {
|
|
|
4893
4898
|
|
|
4894
4899
|
module.exports = ReactBrowserEventEmitter;
|
|
4895
4900
|
|
|
4896
|
-
},{}],34:[function(_dereq_,module,exports){
|
|
4901
|
+
},{"117":117,"151":151,"16":16,"18":18,"19":19,"29":29,"67":67}],34:[function(_dereq_,module,exports){
|
|
4897
4902
|
/**
|
|
4898
4903
|
* Copyright 2013-2015, Facebook, Inc.
|
|
4899
4904
|
* All rights reserved.
|
|
@@ -4963,7 +4968,7 @@ var ReactCSSTransitionGroup = React.createClass({
|
|
|
4963
4968
|
|
|
4964
4969
|
module.exports = ReactCSSTransitionGroup;
|
|
4965
4970
|
|
|
4966
|
-
},{}],35:[function(_dereq_,module,exports){
|
|
4971
|
+
},{"29":29,"31":31,"35":35,"98":98}],35:[function(_dereq_,module,exports){
|
|
4967
4972
|
/**
|
|
4968
4973
|
* Copyright 2013-2015, Facebook, Inc.
|
|
4969
4974
|
* All rights reserved.
|
|
@@ -5109,7 +5114,7 @@ var ReactCSSTransitionGroupChild = React.createClass({
|
|
|
5109
5114
|
|
|
5110
5115
|
module.exports = ReactCSSTransitionGroupChild;
|
|
5111
5116
|
|
|
5112
|
-
},{}],36:[function(_dereq_,module,exports){
|
|
5117
|
+
},{"160":160,"171":171,"31":31,"4":4,"97":97}],36:[function(_dereq_,module,exports){
|
|
5113
5118
|
/**
|
|
5114
5119
|
* Copyright 2014-2015, Facebook, Inc.
|
|
5115
5120
|
* All rights reserved.
|
|
@@ -5236,7 +5241,7 @@ var ReactChildReconciler = {
|
|
|
5236
5241
|
|
|
5237
5242
|
module.exports = ReactChildReconciler;
|
|
5238
5243
|
|
|
5239
|
-
},{}],37:[function(_dereq_,module,exports){
|
|
5244
|
+
},{"133":133,"149":149,"167":167,"89":89}],37:[function(_dereq_,module,exports){
|
|
5240
5245
|
/**
|
|
5241
5246
|
* Copyright 2013-2015, Facebook, Inc.
|
|
5242
5247
|
* All rights reserved.
|
|
@@ -5387,7 +5392,7 @@ var ReactChildren = {
|
|
|
5387
5392
|
|
|
5388
5393
|
module.exports = ReactChildren;
|
|
5389
5394
|
|
|
5390
|
-
},{}],38:[function(_dereq_,module,exports){
|
|
5395
|
+
},{"169":169,"171":171,"30":30,"69":69}],38:[function(_dereq_,module,exports){
|
|
5391
5396
|
/**
|
|
5392
5397
|
* Copyright 2013-2015, Facebook, Inc.
|
|
5393
5398
|
* All rights reserved.
|
|
@@ -5402,6 +5407,7 @@ module.exports = ReactChildren;
|
|
|
5402
5407
|
'use strict';
|
|
5403
5408
|
|
|
5404
5409
|
var ReactComponent = _dereq_(39);
|
|
5410
|
+
var ReactCurrentOwner = _dereq_(45);
|
|
5405
5411
|
var ReactElement = _dereq_(63);
|
|
5406
5412
|
var ReactErrorUtils = _dereq_(66);
|
|
5407
5413
|
var ReactInstanceMap = _dereq_(73);
|
|
@@ -6061,7 +6067,7 @@ function bindAutoBindMethod(component, method) {
|
|
|
6061
6067
|
false,
|
|
6062
6068
|
'bind(): You are binding a component method to the component. ' +
|
|
6063
6069
|
'React does this for you automatically in a high-performance ' +
|
|
6064
|
-
'way, so you can safely remove this call. See ',
|
|
6070
|
+
'way, so you can safely remove this call. See %s',
|
|
6065
6071
|
componentName
|
|
6066
6072
|
) : null);
|
|
6067
6073
|
return boundMethod;
|
|
@@ -6138,6 +6144,21 @@ var ReactClassMixin = {
|
|
|
6138
6144
|
* @final
|
|
6139
6145
|
*/
|
|
6140
6146
|
isMounted: function() {
|
|
6147
|
+
if ("production" !== "development") {
|
|
6148
|
+
var owner = ReactCurrentOwner.current;
|
|
6149
|
+
if (owner !== null) {
|
|
6150
|
+
("production" !== "development" ? warning(
|
|
6151
|
+
owner._warnedAboutRefsInRender,
|
|
6152
|
+
'%s is accessing isMounted inside its render() function. ' +
|
|
6153
|
+
'render() should be a pure function of props and state. It should ' +
|
|
6154
|
+
'never access something that requires stale data from the previous ' +
|
|
6155
|
+
'render, such as refs. Move this logic to componentDidMount and ' +
|
|
6156
|
+
'componentDidUpdate instead.',
|
|
6157
|
+
owner.getName() || 'A component'
|
|
6158
|
+
) : null);
|
|
6159
|
+
owner._warnedAboutRefsInRender = true;
|
|
6160
|
+
}
|
|
6161
|
+
}
|
|
6141
6162
|
var internalInstance = ReactInstanceMap.get(this);
|
|
6142
6163
|
return (
|
|
6143
6164
|
internalInstance &&
|
|
@@ -6204,6 +6225,14 @@ var ReactClass = {
|
|
|
6204
6225
|
// This constructor is overridden by mocks. The argument is used
|
|
6205
6226
|
// by mocks to assert on what gets mounted.
|
|
6206
6227
|
|
|
6228
|
+
if ("production" !== "development") {
|
|
6229
|
+
("production" !== "development" ? warning(
|
|
6230
|
+
this instanceof Constructor,
|
|
6231
|
+
'Something is calling a React component directly. Use a factory or ' +
|
|
6232
|
+
'JSX instead. See: http://fb.me/react-legacyfactory'
|
|
6233
|
+
) : null);
|
|
6234
|
+
}
|
|
6235
|
+
|
|
6207
6236
|
// Wire up auto-binding
|
|
6208
6237
|
if (this.__reactAutoBindMap) {
|
|
6209
6238
|
bindAutoBindMethods(this);
|
|
@@ -6307,7 +6336,7 @@ var ReactClass = {
|
|
|
6307
6336
|
|
|
6308
6337
|
module.exports = ReactClass;
|
|
6309
6338
|
|
|
6310
|
-
},{}],39:[function(_dereq_,module,exports){
|
|
6339
|
+
},{"150":150,"156":156,"157":157,"171":171,"29":29,"39":39,"45":45,"63":63,"66":66,"73":73,"74":74,"84":84,"85":85,"99":99}],39:[function(_dereq_,module,exports){
|
|
6311
6340
|
/**
|
|
6312
6341
|
* Copyright 2013-2015, Facebook, Inc.
|
|
6313
6342
|
* All rights reserved.
|
|
@@ -6389,7 +6418,7 @@ ReactComponent.prototype.setState = function(partialState, callback) {
|
|
|
6389
6418
|
* You may want to call this when you know that some deeper aspect of the
|
|
6390
6419
|
* component's state has changed but `setState` was not called.
|
|
6391
6420
|
*
|
|
6392
|
-
* This will not invoke `
|
|
6421
|
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
6393
6422
|
* `componentWillUpdate` and `componentDidUpdate`.
|
|
6394
6423
|
*
|
|
6395
6424
|
* @param {?function} callback Called after update is complete.
|
|
@@ -6412,6 +6441,7 @@ if ("production" !== "development") {
|
|
|
6412
6441
|
var deprecatedAPIs = {
|
|
6413
6442
|
getDOMNode: 'getDOMNode',
|
|
6414
6443
|
isMounted: 'isMounted',
|
|
6444
|
+
replaceProps: 'replaceProps',
|
|
6415
6445
|
replaceState: 'replaceState',
|
|
6416
6446
|
setProps: 'setProps'
|
|
6417
6447
|
};
|
|
@@ -6440,7 +6470,7 @@ if ("production" !== "development") {
|
|
|
6440
6470
|
|
|
6441
6471
|
module.exports = ReactComponent;
|
|
6442
6472
|
|
|
6443
|
-
},{}],40:[function(_dereq_,module,exports){
|
|
6473
|
+
},{"150":150,"171":171,"99":99}],40:[function(_dereq_,module,exports){
|
|
6444
6474
|
/**
|
|
6445
6475
|
* Copyright 2013-2015, Facebook, Inc.
|
|
6446
6476
|
* All rights reserved.
|
|
@@ -6487,7 +6517,7 @@ var ReactComponentBrowserEnvironment = {
|
|
|
6487
6517
|
|
|
6488
6518
|
module.exports = ReactComponentBrowserEnvironment;
|
|
6489
6519
|
|
|
6490
|
-
},{}],41:[function(_dereq_,module,exports){
|
|
6520
|
+
},{"50":50,"77":77}],41:[function(_dereq_,module,exports){
|
|
6491
6521
|
/**
|
|
6492
6522
|
* Copyright 2014-2015, Facebook, Inc.
|
|
6493
6523
|
* All rights reserved.
|
|
@@ -6546,7 +6576,7 @@ var ReactComponentEnvironment = {
|
|
|
6546
6576
|
|
|
6547
6577
|
module.exports = ReactComponentEnvironment;
|
|
6548
6578
|
|
|
6549
|
-
},{}],42:[function(_dereq_,module,exports){
|
|
6579
|
+
},{"150":150}],42:[function(_dereq_,module,exports){
|
|
6550
6580
|
/**
|
|
6551
6581
|
* Copyright 2013-2015, Facebook, Inc.
|
|
6552
6582
|
* All rights reserved.
|
|
@@ -6595,7 +6625,7 @@ var ReactComponentWithPureRenderMixin = {
|
|
|
6595
6625
|
|
|
6596
6626
|
module.exports = ReactComponentWithPureRenderMixin;
|
|
6597
6627
|
|
|
6598
|
-
},{}],43:[function(_dereq_,module,exports){
|
|
6628
|
+
},{"166":166}],43:[function(_dereq_,module,exports){
|
|
6599
6629
|
/**
|
|
6600
6630
|
* Copyright 2013-2015, Facebook, Inc.
|
|
6601
6631
|
* All rights reserved.
|
|
@@ -6731,6 +6761,20 @@ var ReactCompositeComponentMixin = {
|
|
|
6731
6761
|
|
|
6732
6762
|
// Initialize the public class
|
|
6733
6763
|
var inst = new Component(publicProps, publicContext);
|
|
6764
|
+
|
|
6765
|
+
if ("production" !== "development") {
|
|
6766
|
+
// This will throw later in _renderValidatedComponent, but add an early
|
|
6767
|
+
// warning now to help debugging
|
|
6768
|
+
("production" !== "development" ? warning(
|
|
6769
|
+
inst.render != null,
|
|
6770
|
+
'%s(...): No `render` method found on the returned component ' +
|
|
6771
|
+
'instance: you may have forgotten to define `render` in your ' +
|
|
6772
|
+
'component or you may have accidentally tried to render an element ' +
|
|
6773
|
+
'whose type is a function that isn\'t a React component.',
|
|
6774
|
+
Component.displayName || Component.name || 'Component'
|
|
6775
|
+
) : null);
|
|
6776
|
+
}
|
|
6777
|
+
|
|
6734
6778
|
// These should be set up in the constructor, but as a convenience for
|
|
6735
6779
|
// simpler class abstractions, we set them up after the fact.
|
|
6736
6780
|
inst.props = publicProps;
|
|
@@ -7047,14 +7091,16 @@ var ReactCompositeComponentMixin = {
|
|
|
7047
7091
|
// Preface gives us something to blacklist in warning module
|
|
7048
7092
|
("production" !== "development" ? warning(
|
|
7049
7093
|
false,
|
|
7050
|
-
'Failed Composite propType: %s',
|
|
7051
|
-
error.message
|
|
7094
|
+
'Failed Composite propType: %s%s',
|
|
7095
|
+
error.message,
|
|
7096
|
+
addendum
|
|
7052
7097
|
) : null);
|
|
7053
7098
|
} else {
|
|
7054
7099
|
("production" !== "development" ? warning(
|
|
7055
7100
|
false,
|
|
7056
|
-
'Failed Context Types: %s',
|
|
7057
|
-
error.message
|
|
7101
|
+
'Failed Context Types: %s%s',
|
|
7102
|
+
error.message,
|
|
7103
|
+
addendum
|
|
7058
7104
|
) : null);
|
|
7059
7105
|
}
|
|
7060
7106
|
}
|
|
@@ -7467,7 +7513,7 @@ var ReactCompositeComponent = {
|
|
|
7467
7513
|
|
|
7468
7514
|
module.exports = ReactCompositeComponent;
|
|
7469
7515
|
|
|
7470
|
-
},{}],44:[function(_dereq_,module,exports){
|
|
7516
|
+
},{"100":100,"130":130,"150":150,"167":167,"171":171,"29":29,"41":41,"44":44,"45":45,"63":63,"64":64,"73":73,"74":74,"80":80,"82":82,"84":84,"85":85,"89":89}],44:[function(_dereq_,module,exports){
|
|
7471
7517
|
/**
|
|
7472
7518
|
* Copyright 2013-2015, Facebook, Inc.
|
|
7473
7519
|
* All rights reserved.
|
|
@@ -7543,7 +7589,7 @@ var ReactContext = {
|
|
|
7543
7589
|
|
|
7544
7590
|
module.exports = ReactContext;
|
|
7545
7591
|
|
|
7546
|
-
},{}],45:[function(_dereq_,module,exports){
|
|
7592
|
+
},{"130":130,"171":171,"29":29}],45:[function(_dereq_,module,exports){
|
|
7547
7593
|
/**
|
|
7548
7594
|
* Copyright 2013-2015, Facebook, Inc.
|
|
7549
7595
|
* All rights reserved.
|
|
@@ -7753,7 +7799,7 @@ var ReactDOM = mapObject({
|
|
|
7753
7799
|
|
|
7754
7800
|
module.exports = ReactDOM;
|
|
7755
7801
|
|
|
7756
|
-
},{}],47:[function(_dereq_,module,exports){
|
|
7802
|
+
},{"158":158,"63":63,"64":64}],47:[function(_dereq_,module,exports){
|
|
7757
7803
|
/**
|
|
7758
7804
|
* Copyright 2013-2015, Facebook, Inc.
|
|
7759
7805
|
* All rights reserved.
|
|
@@ -7817,7 +7863,7 @@ var ReactDOMButton = ReactClass.createClass({
|
|
|
7817
7863
|
|
|
7818
7864
|
module.exports = ReactDOMButton;
|
|
7819
7865
|
|
|
7820
|
-
},{}],48:[function(_dereq_,module,exports){
|
|
7866
|
+
},{"156":156,"2":2,"32":32,"38":38,"63":63}],48:[function(_dereq_,module,exports){
|
|
7821
7867
|
/**
|
|
7822
7868
|
* Copyright 2013-2015, Facebook, Inc.
|
|
7823
7869
|
* All rights reserved.
|
|
@@ -8170,6 +8216,7 @@ ReactDOMComponent.Mixin = {
|
|
|
8170
8216
|
styleUpdates[styleName] = '';
|
|
8171
8217
|
}
|
|
8172
8218
|
}
|
|
8219
|
+
this._previousStyleCopy = null;
|
|
8173
8220
|
} else if (registrationNameModules.hasOwnProperty(propKey)) {
|
|
8174
8221
|
deleteListener(this._rootNodeID, propKey);
|
|
8175
8222
|
} else if (
|
|
@@ -8320,7 +8367,7 @@ ReactDOMComponent.injection = {
|
|
|
8320
8367
|
|
|
8321
8368
|
module.exports = ReactDOMComponent;
|
|
8322
8369
|
|
|
8323
|
-
},{}],49:[function(_dereq_,module,exports){
|
|
8370
|
+
},{"11":11,"12":12,"131":131,"150":150,"151":151,"157":157,"171":171,"29":29,"33":33,"40":40,"6":6,"77":77,"78":78,"82":82}],49:[function(_dereq_,module,exports){
|
|
8324
8371
|
/**
|
|
8325
8372
|
* Copyright 2013-2015, Facebook, Inc.
|
|
8326
8373
|
* All rights reserved.
|
|
@@ -8369,7 +8416,7 @@ var ReactDOMForm = ReactClass.createClass({
|
|
|
8369
8416
|
|
|
8370
8417
|
module.exports = ReactDOMForm;
|
|
8371
8418
|
|
|
8372
|
-
},{}],50:[function(_dereq_,module,exports){
|
|
8419
|
+
},{"16":16,"27":27,"32":32,"38":38,"63":63}],50:[function(_dereq_,module,exports){
|
|
8373
8420
|
/**
|
|
8374
8421
|
* Copyright 2013-2015, Facebook, Inc.
|
|
8375
8422
|
* All rights reserved.
|
|
@@ -8535,7 +8582,7 @@ ReactPerf.measureMethods(ReactDOMIDOperations, 'ReactDOMIDOperations', {
|
|
|
8535
8582
|
|
|
8536
8583
|
module.exports = ReactDOMIDOperations;
|
|
8537
8584
|
|
|
8538
|
-
},{}],51:[function(_dereq_,module,exports){
|
|
8585
|
+
},{"10":10,"12":12,"150":150,"164":164,"6":6,"77":77,"82":82}],51:[function(_dereq_,module,exports){
|
|
8539
8586
|
/**
|
|
8540
8587
|
* Copyright 2013-2015, Facebook, Inc.
|
|
8541
8588
|
* All rights reserved.
|
|
@@ -8580,7 +8627,7 @@ var ReactDOMIframe = ReactClass.createClass({
|
|
|
8580
8627
|
|
|
8581
8628
|
module.exports = ReactDOMIframe;
|
|
8582
8629
|
|
|
8583
|
-
},{}],52:[function(_dereq_,module,exports){
|
|
8630
|
+
},{"16":16,"27":27,"32":32,"38":38,"63":63}],52:[function(_dereq_,module,exports){
|
|
8584
8631
|
/**
|
|
8585
8632
|
* Copyright 2013-2015, Facebook, Inc.
|
|
8586
8633
|
* All rights reserved.
|
|
@@ -8626,7 +8673,7 @@ var ReactDOMImg = ReactClass.createClass({
|
|
|
8626
8673
|
|
|
8627
8674
|
module.exports = ReactDOMImg;
|
|
8628
8675
|
|
|
8629
|
-
},{}],53:[function(_dereq_,module,exports){
|
|
8676
|
+
},{"16":16,"27":27,"32":32,"38":38,"63":63}],53:[function(_dereq_,module,exports){
|
|
8630
8677
|
/**
|
|
8631
8678
|
* Copyright 2013-2015, Facebook, Inc.
|
|
8632
8679
|
* All rights reserved.
|
|
@@ -8801,7 +8848,7 @@ var ReactDOMInput = ReactClass.createClass({
|
|
|
8801
8848
|
|
|
8802
8849
|
module.exports = ReactDOMInput;
|
|
8803
8850
|
|
|
8804
|
-
},{}],54:[function(_dereq_,module,exports){
|
|
8851
|
+
},{"100":100,"12":12,"150":150,"2":2,"26":26,"29":29,"32":32,"38":38,"63":63,"77":77}],54:[function(_dereq_,module,exports){
|
|
8805
8852
|
/**
|
|
8806
8853
|
* Copyright 2013-2015, Facebook, Inc.
|
|
8807
8854
|
* All rights reserved.
|
|
@@ -8851,7 +8898,7 @@ var ReactDOMOption = ReactClass.createClass({
|
|
|
8851
8898
|
|
|
8852
8899
|
module.exports = ReactDOMOption;
|
|
8853
8900
|
|
|
8854
|
-
},{}],55:[function(_dereq_,module,exports){
|
|
8901
|
+
},{"171":171,"32":32,"38":38,"63":63}],55:[function(_dereq_,module,exports){
|
|
8855
8902
|
/**
|
|
8856
8903
|
* Copyright 2013-2015, Facebook, Inc.
|
|
8857
8904
|
* All rights reserved.
|
|
@@ -8942,7 +8989,9 @@ function updateOptions(component, propValue) {
|
|
|
8942
8989
|
return;
|
|
8943
8990
|
}
|
|
8944
8991
|
}
|
|
8945
|
-
options
|
|
8992
|
+
if (options.length) {
|
|
8993
|
+
options[0].selected = true;
|
|
8994
|
+
}
|
|
8946
8995
|
}
|
|
8947
8996
|
}
|
|
8948
8997
|
|
|
@@ -9027,7 +9076,7 @@ var ReactDOMSelect = ReactClass.createClass({
|
|
|
9027
9076
|
|
|
9028
9077
|
module.exports = ReactDOMSelect;
|
|
9029
9078
|
|
|
9030
|
-
},{}],56:[function(_dereq_,module,exports){
|
|
9079
|
+
},{"100":100,"2":2,"26":26,"29":29,"32":32,"38":38,"63":63}],56:[function(_dereq_,module,exports){
|
|
9031
9080
|
/**
|
|
9032
9081
|
* Copyright 2013-2015, Facebook, Inc.
|
|
9033
9082
|
* All rights reserved.
|
|
@@ -9240,7 +9289,7 @@ var ReactDOMSelection = {
|
|
|
9240
9289
|
|
|
9241
9290
|
module.exports = ReactDOMSelection;
|
|
9242
9291
|
|
|
9243
|
-
},{}],57:[function(_dereq_,module,exports){
|
|
9292
|
+
},{"143":143,"145":145,"22":22}],57:[function(_dereq_,module,exports){
|
|
9244
9293
|
/**
|
|
9245
9294
|
* Copyright 2013-2015, Facebook, Inc.
|
|
9246
9295
|
* All rights reserved.
|
|
@@ -9357,7 +9406,7 @@ assign(ReactDOMTextComponent.prototype, {
|
|
|
9357
9406
|
|
|
9358
9407
|
module.exports = ReactDOMTextComponent;
|
|
9359
9408
|
|
|
9360
|
-
},{}],58:[function(_dereq_,module,exports){
|
|
9409
|
+
},{"12":12,"131":131,"29":29,"40":40,"48":48}],58:[function(_dereq_,module,exports){
|
|
9361
9410
|
/**
|
|
9362
9411
|
* Copyright 2013-2015, Facebook, Inc.
|
|
9363
9412
|
* All rights reserved.
|
|
@@ -9495,7 +9544,7 @@ var ReactDOMTextarea = ReactClass.createClass({
|
|
|
9495
9544
|
|
|
9496
9545
|
module.exports = ReactDOMTextarea;
|
|
9497
9546
|
|
|
9498
|
-
},{}],59:[function(_dereq_,module,exports){
|
|
9547
|
+
},{"100":100,"12":12,"150":150,"171":171,"2":2,"26":26,"29":29,"32":32,"38":38,"63":63}],59:[function(_dereq_,module,exports){
|
|
9499
9548
|
/**
|
|
9500
9549
|
* Copyright 2013-2015, Facebook, Inc.
|
|
9501
9550
|
* All rights reserved.
|
|
@@ -9568,7 +9617,7 @@ var ReactDefaultBatchingStrategy = {
|
|
|
9568
9617
|
|
|
9569
9618
|
module.exports = ReactDefaultBatchingStrategy;
|
|
9570
9619
|
|
|
9571
|
-
},{}],60:[function(_dereq_,module,exports){
|
|
9620
|
+
},{"100":100,"116":116,"129":129,"29":29}],60:[function(_dereq_,module,exports){
|
|
9572
9621
|
/**
|
|
9573
9622
|
* Copyright 2013-2015, Facebook, Inc.
|
|
9574
9623
|
* All rights reserved.
|
|
@@ -9725,7 +9774,7 @@ module.exports = {
|
|
|
9725
9774
|
inject: inject
|
|
9726
9775
|
};
|
|
9727
9776
|
|
|
9728
|
-
},{}],61:[function(_dereq_,module,exports){
|
|
9777
|
+
},{"101":101,"102":102,"103":103,"104":104,"125":125,"14":14,"15":15,"22":22,"24":24,"28":28,"3":3,"32":32,"38":38,"40":40,"47":47,"48":48,"49":49,"50":50,"51":51,"52":52,"53":53,"54":54,"55":55,"57":57,"58":58,"59":59,"61":61,"63":63,"68":68,"70":70,"72":72,"77":77,"8":8,"88":88,"9":9}],61:[function(_dereq_,module,exports){
|
|
9729
9778
|
/**
|
|
9730
9779
|
* Copyright 2013-2015, Facebook, Inc.
|
|
9731
9780
|
* All rights reserved.
|
|
@@ -9891,8 +9940,8 @@ var ReactDefaultPerf = {
|
|
|
9891
9940
|
ReactDefaultPerf._allMeasurements.length - 1
|
|
9892
9941
|
].totalTime = performanceNow() - start;
|
|
9893
9942
|
return rv;
|
|
9894
|
-
} else if (
|
|
9895
|
-
|
|
9943
|
+
} else if (fnName === '_mountImageIntoNode' ||
|
|
9944
|
+
moduleName === 'ReactDOMIDOperations') {
|
|
9896
9945
|
start = performanceNow();
|
|
9897
9946
|
rv = func.apply(this, args);
|
|
9898
9947
|
totalTime = performanceNow() - start;
|
|
@@ -9938,6 +9987,10 @@ var ReactDefaultPerf = {
|
|
|
9938
9987
|
(fnName === 'mountComponent' ||
|
|
9939
9988
|
fnName === 'updateComponent' || fnName === '_renderValidatedComponent')))) {
|
|
9940
9989
|
|
|
9990
|
+
if (typeof this._currentElement.type === 'string') {
|
|
9991
|
+
return func.apply(this, args);
|
|
9992
|
+
}
|
|
9993
|
+
|
|
9941
9994
|
var rootNodeID = fnName === 'mountComponent' ?
|
|
9942
9995
|
args[0] :
|
|
9943
9996
|
this._rootNodeID;
|
|
@@ -9970,17 +10023,10 @@ var ReactDefaultPerf = {
|
|
|
9970
10023
|
addValue(entry.inclusive, rootNodeID, totalTime);
|
|
9971
10024
|
}
|
|
9972
10025
|
|
|
9973
|
-
var displayName = null;
|
|
9974
|
-
if (this._instance.constructor.displayName) {
|
|
9975
|
-
displayName = this._instance.constructor.displayName;
|
|
9976
|
-
} else if (this._currentElement.type) {
|
|
9977
|
-
displayName = this._currentElement.type;
|
|
9978
|
-
}
|
|
9979
|
-
|
|
9980
10026
|
entry.displayNames[rootNodeID] = {
|
|
9981
|
-
current:
|
|
10027
|
+
current: this.getName(),
|
|
9982
10028
|
owner: this._currentElement._owner ?
|
|
9983
|
-
this._currentElement._owner.
|
|
10029
|
+
this._currentElement._owner.getName() :
|
|
9984
10030
|
'<root>'
|
|
9985
10031
|
};
|
|
9986
10032
|
|
|
@@ -9994,7 +10040,7 @@ var ReactDefaultPerf = {
|
|
|
9994
10040
|
|
|
9995
10041
|
module.exports = ReactDefaultPerf;
|
|
9996
10042
|
|
|
9997
|
-
},{}],62:[function(_dereq_,module,exports){
|
|
10043
|
+
},{"11":11,"162":162,"62":62,"77":77,"82":82}],62:[function(_dereq_,module,exports){
|
|
9998
10044
|
/**
|
|
9999
10045
|
* Copyright 2013-2015, Facebook, Inc.
|
|
10000
10046
|
* All rights reserved.
|
|
@@ -10200,7 +10246,7 @@ var ReactDefaultPerfAnalysis = {
|
|
|
10200
10246
|
|
|
10201
10247
|
module.exports = ReactDefaultPerfAnalysis;
|
|
10202
10248
|
|
|
10203
|
-
},{}],63:[function(_dereq_,module,exports){
|
|
10249
|
+
},{"29":29}],63:[function(_dereq_,module,exports){
|
|
10204
10250
|
/**
|
|
10205
10251
|
* Copyright 2014-2015, Facebook, Inc.
|
|
10206
10252
|
* All rights reserved.
|
|
@@ -10311,7 +10357,7 @@ var ReactElement = function(type, key, ref, owner, context, props) {
|
|
|
10311
10357
|
// an external backing store so that we can freeze the whole object.
|
|
10312
10358
|
// This can be replaced with a WeakMap once they are implemented in
|
|
10313
10359
|
// commonly used development environments.
|
|
10314
|
-
this._store = {
|
|
10360
|
+
this._store = {props: props, originalProps: assign({}, props)};
|
|
10315
10361
|
|
|
10316
10362
|
// To make comparing ReactElements easier for testing purposes, we make
|
|
10317
10363
|
// the validation flag non-enumerable (where possible, which should
|
|
@@ -10431,6 +10477,60 @@ ReactElement.cloneAndReplaceProps = function(oldElement, newProps) {
|
|
|
10431
10477
|
return newElement;
|
|
10432
10478
|
};
|
|
10433
10479
|
|
|
10480
|
+
ReactElement.cloneElement = function(element, config, children) {
|
|
10481
|
+
var propName;
|
|
10482
|
+
|
|
10483
|
+
// Original props are copied
|
|
10484
|
+
var props = assign({}, element.props);
|
|
10485
|
+
|
|
10486
|
+
// Reserved names are extracted
|
|
10487
|
+
var key = element.key;
|
|
10488
|
+
var ref = element.ref;
|
|
10489
|
+
|
|
10490
|
+
// Owner will be preserved, unless ref is overridden
|
|
10491
|
+
var owner = element._owner;
|
|
10492
|
+
|
|
10493
|
+
if (config != null) {
|
|
10494
|
+
if (config.ref !== undefined) {
|
|
10495
|
+
// Silently steal the ref from the parent.
|
|
10496
|
+
ref = config.ref;
|
|
10497
|
+
owner = ReactCurrentOwner.current;
|
|
10498
|
+
}
|
|
10499
|
+
if (config.key !== undefined) {
|
|
10500
|
+
key = '' + config.key;
|
|
10501
|
+
}
|
|
10502
|
+
// Remaining properties override existing props
|
|
10503
|
+
for (propName in config) {
|
|
10504
|
+
if (config.hasOwnProperty(propName) &&
|
|
10505
|
+
!RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
10506
|
+
props[propName] = config[propName];
|
|
10507
|
+
}
|
|
10508
|
+
}
|
|
10509
|
+
}
|
|
10510
|
+
|
|
10511
|
+
// Children can be more than one argument, and those are transferred onto
|
|
10512
|
+
// the newly allocated props object.
|
|
10513
|
+
var childrenLength = arguments.length - 2;
|
|
10514
|
+
if (childrenLength === 1) {
|
|
10515
|
+
props.children = children;
|
|
10516
|
+
} else if (childrenLength > 1) {
|
|
10517
|
+
var childArray = Array(childrenLength);
|
|
10518
|
+
for (var i = 0; i < childrenLength; i++) {
|
|
10519
|
+
childArray[i] = arguments[i + 2];
|
|
10520
|
+
}
|
|
10521
|
+
props.children = childArray;
|
|
10522
|
+
}
|
|
10523
|
+
|
|
10524
|
+
return new ReactElement(
|
|
10525
|
+
element.type,
|
|
10526
|
+
key,
|
|
10527
|
+
ref,
|
|
10528
|
+
owner,
|
|
10529
|
+
element._context,
|
|
10530
|
+
props
|
|
10531
|
+
);
|
|
10532
|
+
};
|
|
10533
|
+
|
|
10434
10534
|
/**
|
|
10435
10535
|
* @param {?object} object
|
|
10436
10536
|
* @return {boolean} True if `object` is a valid component.
|
|
@@ -10452,7 +10552,7 @@ ReactElement.isValidElement = function(object) {
|
|
|
10452
10552
|
|
|
10453
10553
|
module.exports = ReactElement;
|
|
10454
10554
|
|
|
10455
|
-
},{}],64:[function(_dereq_,module,exports){
|
|
10555
|
+
},{"171":171,"29":29,"44":44,"45":45}],64:[function(_dereq_,module,exports){
|
|
10456
10556
|
/**
|
|
10457
10557
|
* Copyright 2014-2015, Facebook, Inc.
|
|
10458
10558
|
* All rights reserved.
|
|
@@ -10589,7 +10689,8 @@ function validatePropertyKey(name, element, parentType) {
|
|
|
10589
10689
|
*/
|
|
10590
10690
|
function warnAndMonitorForKeyUse(message, element, parentType) {
|
|
10591
10691
|
var ownerName = getCurrentOwnerDisplayName();
|
|
10592
|
-
var parentName = parentType
|
|
10692
|
+
var parentName = typeof parentType === 'string' ?
|
|
10693
|
+
parentType : parentType.displayName || parentType.name;
|
|
10593
10694
|
|
|
10594
10695
|
var useName = ownerName || parentName;
|
|
10595
10696
|
var memoizer = ownerHasKeyUseWarning[message] || (
|
|
@@ -10600,24 +10701,30 @@ function warnAndMonitorForKeyUse(message, element, parentType) {
|
|
|
10600
10701
|
}
|
|
10601
10702
|
memoizer[useName] = true;
|
|
10602
10703
|
|
|
10603
|
-
|
|
10604
|
-
(" Check the render method of " + ownerName + ".") :
|
|
10605
|
-
(" Check the React.render call using <" + parentName + ">.")
|
|
10704
|
+
var parentOrOwnerAddendum =
|
|
10705
|
+
ownerName ? (" Check the render method of " + ownerName + ".") :
|
|
10706
|
+
parentName ? (" Check the React.render call using <" + parentName + ">.") :
|
|
10707
|
+
'';
|
|
10606
10708
|
|
|
10607
10709
|
// Usually the current owner is the offender, but if it accepts children as a
|
|
10608
10710
|
// property, it may be the creator of the child that's responsible for
|
|
10609
10711
|
// assigning it a key.
|
|
10712
|
+
var childOwnerAddendum = '';
|
|
10610
10713
|
if (element &&
|
|
10611
10714
|
element._owner &&
|
|
10612
10715
|
element._owner !== ReactCurrentOwner.current) {
|
|
10613
10716
|
// Name of the component that originally created this child.
|
|
10614
10717
|
var childOwnerName = getName(element._owner);
|
|
10615
10718
|
|
|
10616
|
-
|
|
10719
|
+
childOwnerAddendum = (" It was passed a child from " + childOwnerName + ".");
|
|
10617
10720
|
}
|
|
10618
10721
|
|
|
10619
|
-
|
|
10620
|
-
|
|
10722
|
+
("production" !== "development" ? warning(
|
|
10723
|
+
false,
|
|
10724
|
+
message + '%s%s See http://fb.me/react-warning-keys for more information.',
|
|
10725
|
+
parentOrOwnerAddendum,
|
|
10726
|
+
childOwnerAddendum
|
|
10727
|
+
) : null);
|
|
10621
10728
|
}
|
|
10622
10729
|
|
|
10623
10730
|
/**
|
|
@@ -10701,7 +10808,7 @@ function checkPropTypes(componentName, propTypes, props, location) {
|
|
|
10701
10808
|
loggedTypeFailures[error.message] = true;
|
|
10702
10809
|
|
|
10703
10810
|
var addendum = getDeclarationErrorAddendum(this);
|
|
10704
|
-
("production" !== "development" ? warning(false, 'Failed propType: '
|
|
10811
|
+
("production" !== "development" ? warning(false, 'Failed propType: %s%s', error.message, addendum) : null);
|
|
10705
10812
|
}
|
|
10706
10813
|
}
|
|
10707
10814
|
}
|
|
@@ -10747,6 +10854,19 @@ function warnForPropsMutation(propName, element) {
|
|
|
10747
10854
|
) : null);
|
|
10748
10855
|
}
|
|
10749
10856
|
|
|
10857
|
+
// Inline Object.is polyfill
|
|
10858
|
+
function is(a, b) {
|
|
10859
|
+
if (a !== a) {
|
|
10860
|
+
// NaN
|
|
10861
|
+
return b !== b;
|
|
10862
|
+
}
|
|
10863
|
+
if (a === 0 && b === 0) {
|
|
10864
|
+
// +-0
|
|
10865
|
+
return 1 / a === 1 / b;
|
|
10866
|
+
}
|
|
10867
|
+
return a === b;
|
|
10868
|
+
}
|
|
10869
|
+
|
|
10750
10870
|
/**
|
|
10751
10871
|
* Given an element, check if its props have been mutated since element
|
|
10752
10872
|
* creation (or the last call to this function). In particular, check if any
|
|
@@ -10768,7 +10888,7 @@ function checkAndWarnForMutatedProps(element) {
|
|
|
10768
10888
|
for (var propName in props) {
|
|
10769
10889
|
if (props.hasOwnProperty(propName)) {
|
|
10770
10890
|
if (!originalProps.hasOwnProperty(propName) ||
|
|
10771
|
-
originalProps[propName]
|
|
10891
|
+
!is(originalProps[propName], props[propName])) {
|
|
10772
10892
|
warnForPropsMutation(propName, element);
|
|
10773
10893
|
|
|
10774
10894
|
// Copy over the new value so that the two props objects match again
|
|
@@ -10778,6 +10898,42 @@ function checkAndWarnForMutatedProps(element) {
|
|
|
10778
10898
|
}
|
|
10779
10899
|
}
|
|
10780
10900
|
|
|
10901
|
+
/**
|
|
10902
|
+
* Given an element, validate that its props follow the propTypes definition,
|
|
10903
|
+
* provided by the type.
|
|
10904
|
+
*
|
|
10905
|
+
* @param {ReactElement} element
|
|
10906
|
+
*/
|
|
10907
|
+
function validatePropTypes(element) {
|
|
10908
|
+
if (element.type == null) {
|
|
10909
|
+
// This has already warned. Don't throw.
|
|
10910
|
+
return;
|
|
10911
|
+
}
|
|
10912
|
+
// Extract the component class from the element. Converts string types
|
|
10913
|
+
// to a composite class which may have propTypes.
|
|
10914
|
+
// TODO: Validating a string's propTypes is not decoupled from the
|
|
10915
|
+
// rendering target which is problematic.
|
|
10916
|
+
var componentClass = ReactNativeComponent.getComponentClassForElement(
|
|
10917
|
+
element
|
|
10918
|
+
);
|
|
10919
|
+
var name = componentClass.displayName || componentClass.name;
|
|
10920
|
+
if (componentClass.propTypes) {
|
|
10921
|
+
checkPropTypes(
|
|
10922
|
+
name,
|
|
10923
|
+
componentClass.propTypes,
|
|
10924
|
+
element.props,
|
|
10925
|
+
ReactPropTypeLocations.prop
|
|
10926
|
+
);
|
|
10927
|
+
}
|
|
10928
|
+
if (typeof componentClass.getDefaultProps === 'function') {
|
|
10929
|
+
("production" !== "development" ? warning(
|
|
10930
|
+
componentClass.getDefaultProps.isReactClassApproved,
|
|
10931
|
+
'getDefaultProps is only used on classic React.createClass ' +
|
|
10932
|
+
'definitions. Use a static property named `defaultProps` instead.'
|
|
10933
|
+
) : null);
|
|
10934
|
+
}
|
|
10935
|
+
}
|
|
10936
|
+
|
|
10781
10937
|
var ReactElementValidator = {
|
|
10782
10938
|
|
|
10783
10939
|
checkAndWarnForMutatedProps: checkAndWarnForMutatedProps,
|
|
@@ -10804,33 +10960,7 @@ var ReactElementValidator = {
|
|
|
10804
10960
|
validateChildKeys(arguments[i], type);
|
|
10805
10961
|
}
|
|
10806
10962
|
|
|
10807
|
-
|
|
10808
|
-
// Extract the component class from the element. Converts string types
|
|
10809
|
-
// to a composite class which may have propTypes.
|
|
10810
|
-
// TODO: Validating a string's propTypes is not decoupled from the
|
|
10811
|
-
// rendering target which is problematic.
|
|
10812
|
-
var componentClass = ReactNativeComponent.getComponentClassForElement(
|
|
10813
|
-
element
|
|
10814
|
-
);
|
|
10815
|
-
var name = componentClass.displayName || componentClass.name;
|
|
10816
|
-
if ("production" !== "development") {
|
|
10817
|
-
if (componentClass.propTypes) {
|
|
10818
|
-
checkPropTypes(
|
|
10819
|
-
name,
|
|
10820
|
-
componentClass.propTypes,
|
|
10821
|
-
element.props,
|
|
10822
|
-
ReactPropTypeLocations.prop
|
|
10823
|
-
);
|
|
10824
|
-
}
|
|
10825
|
-
}
|
|
10826
|
-
if (typeof componentClass.getDefaultProps === 'function') {
|
|
10827
|
-
("production" !== "development" ? warning(
|
|
10828
|
-
componentClass.getDefaultProps.isReactClassApproved,
|
|
10829
|
-
'getDefaultProps is only used on classic React.createClass ' +
|
|
10830
|
-
'definitions. Use a static property named `defaultProps` instead.'
|
|
10831
|
-
) : null);
|
|
10832
|
-
}
|
|
10833
|
-
}
|
|
10963
|
+
validatePropTypes(element);
|
|
10834
10964
|
|
|
10835
10965
|
return element;
|
|
10836
10966
|
},
|
|
@@ -10842,14 +10972,50 @@ var ReactElementValidator = {
|
|
|
10842
10972
|
);
|
|
10843
10973
|
// Legacy hook TODO: Warn if this is accessed
|
|
10844
10974
|
validatedFactory.type = type;
|
|
10975
|
+
|
|
10976
|
+
if ("production" !== "development") {
|
|
10977
|
+
try {
|
|
10978
|
+
Object.defineProperty(
|
|
10979
|
+
validatedFactory,
|
|
10980
|
+
'type',
|
|
10981
|
+
{
|
|
10982
|
+
enumerable: false,
|
|
10983
|
+
get: function() {
|
|
10984
|
+
("production" !== "development" ? warning(
|
|
10985
|
+
false,
|
|
10986
|
+
'Factory.type is deprecated. Access the class directly ' +
|
|
10987
|
+
'before passing it to createFactory.'
|
|
10988
|
+
) : null);
|
|
10989
|
+
Object.defineProperty(this, 'type', {
|
|
10990
|
+
value: type
|
|
10991
|
+
});
|
|
10992
|
+
return type;
|
|
10993
|
+
}
|
|
10994
|
+
}
|
|
10995
|
+
);
|
|
10996
|
+
} catch (x) {
|
|
10997
|
+
// IE will fail on defineProperty (es5-shim/sham too)
|
|
10998
|
+
}
|
|
10999
|
+
}
|
|
11000
|
+
|
|
11001
|
+
|
|
10845
11002
|
return validatedFactory;
|
|
11003
|
+
},
|
|
11004
|
+
|
|
11005
|
+
cloneElement: function(element, props, children) {
|
|
11006
|
+
var newElement = ReactElement.cloneElement.apply(this, arguments);
|
|
11007
|
+
for (var i = 2; i < arguments.length; i++) {
|
|
11008
|
+
validateChildKeys(arguments[i], newElement.type);
|
|
11009
|
+
}
|
|
11010
|
+
validatePropTypes(newElement);
|
|
11011
|
+
return newElement;
|
|
10846
11012
|
}
|
|
10847
11013
|
|
|
10848
11014
|
};
|
|
10849
11015
|
|
|
10850
11016
|
module.exports = ReactElementValidator;
|
|
10851
11017
|
|
|
10852
|
-
},{}],65:[function(_dereq_,module,exports){
|
|
11018
|
+
},{"141":141,"150":150,"171":171,"45":45,"63":63,"69":69,"80":80,"84":84,"85":85}],65:[function(_dereq_,module,exports){
|
|
10853
11019
|
/**
|
|
10854
11020
|
* Copyright 2014-2015, Facebook, Inc.
|
|
10855
11021
|
* All rights reserved.
|
|
@@ -10942,7 +11108,7 @@ var ReactEmptyComponent = {
|
|
|
10942
11108
|
|
|
10943
11109
|
module.exports = ReactEmptyComponent;
|
|
10944
11110
|
|
|
10945
|
-
},{}],66:[function(_dereq_,module,exports){
|
|
11111
|
+
},{"150":150,"63":63,"73":73}],66:[function(_dereq_,module,exports){
|
|
10946
11112
|
/**
|
|
10947
11113
|
* Copyright 2013-2015, Facebook, Inc.
|
|
10948
11114
|
* All rights reserved.
|
|
@@ -11024,7 +11190,7 @@ var ReactEventEmitterMixin = {
|
|
|
11024
11190
|
|
|
11025
11191
|
module.exports = ReactEventEmitterMixin;
|
|
11026
11192
|
|
|
11027
|
-
},{}],68:[function(_dereq_,module,exports){
|
|
11193
|
+
},{"18":18}],68:[function(_dereq_,module,exports){
|
|
11028
11194
|
/**
|
|
11029
11195
|
* Copyright 2013-2015, Facebook, Inc.
|
|
11030
11196
|
* All rights reserved.
|
|
@@ -11207,7 +11373,7 @@ var ReactEventListener = {
|
|
|
11207
11373
|
|
|
11208
11374
|
module.exports = ReactEventListener;
|
|
11209
11375
|
|
|
11210
|
-
},{}],69:[function(_dereq_,module,exports){
|
|
11376
|
+
},{"100":100,"140":140,"146":146,"17":17,"22":22,"29":29,"30":30,"72":72,"77":77}],69:[function(_dereq_,module,exports){
|
|
11211
11377
|
/**
|
|
11212
11378
|
* Copyright 2015, Facebook, Inc.
|
|
11213
11379
|
* All rights reserved.
|
|
@@ -11249,13 +11415,13 @@ if ("production" !== "development") {
|
|
|
11249
11415
|
Object.defineProperty(
|
|
11250
11416
|
{},
|
|
11251
11417
|
fragmentKey,
|
|
11252
|
-
{
|
|
11418
|
+
{enumerable: false, value: true}
|
|
11253
11419
|
);
|
|
11254
11420
|
|
|
11255
11421
|
Object.defineProperty(
|
|
11256
11422
|
{},
|
|
11257
11423
|
'key',
|
|
11258
|
-
{
|
|
11424
|
+
{enumerable: true, get: dummy}
|
|
11259
11425
|
);
|
|
11260
11426
|
|
|
11261
11427
|
canWarnForReactFragment = true;
|
|
@@ -11306,14 +11472,22 @@ var ReactFragment = {
|
|
|
11306
11472
|
// of its properties.
|
|
11307
11473
|
create: function(object) {
|
|
11308
11474
|
if ("production" !== "development") {
|
|
11309
|
-
if (typeof object !== 'object' || !object) {
|
|
11475
|
+
if (typeof object !== 'object' || !object || Array.isArray(object)) {
|
|
11310
11476
|
("production" !== "development" ? warning(
|
|
11311
11477
|
false,
|
|
11312
|
-
'React.addons.createFragment only accepts a single object.
|
|
11478
|
+
'React.addons.createFragment only accepts a single object.',
|
|
11313
11479
|
object
|
|
11314
11480
|
) : null);
|
|
11315
11481
|
return object;
|
|
11316
11482
|
}
|
|
11483
|
+
if (ReactElement.isValidElement(object)) {
|
|
11484
|
+
("production" !== "development" ? warning(
|
|
11485
|
+
false,
|
|
11486
|
+
'React.addons.createFragment does not accept a ReactElement ' +
|
|
11487
|
+
'without a wrapper object.'
|
|
11488
|
+
) : null);
|
|
11489
|
+
return object;
|
|
11490
|
+
}
|
|
11317
11491
|
if (canWarnForReactFragment) {
|
|
11318
11492
|
var proxy = {};
|
|
11319
11493
|
Object.defineProperty(proxy, fragmentKey, {
|
|
@@ -11343,7 +11517,8 @@ var ReactFragment = {
|
|
|
11343
11517
|
("production" !== "development" ? warning(
|
|
11344
11518
|
didWarnForFragment(fragment),
|
|
11345
11519
|
'Any use of a keyed object should be wrapped in ' +
|
|
11346
|
-
'React.addons.createFragment(object) before passed as a
|
|
11520
|
+
'React.addons.createFragment(object) before being passed as a ' +
|
|
11521
|
+
'child.'
|
|
11347
11522
|
) : null);
|
|
11348
11523
|
return fragment;
|
|
11349
11524
|
}
|
|
@@ -11381,7 +11556,7 @@ var ReactFragment = {
|
|
|
11381
11556
|
|
|
11382
11557
|
module.exports = ReactFragment;
|
|
11383
11558
|
|
|
11384
|
-
},{}],70:[function(_dereq_,module,exports){
|
|
11559
|
+
},{"171":171,"63":63}],70:[function(_dereq_,module,exports){
|
|
11385
11560
|
/**
|
|
11386
11561
|
* Copyright 2013-2015, Facebook, Inc.
|
|
11387
11562
|
* All rights reserved.
|
|
@@ -11423,7 +11598,7 @@ var ReactInjection = {
|
|
|
11423
11598
|
|
|
11424
11599
|
module.exports = ReactInjection;
|
|
11425
11600
|
|
|
11426
|
-
},{}],71:[function(_dereq_,module,exports){
|
|
11601
|
+
},{"100":100,"11":11,"18":18,"33":33,"38":38,"41":41,"48":48,"65":65,"80":80,"82":82,"91":91}],71:[function(_dereq_,module,exports){
|
|
11427
11602
|
/**
|
|
11428
11603
|
* Copyright 2013-2015, Facebook, Inc.
|
|
11429
11604
|
* All rights reserved.
|
|
@@ -11558,7 +11733,7 @@ var ReactInputSelection = {
|
|
|
11558
11733
|
|
|
11559
11734
|
module.exports = ReactInputSelection;
|
|
11560
11735
|
|
|
11561
|
-
},{}],72:[function(_dereq_,module,exports){
|
|
11736
|
+
},{"123":123,"134":134,"136":136,"56":56}],72:[function(_dereq_,module,exports){
|
|
11562
11737
|
/**
|
|
11563
11738
|
* Copyright 2013-2015, Facebook, Inc.
|
|
11564
11739
|
* All rights reserved.
|
|
@@ -11892,7 +12067,7 @@ var ReactInstanceHandles = {
|
|
|
11892
12067
|
|
|
11893
12068
|
module.exports = ReactInstanceHandles;
|
|
11894
12069
|
|
|
11895
|
-
},{}],73:[function(_dereq_,module,exports){
|
|
12070
|
+
},{"150":150,"91":91}],73:[function(_dereq_,module,exports){
|
|
11896
12071
|
/**
|
|
11897
12072
|
* Copyright 2013-2015, Facebook, Inc.
|
|
11898
12073
|
* All rights reserved.
|
|
@@ -12051,7 +12226,7 @@ ReactLink.PropTypes = {
|
|
|
12051
12226
|
|
|
12052
12227
|
module.exports = ReactLink;
|
|
12053
12228
|
|
|
12054
|
-
},{}],76:[function(_dereq_,module,exports){
|
|
12229
|
+
},{"31":31}],76:[function(_dereq_,module,exports){
|
|
12055
12230
|
/**
|
|
12056
12231
|
* Copyright 2013-2015, Facebook, Inc.
|
|
12057
12232
|
* All rights reserved.
|
|
@@ -12099,7 +12274,7 @@ var ReactMarkupChecksum = {
|
|
|
12099
12274
|
|
|
12100
12275
|
module.exports = ReactMarkupChecksum;
|
|
12101
12276
|
|
|
12102
|
-
},{}],77:[function(_dereq_,module,exports){
|
|
12277
|
+
},{"119":119}],77:[function(_dereq_,module,exports){
|
|
12103
12278
|
/**
|
|
12104
12279
|
* Copyright 2013-2015, Facebook, Inc.
|
|
12105
12280
|
* All rights reserved.
|
|
@@ -12381,7 +12556,7 @@ function batchedMountComponentIntoNode(
|
|
|
12381
12556
|
}
|
|
12382
12557
|
|
|
12383
12558
|
/**
|
|
12384
|
-
* Mounting is the process of initializing a React component by
|
|
12559
|
+
* Mounting is the process of initializing a React component by creating its
|
|
12385
12560
|
* representative DOM elements and inserting them into a supplied `container`.
|
|
12386
12561
|
* Any prior content inside `container` is destroyed in the process.
|
|
12387
12562
|
*
|
|
@@ -12472,13 +12647,13 @@ var ReactMount = {
|
|
|
12472
12647
|
|
|
12473
12648
|
/**
|
|
12474
12649
|
* Render a new component into the DOM.
|
|
12475
|
-
* @param {
|
|
12650
|
+
* @param {ReactElement} nextElement element to render
|
|
12476
12651
|
* @param {DOMElement} container container to render into
|
|
12477
12652
|
* @param {boolean} shouldReuseMarkup if we should skip the markup insertion
|
|
12478
12653
|
* @return {ReactComponent} nextComponent
|
|
12479
12654
|
*/
|
|
12480
12655
|
_renderNewRootComponent: function(
|
|
12481
|
-
|
|
12656
|
+
nextElement,
|
|
12482
12657
|
container,
|
|
12483
12658
|
shouldReuseMarkup
|
|
12484
12659
|
) {
|
|
@@ -12493,7 +12668,7 @@ var ReactMount = {
|
|
|
12493
12668
|
'componentDidUpdate.'
|
|
12494
12669
|
) : null);
|
|
12495
12670
|
|
|
12496
|
-
var componentInstance = instantiateReactComponent(
|
|
12671
|
+
var componentInstance = instantiateReactComponent(nextElement, null);
|
|
12497
12672
|
var reactRootID = ReactMount._registerComponent(
|
|
12498
12673
|
componentInstance,
|
|
12499
12674
|
container
|
|
@@ -12988,7 +13163,7 @@ ReactPerf.measureMethods(ReactMount, 'ReactMount', {
|
|
|
12988
13163
|
|
|
12989
13164
|
module.exports = ReactMount;
|
|
12990
13165
|
|
|
12991
|
-
},{}],78:[function(_dereq_,module,exports){
|
|
13166
|
+
},{"100":100,"11":11,"123":123,"130":130,"144":144,"149":149,"150":150,"164":164,"167":167,"171":171,"33":33,"45":45,"63":63,"64":64,"65":65,"72":72,"73":73,"76":76,"82":82,"89":89,"99":99}],78:[function(_dereq_,module,exports){
|
|
12992
13167
|
/**
|
|
12993
13168
|
* Copyright 2013-2015, Facebook, Inc.
|
|
12994
13169
|
* All rights reserved.
|
|
@@ -13418,7 +13593,7 @@ var ReactMultiChild = {
|
|
|
13418
13593
|
|
|
13419
13594
|
module.exports = ReactMultiChild;
|
|
13420
13595
|
|
|
13421
|
-
},{}],79:[function(_dereq_,module,exports){
|
|
13596
|
+
},{"36":36,"41":41,"79":79,"89":89}],79:[function(_dereq_,module,exports){
|
|
13422
13597
|
/**
|
|
13423
13598
|
* Copyright 2013-2015, Facebook, Inc.
|
|
13424
13599
|
* All rights reserved.
|
|
@@ -13451,7 +13626,7 @@ var ReactMultiChildUpdateTypes = keyMirror({
|
|
|
13451
13626
|
|
|
13452
13627
|
module.exports = ReactMultiChildUpdateTypes;
|
|
13453
13628
|
|
|
13454
|
-
},{}],80:[function(_dereq_,module,exports){
|
|
13629
|
+
},{"156":156}],80:[function(_dereq_,module,exports){
|
|
13455
13630
|
/**
|
|
13456
13631
|
* Copyright 2014-2015, Facebook, Inc.
|
|
13457
13632
|
* All rights reserved.
|
|
@@ -13556,7 +13731,7 @@ var ReactNativeComponent = {
|
|
|
13556
13731
|
|
|
13557
13732
|
module.exports = ReactNativeComponent;
|
|
13558
13733
|
|
|
13559
|
-
},{}],81:[function(_dereq_,module,exports){
|
|
13734
|
+
},{"150":150,"29":29}],81:[function(_dereq_,module,exports){
|
|
13560
13735
|
/**
|
|
13561
13736
|
* Copyright 2013-2015, Facebook, Inc.
|
|
13562
13737
|
* All rights reserved.
|
|
@@ -13666,7 +13841,7 @@ var ReactOwner = {
|
|
|
13666
13841
|
|
|
13667
13842
|
module.exports = ReactOwner;
|
|
13668
13843
|
|
|
13669
|
-
},{}],82:[function(_dereq_,module,exports){
|
|
13844
|
+
},{"150":150}],82:[function(_dereq_,module,exports){
|
|
13670
13845
|
/**
|
|
13671
13846
|
* Copyright 2013-2015, Facebook, Inc.
|
|
13672
13847
|
* All rights reserved.
|
|
@@ -13878,7 +14053,7 @@ var ReactPropTransferer = {
|
|
|
13878
14053
|
|
|
13879
14054
|
module.exports = ReactPropTransferer;
|
|
13880
14055
|
|
|
13881
|
-
},{}],84:[function(_dereq_,module,exports){
|
|
14056
|
+
},{"129":129,"155":155,"29":29}],84:[function(_dereq_,module,exports){
|
|
13882
14057
|
/**
|
|
13883
14058
|
* Copyright 2013-2015, Facebook, Inc.
|
|
13884
14059
|
* All rights reserved.
|
|
@@ -13928,7 +14103,7 @@ var ReactPropTypeLocations = keyMirror({
|
|
|
13928
14103
|
|
|
13929
14104
|
module.exports = ReactPropTypeLocations;
|
|
13930
14105
|
|
|
13931
|
-
},{}],86:[function(_dereq_,module,exports){
|
|
14106
|
+
},{"156":156}],86:[function(_dereq_,module,exports){
|
|
13932
14107
|
/**
|
|
13933
14108
|
* Copyright 2013-2015, Facebook, Inc.
|
|
13934
14109
|
* All rights reserved.
|
|
@@ -13943,6 +14118,7 @@ module.exports = ReactPropTypeLocations;
|
|
|
13943
14118
|
'use strict';
|
|
13944
14119
|
|
|
13945
14120
|
var ReactElement = _dereq_(63);
|
|
14121
|
+
var ReactFragment = _dereq_(69);
|
|
13946
14122
|
var ReactPropTypeLocationNames = _dereq_(84);
|
|
13947
14123
|
|
|
13948
14124
|
var emptyFunction = _dereq_(129);
|
|
@@ -14222,6 +14398,7 @@ function isNode(propValue) {
|
|
|
14222
14398
|
switch (typeof propValue) {
|
|
14223
14399
|
case 'number':
|
|
14224
14400
|
case 'string':
|
|
14401
|
+
case 'undefined':
|
|
14225
14402
|
return true;
|
|
14226
14403
|
case 'boolean':
|
|
14227
14404
|
return !propValue;
|
|
@@ -14229,9 +14406,10 @@ function isNode(propValue) {
|
|
|
14229
14406
|
if (Array.isArray(propValue)) {
|
|
14230
14407
|
return propValue.every(isNode);
|
|
14231
14408
|
}
|
|
14232
|
-
if (ReactElement.isValidElement(propValue)) {
|
|
14409
|
+
if (propValue === null || ReactElement.isValidElement(propValue)) {
|
|
14233
14410
|
return true;
|
|
14234
14411
|
}
|
|
14412
|
+
propValue = ReactFragment.extractIfFragment(propValue);
|
|
14235
14413
|
for (var k in propValue) {
|
|
14236
14414
|
if (!isNode(propValue[k])) {
|
|
14237
14415
|
return false;
|
|
@@ -14274,7 +14452,7 @@ function getPreciseType(propValue) {
|
|
|
14274
14452
|
|
|
14275
14453
|
module.exports = ReactPropTypes;
|
|
14276
14454
|
|
|
14277
|
-
},{}],87:[function(_dereq_,module,exports){
|
|
14455
|
+
},{"129":129,"63":63,"69":69,"84":84}],87:[function(_dereq_,module,exports){
|
|
14278
14456
|
/**
|
|
14279
14457
|
* Copyright 2013-2015, Facebook, Inc.
|
|
14280
14458
|
* All rights reserved.
|
|
@@ -14330,7 +14508,7 @@ PooledClass.addPoolingTo(ReactPutListenerQueue);
|
|
|
14330
14508
|
|
|
14331
14509
|
module.exports = ReactPutListenerQueue;
|
|
14332
14510
|
|
|
14333
|
-
},{}],88:[function(_dereq_,module,exports){
|
|
14511
|
+
},{"29":29,"30":30,"33":33}],88:[function(_dereq_,module,exports){
|
|
14334
14512
|
/**
|
|
14335
14513
|
* Copyright 2013-2015, Facebook, Inc.
|
|
14336
14514
|
* All rights reserved.
|
|
@@ -14506,7 +14684,7 @@ PooledClass.addPoolingTo(ReactReconcileTransaction);
|
|
|
14506
14684
|
|
|
14507
14685
|
module.exports = ReactReconcileTransaction;
|
|
14508
14686
|
|
|
14509
|
-
},{}],89:[function(_dereq_,module,exports){
|
|
14687
|
+
},{"116":116,"29":29,"30":30,"33":33,"7":7,"71":71,"87":87}],89:[function(_dereq_,module,exports){
|
|
14510
14688
|
/**
|
|
14511
14689
|
* Copyright 2013-2015, Facebook, Inc.
|
|
14512
14690
|
* All rights reserved.
|
|
@@ -14595,7 +14773,6 @@ var ReactReconciler = {
|
|
|
14595
14773
|
}
|
|
14596
14774
|
|
|
14597
14775
|
var refsChanged = ReactRef.shouldUpdateRefs(
|
|
14598
|
-
this,
|
|
14599
14776
|
prevElement,
|
|
14600
14777
|
nextElement
|
|
14601
14778
|
);
|
|
@@ -14629,7 +14806,7 @@ var ReactReconciler = {
|
|
|
14629
14806
|
|
|
14630
14807
|
module.exports = ReactReconciler;
|
|
14631
14808
|
|
|
14632
|
-
},{}],90:[function(_dereq_,module,exports){
|
|
14809
|
+
},{"64":64,"90":90}],90:[function(_dereq_,module,exports){
|
|
14633
14810
|
/**
|
|
14634
14811
|
* Copyright 2013-2015, Facebook, Inc.
|
|
14635
14812
|
* All rights reserved.
|
|
@@ -14672,7 +14849,7 @@ ReactRef.attachRefs = function(instance, element) {
|
|
|
14672
14849
|
}
|
|
14673
14850
|
};
|
|
14674
14851
|
|
|
14675
|
-
ReactRef.shouldUpdateRefs = function(
|
|
14852
|
+
ReactRef.shouldUpdateRefs = function(prevElement, nextElement) {
|
|
14676
14853
|
// If either the owner or a `ref` has changed, make sure the newest owner
|
|
14677
14854
|
// has stored a reference to `this`, and the previous owner (if different)
|
|
14678
14855
|
// has forgotten the reference to `this`. We use the element instead
|
|
@@ -14700,7 +14877,7 @@ ReactRef.detachRefs = function(instance, element) {
|
|
|
14700
14877
|
|
|
14701
14878
|
module.exports = ReactRef;
|
|
14702
14879
|
|
|
14703
|
-
},{}],91:[function(_dereq_,module,exports){
|
|
14880
|
+
},{"81":81}],91:[function(_dereq_,module,exports){
|
|
14704
14881
|
/**
|
|
14705
14882
|
* Copyright 2013-2015, Facebook, Inc.
|
|
14706
14883
|
* All rights reserved.
|
|
@@ -14811,7 +14988,7 @@ module.exports = {
|
|
|
14811
14988
|
renderToStaticMarkup: renderToStaticMarkup
|
|
14812
14989
|
};
|
|
14813
14990
|
|
|
14814
|
-
},{}],93:[function(_dereq_,module,exports){
|
|
14991
|
+
},{"130":130,"149":149,"150":150,"63":63,"72":72,"76":76,"93":93}],93:[function(_dereq_,module,exports){
|
|
14815
14992
|
/**
|
|
14816
14993
|
* Copyright 2014-2015, Facebook, Inc.
|
|
14817
14994
|
* All rights reserved.
|
|
@@ -14924,7 +15101,7 @@ PooledClass.addPoolingTo(ReactServerRenderingTransaction);
|
|
|
14924
15101
|
|
|
14925
15102
|
module.exports = ReactServerRenderingTransaction;
|
|
14926
15103
|
|
|
14927
|
-
},{}],94:[function(_dereq_,module,exports){
|
|
15104
|
+
},{"116":116,"129":129,"29":29,"30":30,"7":7,"87":87}],94:[function(_dereq_,module,exports){
|
|
14928
15105
|
/**
|
|
14929
15106
|
* Copyright 2013-2015, Facebook, Inc.
|
|
14930
15107
|
* All rights reserved.
|
|
@@ -15049,6 +15226,7 @@ var EventPluginHub = _dereq_(18);
|
|
|
15049
15226
|
var EventPropagators = _dereq_(21);
|
|
15050
15227
|
var React = _dereq_(31);
|
|
15051
15228
|
var ReactElement = _dereq_(63);
|
|
15229
|
+
var ReactEmptyComponent = _dereq_(65);
|
|
15052
15230
|
var ReactBrowserEventEmitter = _dereq_(33);
|
|
15053
15231
|
var ReactCompositeComponent = _dereq_(43);
|
|
15054
15232
|
var ReactInstanceHandles = _dereq_(72);
|
|
@@ -15097,7 +15275,7 @@ var ReactTestUtils = {
|
|
|
15097
15275
|
isDOMComponent: function(inst) {
|
|
15098
15276
|
// TODO: Fix this heuristic. It's just here because composites can currently
|
|
15099
15277
|
// pretend to be DOM components.
|
|
15100
|
-
return !!(inst && inst.
|
|
15278
|
+
return !!(inst && inst.tagName && inst.getDOMNode);
|
|
15101
15279
|
},
|
|
15102
15280
|
|
|
15103
15281
|
isDOMComponentElement: function(inst) {
|
|
@@ -15202,7 +15380,7 @@ var ReactTestUtils = {
|
|
|
15202
15380
|
var all =
|
|
15203
15381
|
ReactTestUtils.scryRenderedDOMComponentsWithClass(root, className);
|
|
15204
15382
|
if (all.length !== 1) {
|
|
15205
|
-
throw new Error('Did not find exactly one match '+
|
|
15383
|
+
throw new Error('Did not find exactly one match ' +
|
|
15206
15384
|
'(found: ' + all.length + ') for class:' + className
|
|
15207
15385
|
);
|
|
15208
15386
|
}
|
|
@@ -15355,14 +15533,17 @@ var ReactShallowRenderer = function() {
|
|
|
15355
15533
|
ReactShallowRenderer.prototype.getRenderOutput = function() {
|
|
15356
15534
|
return (
|
|
15357
15535
|
(this._instance && this._instance._renderedComponent &&
|
|
15358
|
-
this._instance._renderedComponent.
|
|
15536
|
+
this._instance._renderedComponent._renderedOutput)
|
|
15359
15537
|
|| null
|
|
15360
15538
|
);
|
|
15361
15539
|
};
|
|
15362
15540
|
|
|
15363
15541
|
var NoopInternalComponent = function(element) {
|
|
15364
|
-
this.
|
|
15365
|
-
|
|
15542
|
+
this._renderedOutput = element;
|
|
15543
|
+
this._currentElement = element === null || element === false ?
|
|
15544
|
+
ReactEmptyComponent.emptyElement :
|
|
15545
|
+
element;
|
|
15546
|
+
};
|
|
15366
15547
|
|
|
15367
15548
|
NoopInternalComponent.prototype = {
|
|
15368
15549
|
|
|
@@ -15370,11 +15551,13 @@ NoopInternalComponent.prototype = {
|
|
|
15370
15551
|
},
|
|
15371
15552
|
|
|
15372
15553
|
receiveComponent: function(element) {
|
|
15373
|
-
this.
|
|
15554
|
+
this._renderedOutput = element;
|
|
15555
|
+
this._currentElement = element === null || element === false ?
|
|
15556
|
+
ReactEmptyComponent.emptyElement :
|
|
15557
|
+
element;
|
|
15374
15558
|
},
|
|
15375
15559
|
|
|
15376
15560
|
unmountComponent: function() {
|
|
15377
|
-
|
|
15378
15561
|
}
|
|
15379
15562
|
|
|
15380
15563
|
};
|
|
@@ -15399,6 +15582,12 @@ ReactShallowRenderer.prototype.render = function(element, context) {
|
|
|
15399
15582
|
ReactUpdates.ReactReconcileTransaction.release(transaction);
|
|
15400
15583
|
};
|
|
15401
15584
|
|
|
15585
|
+
ReactShallowRenderer.prototype.unmount = function() {
|
|
15586
|
+
if (this._instance) {
|
|
15587
|
+
this._instance.unmountComponent();
|
|
15588
|
+
}
|
|
15589
|
+
};
|
|
15590
|
+
|
|
15402
15591
|
ReactShallowRenderer.prototype._render = function(element, transaction, context) {
|
|
15403
15592
|
if (!this._instance) {
|
|
15404
15593
|
var rootID = ReactInstanceHandles.createReactRootID();
|
|
@@ -15528,7 +15717,7 @@ for (eventType in topLevelTypes) {
|
|
|
15528
15717
|
|
|
15529
15718
|
module.exports = ReactTestUtils;
|
|
15530
15719
|
|
|
15531
|
-
},{}],96:[function(_dereq_,module,exports){
|
|
15720
|
+
},{"100":100,"108":108,"16":16,"18":18,"21":21,"29":29,"31":31,"33":33,"43":43,"63":63,"65":65,"72":72,"73":73,"77":77}],96:[function(_dereq_,module,exports){
|
|
15532
15721
|
/**
|
|
15533
15722
|
* Copyright 2013-2015, Facebook, Inc.
|
|
15534
15723
|
* All rights reserved.
|
|
@@ -15633,7 +15822,7 @@ var ReactTransitionChildMapping = {
|
|
|
15633
15822
|
|
|
15634
15823
|
module.exports = ReactTransitionChildMapping;
|
|
15635
15824
|
|
|
15636
|
-
},{}],97:[function(_dereq_,module,exports){
|
|
15825
|
+
},{"37":37,"69":69}],97:[function(_dereq_,module,exports){
|
|
15637
15826
|
/**
|
|
15638
15827
|
* Copyright 2013-2015, Facebook, Inc.
|
|
15639
15828
|
* All rights reserved.
|
|
@@ -15744,7 +15933,7 @@ var ReactTransitionEvents = {
|
|
|
15744
15933
|
|
|
15745
15934
|
module.exports = ReactTransitionEvents;
|
|
15746
15935
|
|
|
15747
|
-
},{}],98:[function(_dereq_,module,exports){
|
|
15936
|
+
},{"22":22}],98:[function(_dereq_,module,exports){
|
|
15748
15937
|
/**
|
|
15749
15938
|
* Copyright 2013-2015, Facebook, Inc.
|
|
15750
15939
|
* All rights reserved.
|
|
@@ -15974,7 +16163,7 @@ var ReactTransitionGroup = React.createClass({
|
|
|
15974
16163
|
|
|
15975
16164
|
module.exports = ReactTransitionGroup;
|
|
15976
16165
|
|
|
15977
|
-
},{}],99:[function(_dereq_,module,exports){
|
|
16166
|
+
},{"122":122,"129":129,"29":29,"31":31,"96":96}],99:[function(_dereq_,module,exports){
|
|
15978
16167
|
/**
|
|
15979
16168
|
* Copyright 2015, Facebook, Inc.
|
|
15980
16169
|
* All rights reserved.
|
|
@@ -16271,7 +16460,7 @@ var ReactUpdateQueue = {
|
|
|
16271
16460
|
|
|
16272
16461
|
module.exports = ReactUpdateQueue;
|
|
16273
16462
|
|
|
16274
|
-
},{}],100:[function(_dereq_,module,exports){
|
|
16463
|
+
},{"100":100,"150":150,"171":171,"29":29,"45":45,"63":63,"73":73,"74":74}],100:[function(_dereq_,module,exports){
|
|
16275
16464
|
/**
|
|
16276
16465
|
* Copyright 2013-2015, Facebook, Inc.
|
|
16277
16466
|
* All rights reserved.
|
|
@@ -16551,7 +16740,7 @@ var ReactUpdates = {
|
|
|
16551
16740
|
|
|
16552
16741
|
module.exports = ReactUpdates;
|
|
16553
16742
|
|
|
16554
|
-
},{}],101:[function(_dereq_,module,exports){
|
|
16743
|
+
},{"116":116,"150":150,"171":171,"29":29,"30":30,"45":45,"7":7,"82":82,"89":89}],101:[function(_dereq_,module,exports){
|
|
16555
16744
|
/**
|
|
16556
16745
|
* Copyright 2013-2015, Facebook, Inc.
|
|
16557
16746
|
* All rights reserved.
|
|
@@ -16643,7 +16832,7 @@ var SVGDOMPropertyConfig = {
|
|
|
16643
16832
|
|
|
16644
16833
|
module.exports = SVGDOMPropertyConfig;
|
|
16645
16834
|
|
|
16646
|
-
},{}],102:[function(_dereq_,module,exports){
|
|
16835
|
+
},{"11":11}],102:[function(_dereq_,module,exports){
|
|
16647
16836
|
/**
|
|
16648
16837
|
* Copyright 2013-2015, Facebook, Inc.
|
|
16649
16838
|
* All rights reserved.
|
|
@@ -16838,7 +17027,7 @@ var SelectEventPlugin = {
|
|
|
16838
17027
|
|
|
16839
17028
|
module.exports = SelectEventPlugin;
|
|
16840
17029
|
|
|
16841
|
-
},{}],103:[function(_dereq_,module,exports){
|
|
17030
|
+
},{"108":108,"136":136,"153":153,"157":157,"16":16,"166":166,"21":21,"71":71}],103:[function(_dereq_,module,exports){
|
|
16842
17031
|
/**
|
|
16843
17032
|
* Copyright 2013-2015, Facebook, Inc.
|
|
16844
17033
|
* All rights reserved.
|
|
@@ -17295,7 +17484,7 @@ var SimpleEventPlugin = {
|
|
|
17295
17484
|
|
|
17296
17485
|
module.exports = SimpleEventPlugin;
|
|
17297
17486
|
|
|
17298
|
-
},{}],105:[function(_dereq_,module,exports){
|
|
17487
|
+
},{"105":105,"107":107,"108":108,"109":109,"111":111,"112":112,"113":113,"114":114,"115":115,"137":137,"150":150,"157":157,"16":16,"171":171,"20":20,"21":21}],105:[function(_dereq_,module,exports){
|
|
17299
17488
|
/**
|
|
17300
17489
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17301
17490
|
* All rights reserved.
|
|
@@ -17340,7 +17529,7 @@ SyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);
|
|
|
17340
17529
|
|
|
17341
17530
|
module.exports = SyntheticClipboardEvent;
|
|
17342
17531
|
|
|
17343
|
-
},{}],106:[function(_dereq_,module,exports){
|
|
17532
|
+
},{"108":108}],106:[function(_dereq_,module,exports){
|
|
17344
17533
|
/**
|
|
17345
17534
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17346
17535
|
* All rights reserved.
|
|
@@ -17385,7 +17574,7 @@ SyntheticEvent.augmentClass(
|
|
|
17385
17574
|
|
|
17386
17575
|
module.exports = SyntheticCompositionEvent;
|
|
17387
17576
|
|
|
17388
|
-
},{}],107:[function(_dereq_,module,exports){
|
|
17577
|
+
},{"108":108}],107:[function(_dereq_,module,exports){
|
|
17389
17578
|
/**
|
|
17390
17579
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17391
17580
|
* All rights reserved.
|
|
@@ -17424,7 +17613,7 @@ SyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);
|
|
|
17424
17613
|
|
|
17425
17614
|
module.exports = SyntheticDragEvent;
|
|
17426
17615
|
|
|
17427
|
-
},{}],108:[function(_dereq_,module,exports){
|
|
17616
|
+
},{"112":112}],108:[function(_dereq_,module,exports){
|
|
17428
17617
|
/**
|
|
17429
17618
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17430
17619
|
* All rights reserved.
|
|
@@ -17590,7 +17779,7 @@ PooledClass.addPoolingTo(SyntheticEvent, PooledClass.threeArgumentPooler);
|
|
|
17590
17779
|
|
|
17591
17780
|
module.exports = SyntheticEvent;
|
|
17592
17781
|
|
|
17593
|
-
},{}],109:[function(_dereq_,module,exports){
|
|
17782
|
+
},{"129":129,"140":140,"29":29,"30":30}],109:[function(_dereq_,module,exports){
|
|
17594
17783
|
/**
|
|
17595
17784
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17596
17785
|
* All rights reserved.
|
|
@@ -17629,7 +17818,7 @@ SyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);
|
|
|
17629
17818
|
|
|
17630
17819
|
module.exports = SyntheticFocusEvent;
|
|
17631
17820
|
|
|
17632
|
-
},{}],110:[function(_dereq_,module,exports){
|
|
17821
|
+
},{"114":114}],110:[function(_dereq_,module,exports){
|
|
17633
17822
|
/**
|
|
17634
17823
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17635
17824
|
* All rights reserved.
|
|
@@ -17675,7 +17864,7 @@ SyntheticEvent.augmentClass(
|
|
|
17675
17864
|
|
|
17676
17865
|
module.exports = SyntheticInputEvent;
|
|
17677
17866
|
|
|
17678
|
-
},{}],111:[function(_dereq_,module,exports){
|
|
17867
|
+
},{"108":108}],111:[function(_dereq_,module,exports){
|
|
17679
17868
|
/**
|
|
17680
17869
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17681
17870
|
* All rights reserved.
|
|
@@ -17762,7 +17951,7 @@ SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);
|
|
|
17762
17951
|
|
|
17763
17952
|
module.exports = SyntheticKeyboardEvent;
|
|
17764
17953
|
|
|
17765
|
-
},{}],112:[function(_dereq_,module,exports){
|
|
17954
|
+
},{"114":114,"137":137,"138":138,"139":139}],112:[function(_dereq_,module,exports){
|
|
17766
17955
|
/**
|
|
17767
17956
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17768
17957
|
* All rights reserved.
|
|
@@ -17843,7 +18032,7 @@ SyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);
|
|
|
17843
18032
|
|
|
17844
18033
|
module.exports = SyntheticMouseEvent;
|
|
17845
18034
|
|
|
17846
|
-
},{}],113:[function(_dereq_,module,exports){
|
|
18035
|
+
},{"114":114,"117":117,"139":139}],113:[function(_dereq_,module,exports){
|
|
17847
18036
|
/**
|
|
17848
18037
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17849
18038
|
* All rights reserved.
|
|
@@ -17891,7 +18080,7 @@ SyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);
|
|
|
17891
18080
|
|
|
17892
18081
|
module.exports = SyntheticTouchEvent;
|
|
17893
18082
|
|
|
17894
|
-
},{}],114:[function(_dereq_,module,exports){
|
|
18083
|
+
},{"114":114,"139":139}],114:[function(_dereq_,module,exports){
|
|
17895
18084
|
/**
|
|
17896
18085
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17897
18086
|
* All rights reserved.
|
|
@@ -17953,7 +18142,7 @@ SyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);
|
|
|
17953
18142
|
|
|
17954
18143
|
module.exports = SyntheticUIEvent;
|
|
17955
18144
|
|
|
17956
|
-
},{}],115:[function(_dereq_,module,exports){
|
|
18145
|
+
},{"108":108,"140":140}],115:[function(_dereq_,module,exports){
|
|
17957
18146
|
/**
|
|
17958
18147
|
* Copyright 2013-2015, Facebook, Inc.
|
|
17959
18148
|
* All rights reserved.
|
|
@@ -18014,7 +18203,7 @@ SyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);
|
|
|
18014
18203
|
|
|
18015
18204
|
module.exports = SyntheticWheelEvent;
|
|
18016
18205
|
|
|
18017
|
-
},{}],116:[function(_dereq_,module,exports){
|
|
18206
|
+
},{"112":112}],116:[function(_dereq_,module,exports){
|
|
18018
18207
|
/**
|
|
18019
18208
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18020
18209
|
* All rights reserved.
|
|
@@ -18078,7 +18267,7 @@ var invariant = _dereq_(150);
|
|
|
18078
18267
|
* content.
|
|
18079
18268
|
* - (Future use case): Wrapping particular flushes of the `ReactWorker` queue
|
|
18080
18269
|
* to preserve the `scrollTop` (an automatic scroll aware DOM).
|
|
18081
|
-
* - (Future use case): Layout calculations before and after DOM
|
|
18270
|
+
* - (Future use case): Layout calculations before and after DOM updates.
|
|
18082
18271
|
*
|
|
18083
18272
|
* Transactional plugin API:
|
|
18084
18273
|
* - A module that has an `initialize` method that returns any precomputation.
|
|
@@ -18253,7 +18442,7 @@ var Transaction = {
|
|
|
18253
18442
|
|
|
18254
18443
|
module.exports = Transaction;
|
|
18255
18444
|
|
|
18256
|
-
},{}],117:[function(_dereq_,module,exports){
|
|
18445
|
+
},{"150":150}],117:[function(_dereq_,module,exports){
|
|
18257
18446
|
/**
|
|
18258
18447
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18259
18448
|
* All rights reserved.
|
|
@@ -18346,7 +18535,7 @@ function accumulateInto(current, next) {
|
|
|
18346
18535
|
|
|
18347
18536
|
module.exports = accumulateInto;
|
|
18348
18537
|
|
|
18349
|
-
},{}],119:[function(_dereq_,module,exports){
|
|
18538
|
+
},{"150":150}],119:[function(_dereq_,module,exports){
|
|
18350
18539
|
/**
|
|
18351
18540
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18352
18541
|
* All rights reserved.
|
|
@@ -18454,7 +18643,7 @@ function camelizeStyleName(string) {
|
|
|
18454
18643
|
|
|
18455
18644
|
module.exports = camelizeStyleName;
|
|
18456
18645
|
|
|
18457
|
-
},{}],122:[function(_dereq_,module,exports){
|
|
18646
|
+
},{"120":120}],122:[function(_dereq_,module,exports){
|
|
18458
18647
|
/**
|
|
18459
18648
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18460
18649
|
* All rights reserved.
|
|
@@ -18463,7 +18652,7 @@ module.exports = camelizeStyleName;
|
|
|
18463
18652
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
18464
18653
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
18465
18654
|
*
|
|
18466
|
-
* @typechecks
|
|
18655
|
+
* @typechecks static-only
|
|
18467
18656
|
* @providesModule cloneWithProps
|
|
18468
18657
|
*/
|
|
18469
18658
|
|
|
@@ -18481,10 +18670,10 @@ var CHILDREN_PROP = keyOf({children: null});
|
|
|
18481
18670
|
* Sometimes you want to change the props of a child passed to you. Usually
|
|
18482
18671
|
* this is to add a CSS class.
|
|
18483
18672
|
*
|
|
18484
|
-
* @param {
|
|
18673
|
+
* @param {ReactElement} child child element you'd like to clone
|
|
18485
18674
|
* @param {object} props props you'd like to modify. className and style will be
|
|
18486
18675
|
* merged automatically.
|
|
18487
|
-
* @return {
|
|
18676
|
+
* @return {ReactElement} a clone of child with props merged in.
|
|
18488
18677
|
*/
|
|
18489
18678
|
function cloneWithProps(child, props) {
|
|
18490
18679
|
if ("production" !== "development") {
|
|
@@ -18511,7 +18700,7 @@ function cloneWithProps(child, props) {
|
|
|
18511
18700
|
|
|
18512
18701
|
module.exports = cloneWithProps;
|
|
18513
18702
|
|
|
18514
|
-
},{}],123:[function(_dereq_,module,exports){
|
|
18703
|
+
},{"157":157,"171":171,"63":63,"83":83}],123:[function(_dereq_,module,exports){
|
|
18515
18704
|
/**
|
|
18516
18705
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18517
18706
|
* All rights reserved.
|
|
@@ -18555,7 +18744,7 @@ function containsNode(outerNode, innerNode) {
|
|
|
18555
18744
|
|
|
18556
18745
|
module.exports = containsNode;
|
|
18557
18746
|
|
|
18558
|
-
},{}],124:[function(_dereq_,module,exports){
|
|
18747
|
+
},{"154":154}],124:[function(_dereq_,module,exports){
|
|
18559
18748
|
/**
|
|
18560
18749
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18561
18750
|
* All rights reserved.
|
|
@@ -18641,7 +18830,7 @@ function createArrayFromMixed(obj) {
|
|
|
18641
18830
|
|
|
18642
18831
|
module.exports = createArrayFromMixed;
|
|
18643
18832
|
|
|
18644
|
-
},{}],125:[function(_dereq_,module,exports){
|
|
18833
|
+
},{"168":168}],125:[function(_dereq_,module,exports){
|
|
18645
18834
|
/**
|
|
18646
18835
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18647
18836
|
* All rights reserved.
|
|
@@ -18677,6 +18866,7 @@ function createFullPageComponent(tag) {
|
|
|
18677
18866
|
var elementFactory = ReactElement.createFactory(tag);
|
|
18678
18867
|
|
|
18679
18868
|
var FullPageComponent = ReactClass.createClass({
|
|
18869
|
+
tagName: tag.toUpperCase(),
|
|
18680
18870
|
displayName: 'ReactFullPageComponent' + tag,
|
|
18681
18871
|
|
|
18682
18872
|
componentWillUnmount: function() {
|
|
@@ -18700,7 +18890,7 @@ function createFullPageComponent(tag) {
|
|
|
18700
18890
|
|
|
18701
18891
|
module.exports = createFullPageComponent;
|
|
18702
18892
|
|
|
18703
|
-
},{}],126:[function(_dereq_,module,exports){
|
|
18893
|
+
},{"150":150,"38":38,"63":63}],126:[function(_dereq_,module,exports){
|
|
18704
18894
|
/**
|
|
18705
18895
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18706
18896
|
* All rights reserved.
|
|
@@ -18788,7 +18978,7 @@ function createNodesFromMarkup(markup, handleScript) {
|
|
|
18788
18978
|
|
|
18789
18979
|
module.exports = createNodesFromMarkup;
|
|
18790
18980
|
|
|
18791
|
-
},{}],127:[function(_dereq_,module,exports){
|
|
18981
|
+
},{"124":124,"142":142,"150":150,"22":22}],127:[function(_dereq_,module,exports){
|
|
18792
18982
|
/**
|
|
18793
18983
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18794
18984
|
* All rights reserved.
|
|
@@ -18815,7 +19005,22 @@ module.exports = createNodesFromMarkup;
|
|
|
18815
19005
|
* @param [string ...] Variable list of classNames in the string case.
|
|
18816
19006
|
* @return string Renderable space-separated CSS className.
|
|
18817
19007
|
*/
|
|
19008
|
+
|
|
19009
|
+
'use strict';
|
|
19010
|
+
var warning = _dereq_(171);
|
|
19011
|
+
|
|
19012
|
+
var warned = false;
|
|
19013
|
+
|
|
18818
19014
|
function cx(classNames) {
|
|
19015
|
+
if ("production" !== "development") {
|
|
19016
|
+
("production" !== "development" ? warning(
|
|
19017
|
+
warned,
|
|
19018
|
+
'React.addons.classSet will be deprecated in a future version. See ' +
|
|
19019
|
+
'http://fb.me/react-addons-classset'
|
|
19020
|
+
) : null);
|
|
19021
|
+
warned = true;
|
|
19022
|
+
}
|
|
19023
|
+
|
|
18819
19024
|
if (typeof classNames == 'object') {
|
|
18820
19025
|
return Object.keys(classNames).filter(function(className) {
|
|
18821
19026
|
return classNames[className];
|
|
@@ -18827,7 +19032,7 @@ function cx(classNames) {
|
|
|
18827
19032
|
|
|
18828
19033
|
module.exports = cx;
|
|
18829
19034
|
|
|
18830
|
-
},{}],128:[function(_dereq_,module,exports){
|
|
19035
|
+
},{"171":171}],128:[function(_dereq_,module,exports){
|
|
18831
19036
|
/**
|
|
18832
19037
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18833
19038
|
* All rights reserved.
|
|
@@ -18885,7 +19090,7 @@ function dangerousStyleValue(name, value) {
|
|
|
18885
19090
|
|
|
18886
19091
|
module.exports = dangerousStyleValue;
|
|
18887
19092
|
|
|
18888
|
-
},{}],129:[function(_dereq_,module,exports){
|
|
19093
|
+
},{"5":5}],129:[function(_dereq_,module,exports){
|
|
18889
19094
|
/**
|
|
18890
19095
|
* Copyright 2013-2015, Facebook, Inc.
|
|
18891
19096
|
* All rights reserved.
|
|
@@ -18995,11 +19200,14 @@ module.exports = escapeTextContentForBrowser;
|
|
|
18995
19200
|
*/
|
|
18996
19201
|
|
|
18997
19202
|
'use strict';
|
|
19203
|
+
|
|
19204
|
+
var ReactCurrentOwner = _dereq_(45);
|
|
18998
19205
|
var ReactInstanceMap = _dereq_(73);
|
|
18999
19206
|
var ReactMount = _dereq_(77);
|
|
19000
19207
|
|
|
19001
19208
|
var invariant = _dereq_(150);
|
|
19002
19209
|
var isNode = _dereq_(152);
|
|
19210
|
+
var warning = _dereq_(171);
|
|
19003
19211
|
|
|
19004
19212
|
/**
|
|
19005
19213
|
* Returns the DOM node rendered by this element.
|
|
@@ -19008,6 +19216,21 @@ var isNode = _dereq_(152);
|
|
|
19008
19216
|
* @return {DOMElement} The root node of this element.
|
|
19009
19217
|
*/
|
|
19010
19218
|
function findDOMNode(componentOrElement) {
|
|
19219
|
+
if ("production" !== "development") {
|
|
19220
|
+
var owner = ReactCurrentOwner.current;
|
|
19221
|
+
if (owner !== null) {
|
|
19222
|
+
("production" !== "development" ? warning(
|
|
19223
|
+
owner._warnedAboutRefsInRender,
|
|
19224
|
+
'%s is accessing getDOMNode or findDOMNode inside its render(). ' +
|
|
19225
|
+
'render() should be a pure function of props and state. It should ' +
|
|
19226
|
+
'never access something that requires stale data from the previous ' +
|
|
19227
|
+
'render, such as refs. Move this logic to componentDidMount and ' +
|
|
19228
|
+
'componentDidUpdate instead.',
|
|
19229
|
+
owner.getName() || 'A component'
|
|
19230
|
+
) : null);
|
|
19231
|
+
owner._warnedAboutRefsInRender = true;
|
|
19232
|
+
}
|
|
19233
|
+
}
|
|
19011
19234
|
if (componentOrElement == null) {
|
|
19012
19235
|
return null;
|
|
19013
19236
|
}
|
|
@@ -19034,7 +19257,7 @@ function findDOMNode(componentOrElement) {
|
|
|
19034
19257
|
|
|
19035
19258
|
module.exports = findDOMNode;
|
|
19036
19259
|
|
|
19037
|
-
},{}],133:[function(_dereq_,module,exports){
|
|
19260
|
+
},{"150":150,"152":152,"171":171,"45":45,"73":73,"77":77}],133:[function(_dereq_,module,exports){
|
|
19038
19261
|
/**
|
|
19039
19262
|
* Copyright 2013-2015, Facebook, Inc.
|
|
19040
19263
|
* All rights reserved.
|
|
@@ -19090,7 +19313,7 @@ function flattenChildren(children) {
|
|
|
19090
19313
|
|
|
19091
19314
|
module.exports = flattenChildren;
|
|
19092
19315
|
|
|
19093
|
-
},{}],134:[function(_dereq_,module,exports){
|
|
19316
|
+
},{"169":169,"171":171}],134:[function(_dereq_,module,exports){
|
|
19094
19317
|
/**
|
|
19095
19318
|
* Copyright 2014-2015, Facebook, Inc.
|
|
19096
19319
|
* All rights reserved.
|
|
@@ -19336,7 +19559,7 @@ function getEventKey(nativeEvent) {
|
|
|
19336
19559
|
|
|
19337
19560
|
module.exports = getEventKey;
|
|
19338
19561
|
|
|
19339
|
-
},{}],139:[function(_dereq_,module,exports){
|
|
19562
|
+
},{"137":137}],139:[function(_dereq_,module,exports){
|
|
19340
19563
|
/**
|
|
19341
19564
|
* Copyright 2013-2015, Facebook, Inc.
|
|
19342
19565
|
* All rights reserved.
|
|
@@ -19573,7 +19796,7 @@ function getMarkupWrap(nodeName) {
|
|
|
19573
19796
|
|
|
19574
19797
|
module.exports = getMarkupWrap;
|
|
19575
19798
|
|
|
19576
|
-
},{}],143:[function(_dereq_,module,exports){
|
|
19799
|
+
},{"150":150,"22":22}],143:[function(_dereq_,module,exports){
|
|
19577
19800
|
/**
|
|
19578
19801
|
* Copyright 2013-2015, Facebook, Inc.
|
|
19579
19802
|
* All rights reserved.
|
|
@@ -19720,7 +19943,7 @@ function getTextContentAccessor() {
|
|
|
19720
19943
|
|
|
19721
19944
|
module.exports = getTextContentAccessor;
|
|
19722
19945
|
|
|
19723
|
-
},{}],146:[function(_dereq_,module,exports){
|
|
19946
|
+
},{"22":22}],146:[function(_dereq_,module,exports){
|
|
19724
19947
|
/**
|
|
19725
19948
|
* Copyright 2013-2015, Facebook, Inc.
|
|
19726
19949
|
* All rights reserved.
|
|
@@ -19834,7 +20057,7 @@ function hyphenateStyleName(string) {
|
|
|
19834
20057
|
|
|
19835
20058
|
module.exports = hyphenateStyleName;
|
|
19836
20059
|
|
|
19837
|
-
},{}],149:[function(_dereq_,module,exports){
|
|
20060
|
+
},{"147":147}],149:[function(_dereq_,module,exports){
|
|
19838
20061
|
/**
|
|
19839
20062
|
* Copyright 2013-2015, Facebook, Inc.
|
|
19840
20063
|
* All rights reserved.
|
|
@@ -19953,6 +20176,7 @@ function instantiateReactComponent(node, parentCompositeType) {
|
|
|
19953
20176
|
|
|
19954
20177
|
if ("production" !== "development") {
|
|
19955
20178
|
instance._isOwnerNecessary = false;
|
|
20179
|
+
instance._warnedAboutRefsInRender = false;
|
|
19956
20180
|
}
|
|
19957
20181
|
|
|
19958
20182
|
// Internal instances should fully constructed at this point, so they should
|
|
@@ -19968,7 +20192,7 @@ function instantiateReactComponent(node, parentCompositeType) {
|
|
|
19968
20192
|
|
|
19969
20193
|
module.exports = instantiateReactComponent;
|
|
19970
20194
|
|
|
19971
|
-
},{}],150:[function(_dereq_,module,exports){
|
|
20195
|
+
},{"150":150,"171":171,"29":29,"43":43,"65":65,"80":80}],150:[function(_dereq_,module,exports){
|
|
19972
20196
|
/**
|
|
19973
20197
|
* Copyright 2013-2015, Facebook, Inc.
|
|
19974
20198
|
* All rights reserved.
|
|
@@ -20088,7 +20312,7 @@ function isEventSupported(eventNameSuffix, capture) {
|
|
|
20088
20312
|
|
|
20089
20313
|
module.exports = isEventSupported;
|
|
20090
20314
|
|
|
20091
|
-
},{}],152:[function(_dereq_,module,exports){
|
|
20315
|
+
},{"22":22}],152:[function(_dereq_,module,exports){
|
|
20092
20316
|
/**
|
|
20093
20317
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20094
20318
|
* All rights reserved.
|
|
@@ -20183,7 +20407,7 @@ function isTextNode(object) {
|
|
|
20183
20407
|
|
|
20184
20408
|
module.exports = isTextNode;
|
|
20185
20409
|
|
|
20186
|
-
},{}],155:[function(_dereq_,module,exports){
|
|
20410
|
+
},{"152":152}],155:[function(_dereq_,module,exports){
|
|
20187
20411
|
/**
|
|
20188
20412
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20189
20413
|
* All rights reserved.
|
|
@@ -20277,7 +20501,7 @@ var keyMirror = function(obj) {
|
|
|
20277
20501
|
|
|
20278
20502
|
module.exports = keyMirror;
|
|
20279
20503
|
|
|
20280
|
-
},{}],157:[function(_dereq_,module,exports){
|
|
20504
|
+
},{"150":150}],157:[function(_dereq_,module,exports){
|
|
20281
20505
|
/**
|
|
20282
20506
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20283
20507
|
* All rights reserved.
|
|
@@ -20437,7 +20661,7 @@ function onlyChild(children) {
|
|
|
20437
20661
|
|
|
20438
20662
|
module.exports = onlyChild;
|
|
20439
20663
|
|
|
20440
|
-
},{}],161:[function(_dereq_,module,exports){
|
|
20664
|
+
},{"150":150,"63":63}],161:[function(_dereq_,module,exports){
|
|
20441
20665
|
/**
|
|
20442
20666
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20443
20667
|
* All rights reserved.
|
|
@@ -20465,7 +20689,7 @@ if (ExecutionEnvironment.canUseDOM) {
|
|
|
20465
20689
|
|
|
20466
20690
|
module.exports = performance || {};
|
|
20467
20691
|
|
|
20468
|
-
},{}],162:[function(_dereq_,module,exports){
|
|
20692
|
+
},{"22":22}],162:[function(_dereq_,module,exports){
|
|
20469
20693
|
/**
|
|
20470
20694
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20471
20695
|
* All rights reserved.
|
|
@@ -20493,7 +20717,7 @@ var performanceNow = performance.now.bind(performance);
|
|
|
20493
20717
|
|
|
20494
20718
|
module.exports = performanceNow;
|
|
20495
20719
|
|
|
20496
|
-
},{}],163:[function(_dereq_,module,exports){
|
|
20720
|
+
},{"161":161}],163:[function(_dereq_,module,exports){
|
|
20497
20721
|
/**
|
|
20498
20722
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20499
20723
|
* All rights reserved.
|
|
@@ -20521,7 +20745,7 @@ function quoteAttributeValueForBrowser(value) {
|
|
|
20521
20745
|
|
|
20522
20746
|
module.exports = quoteAttributeValueForBrowser;
|
|
20523
20747
|
|
|
20524
|
-
},{}],164:[function(_dereq_,module,exports){
|
|
20748
|
+
},{"131":131}],164:[function(_dereq_,module,exports){
|
|
20525
20749
|
/**
|
|
20526
20750
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20527
20751
|
* All rights reserved.
|
|
@@ -20610,7 +20834,7 @@ if (ExecutionEnvironment.canUseDOM) {
|
|
|
20610
20834
|
|
|
20611
20835
|
module.exports = setInnerHTML;
|
|
20612
20836
|
|
|
20613
|
-
},{}],165:[function(_dereq_,module,exports){
|
|
20837
|
+
},{"22":22}],165:[function(_dereq_,module,exports){
|
|
20614
20838
|
/**
|
|
20615
20839
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20616
20840
|
* All rights reserved.
|
|
@@ -20652,7 +20876,7 @@ if (ExecutionEnvironment.canUseDOM) {
|
|
|
20652
20876
|
|
|
20653
20877
|
module.exports = setTextContent;
|
|
20654
20878
|
|
|
20655
|
-
},{}],166:[function(_dereq_,module,exports){
|
|
20879
|
+
},{"131":131,"164":164,"22":22}],166:[function(_dereq_,module,exports){
|
|
20656
20880
|
/**
|
|
20657
20881
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20658
20882
|
* All rights reserved.
|
|
@@ -20798,7 +21022,7 @@ function shouldUpdateReactComponent(prevElement, nextElement) {
|
|
|
20798
21022
|
|
|
20799
21023
|
module.exports = shouldUpdateReactComponent;
|
|
20800
21024
|
|
|
20801
|
-
},{}],168:[function(_dereq_,module,exports){
|
|
21025
|
+
},{"171":171}],168:[function(_dereq_,module,exports){
|
|
20802
21026
|
/**
|
|
20803
21027
|
* Copyright 2014-2015, Facebook, Inc.
|
|
20804
21028
|
* All rights reserved.
|
|
@@ -20868,7 +21092,7 @@ function toArray(obj) {
|
|
|
20868
21092
|
|
|
20869
21093
|
module.exports = toArray;
|
|
20870
21094
|
|
|
20871
|
-
},{}],169:[function(_dereq_,module,exports){
|
|
21095
|
+
},{"150":150}],169:[function(_dereq_,module,exports){
|
|
20872
21096
|
/**
|
|
20873
21097
|
* Copyright 2013-2015, Facebook, Inc.
|
|
20874
21098
|
* All rights reserved.
|
|
@@ -20888,6 +21112,7 @@ var ReactInstanceHandles = _dereq_(72);
|
|
|
20888
21112
|
|
|
20889
21113
|
var getIteratorFn = _dereq_(141);
|
|
20890
21114
|
var invariant = _dereq_(150);
|
|
21115
|
+
var warning = _dereq_(171);
|
|
20891
21116
|
|
|
20892
21117
|
var SEPARATOR = ReactInstanceHandles.SEPARATOR;
|
|
20893
21118
|
var SUBSEPARATOR = ':';
|
|
@@ -20905,6 +21130,8 @@ var userProvidedKeyEscaperLookup = {
|
|
|
20905
21130
|
|
|
20906
21131
|
var userProvidedKeyEscapeRegex = /[=.:]/g;
|
|
20907
21132
|
|
|
21133
|
+
var didWarnAboutMaps = false;
|
|
21134
|
+
|
|
20908
21135
|
function userProvidedKeyEscaper(match) {
|
|
20909
21136
|
return userProvidedKeyEscaperLookup[match];
|
|
20910
21137
|
}
|
|
@@ -21029,6 +21256,15 @@ function traverseAllChildrenImpl(
|
|
|
21029
21256
|
);
|
|
21030
21257
|
}
|
|
21031
21258
|
} else {
|
|
21259
|
+
if ("production" !== "development") {
|
|
21260
|
+
("production" !== "development" ? warning(
|
|
21261
|
+
didWarnAboutMaps,
|
|
21262
|
+
'Using Maps as children is not yet fully supported. It is an ' +
|
|
21263
|
+
'experimental feature that might be removed. Convert it to a ' +
|
|
21264
|
+
'sequence / iterable of keyed ReactElements instead.'
|
|
21265
|
+
) : null);
|
|
21266
|
+
didWarnAboutMaps = true;
|
|
21267
|
+
}
|
|
21032
21268
|
// Iterator will provide entry [k,v] tuples rather than values.
|
|
21033
21269
|
while (!(step = iterator.next()).done) {
|
|
21034
21270
|
var entry = step.value;
|
|
@@ -21107,7 +21343,7 @@ function traverseAllChildren(children, callback, traverseContext) {
|
|
|
21107
21343
|
|
|
21108
21344
|
module.exports = traverseAllChildren;
|
|
21109
21345
|
|
|
21110
|
-
},{}],170:[function(_dereq_,module,exports){
|
|
21346
|
+
},{"141":141,"150":150,"171":171,"63":63,"69":69,"72":72}],170:[function(_dereq_,module,exports){
|
|
21111
21347
|
/**
|
|
21112
21348
|
* Copyright 2013-2015, Facebook, Inc.
|
|
21113
21349
|
* All rights reserved.
|
|
@@ -21273,7 +21509,7 @@ function update(value, spec) {
|
|
|
21273
21509
|
|
|
21274
21510
|
module.exports = update;
|
|
21275
21511
|
|
|
21276
|
-
},{}],171:[function(_dereq_,module,exports){
|
|
21512
|
+
},{"150":150,"157":157,"29":29}],171:[function(_dereq_,module,exports){
|
|
21277
21513
|
/**
|
|
21278
21514
|
* Copyright 2014-2015, Facebook, Inc.
|
|
21279
21515
|
* All rights reserved.
|
|
@@ -21334,5 +21570,5 @@ if ("production" !== "development") {
|
|
|
21334
21570
|
|
|
21335
21571
|
module.exports = warning;
|
|
21336
21572
|
|
|
21337
|
-
},{}]},{},[1])(1)
|
|
21573
|
+
},{"129":129}]},{},[1])(1)
|
|
21338
21574
|
});
|