react 16.0.0-alpha.2 → 16.0.0-alpha.3
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/react-with-addons.js +269 -257
- package/dist/react-with-addons.min.js +3 -3
- package/dist/react.js +230 -218
- package/dist/react.min.js +3 -3
- package/lib/React.js +4 -12
- package/lib/ReactClass.js +2 -3
- package/lib/ReactDebugCurrentFrame.js +53 -0
- package/lib/ReactElementValidator.js +32 -16
- package/lib/ReactPropTypes.js +11 -22
- package/lib/ReactVersion.js +1 -1
- package/lib/checkPropTypes.js +64 -0
- package/lib/checkReactTypeSpec.js +5 -81
- package/package.json +1 -1
- package/lib/ReactPropTypeLocationNames.js +0 -24
- package/lib/ReactPropTypeLocations.js +0 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React (with addons) v16.0.0-alpha.
|
|
2
|
+
* React (with addons) v16.0.0-alpha.3
|
|
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
|
/**
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
'use strict';
|
|
16
16
|
|
|
17
|
-
var ExecutionEnvironment = _dereq_(
|
|
17
|
+
var ExecutionEnvironment = _dereq_(42);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Generate a mapping of standard vendor prefixes using the defined style property and event name.
|
|
@@ -102,7 +102,7 @@ function getVendorPrefixedEventName(eventName) {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
module.exports = getVendorPrefixedEventName;
|
|
105
|
-
},{"
|
|
105
|
+
},{"42":42}],2:[function(_dereq_,module,exports){
|
|
106
106
|
/**
|
|
107
107
|
* Copyright 2013-present, Facebook, Inc.
|
|
108
108
|
* All rights reserved.
|
|
@@ -175,9 +175,9 @@ module.exports = KeyEscapeUtils;
|
|
|
175
175
|
|
|
176
176
|
'use strict';
|
|
177
177
|
|
|
178
|
-
var _prodInvariant = _dereq_(
|
|
178
|
+
var _prodInvariant = _dereq_(37);
|
|
179
179
|
|
|
180
|
-
var invariant = _dereq_(
|
|
180
|
+
var invariant = _dereq_(45);
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
183
|
* Static poolers. Several custom versions for each potential number of
|
|
@@ -273,7 +273,7 @@ var PooledClass = {
|
|
|
273
273
|
};
|
|
274
274
|
|
|
275
275
|
module.exports = PooledClass;
|
|
276
|
-
},{"
|
|
276
|
+
},{"37":37,"45":45}],4:[function(_dereq_,module,exports){
|
|
277
277
|
/**
|
|
278
278
|
* Copyright 2013-present, Facebook, Inc.
|
|
279
279
|
* All rights reserved.
|
|
@@ -286,43 +286,35 @@ module.exports = PooledClass;
|
|
|
286
286
|
|
|
287
287
|
'use strict';
|
|
288
288
|
|
|
289
|
-
var _assign = _dereq_(47);
|
|
290
|
-
|
|
291
289
|
var ReactBaseClasses = _dereq_(6);
|
|
292
290
|
var ReactChildren = _dereq_(9);
|
|
293
291
|
var ReactClass = _dereq_(10);
|
|
294
292
|
var ReactDOMFactories = _dereq_(14);
|
|
295
|
-
var ReactElement = _dereq_(
|
|
293
|
+
var ReactElement = _dereq_(16);
|
|
296
294
|
var ReactPropTypes = _dereq_(21);
|
|
297
295
|
var ReactVersion = _dereq_(27);
|
|
298
296
|
|
|
299
|
-
var onlyChild = _dereq_(
|
|
300
|
-
var warning = _dereq_(
|
|
297
|
+
var onlyChild = _dereq_(36);
|
|
298
|
+
var warning = _dereq_(47);
|
|
299
|
+
var checkPropTypes = _dereq_(31);
|
|
301
300
|
|
|
302
301
|
var createElement = ReactElement.createElement;
|
|
303
302
|
var createFactory = ReactElement.createFactory;
|
|
304
303
|
var cloneElement = ReactElement.cloneElement;
|
|
305
304
|
|
|
306
305
|
if ("development" !== 'production') {
|
|
307
|
-
var ReactElementValidator = _dereq_(
|
|
306
|
+
var ReactElementValidator = _dereq_(18);
|
|
308
307
|
createElement = ReactElementValidator.createElement;
|
|
309
308
|
createFactory = ReactElementValidator.createFactory;
|
|
310
309
|
cloneElement = ReactElementValidator.cloneElement;
|
|
311
310
|
}
|
|
312
311
|
|
|
313
|
-
var __spread = _assign;
|
|
314
312
|
var createMixin = function (mixin) {
|
|
315
313
|
return mixin;
|
|
316
314
|
};
|
|
317
315
|
|
|
318
316
|
if ("development" !== 'production') {
|
|
319
|
-
var warnedForSpread = false;
|
|
320
317
|
var warnedForCreateMixin = false;
|
|
321
|
-
__spread = function () {
|
|
322
|
-
"development" !== 'production' ? warning(warnedForSpread, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.') : void 0;
|
|
323
|
-
warnedForSpread = true;
|
|
324
|
-
return _assign.apply(null, arguments);
|
|
325
|
-
};
|
|
326
318
|
|
|
327
319
|
createMixin = function (mixin) {
|
|
328
320
|
"development" !== 'production' ? warning(warnedForCreateMixin, 'React.createMixin is deprecated and should not be used. You ' + 'can use this mixin directly instead.') : void 0;
|
|
@@ -350,6 +342,8 @@ var React = {
|
|
|
350
342
|
cloneElement: cloneElement,
|
|
351
343
|
isValidElement: ReactElement.isValidElement,
|
|
352
344
|
|
|
345
|
+
checkPropTypes: checkPropTypes,
|
|
346
|
+
|
|
353
347
|
// Classic
|
|
354
348
|
|
|
355
349
|
PropTypes: ReactPropTypes,
|
|
@@ -361,14 +355,12 @@ var React = {
|
|
|
361
355
|
// since they are just generating DOM strings.
|
|
362
356
|
DOM: ReactDOMFactories,
|
|
363
357
|
|
|
364
|
-
version: ReactVersion
|
|
358
|
+
version: ReactVersion
|
|
365
359
|
|
|
366
|
-
// Deprecated hook for JSX spread, don't use this for anything.
|
|
367
|
-
__spread: __spread
|
|
368
360
|
};
|
|
369
361
|
|
|
370
362
|
module.exports = React;
|
|
371
|
-
},{"10":10,"14":14,"
|
|
363
|
+
},{"10":10,"14":14,"16":16,"18":18,"21":21,"27":27,"31":31,"36":36,"47":47,"6":6,"9":9}],5:[function(_dereq_,module,exports){
|
|
372
364
|
/**
|
|
373
365
|
* Copyright 2013-present, Facebook, Inc.
|
|
374
366
|
* All rights reserved.
|
|
@@ -417,15 +409,15 @@ if ("development" !== 'production') {
|
|
|
417
409
|
|
|
418
410
|
'use strict';
|
|
419
411
|
|
|
420
|
-
var _prodInvariant = _dereq_(
|
|
421
|
-
_assign = _dereq_(
|
|
412
|
+
var _prodInvariant = _dereq_(37),
|
|
413
|
+
_assign = _dereq_(48);
|
|
422
414
|
|
|
423
|
-
var ReactNoopUpdateQueue = _dereq_(
|
|
415
|
+
var ReactNoopUpdateQueue = _dereq_(20);
|
|
424
416
|
|
|
425
417
|
var canDefineProperty = _dereq_(30);
|
|
426
|
-
var emptyObject = _dereq_(
|
|
427
|
-
var invariant = _dereq_(
|
|
428
|
-
var warning = _dereq_(
|
|
418
|
+
var emptyObject = _dereq_(44);
|
|
419
|
+
var invariant = _dereq_(45);
|
|
420
|
+
var warning = _dereq_(47);
|
|
429
421
|
|
|
430
422
|
/**
|
|
431
423
|
* Base class helpers for the updating state of a component.
|
|
@@ -541,7 +533,7 @@ module.exports = {
|
|
|
541
533
|
Component: ReactComponent,
|
|
542
534
|
PureComponent: ReactPureComponent
|
|
543
535
|
};
|
|
544
|
-
},{"
|
|
536
|
+
},{"20":20,"30":30,"37":37,"44":44,"45":45,"47":47,"48":48}],7:[function(_dereq_,module,exports){
|
|
545
537
|
/**
|
|
546
538
|
* Copyright 2013-present, Facebook, Inc.
|
|
547
539
|
* All rights reserved.
|
|
@@ -554,7 +546,7 @@ module.exports = {
|
|
|
554
546
|
|
|
555
547
|
'use strict';
|
|
556
548
|
|
|
557
|
-
var _assign = _dereq_(
|
|
549
|
+
var _assign = _dereq_(48);
|
|
558
550
|
|
|
559
551
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
560
552
|
|
|
@@ -646,7 +638,7 @@ ReactCSSTransitionGroup.defaultProps = {
|
|
|
646
638
|
|
|
647
639
|
|
|
648
640
|
module.exports = ReactCSSTransitionGroup;
|
|
649
|
-
},{"25":25,"4":4,"
|
|
641
|
+
},{"25":25,"4":4,"48":48,"8":8}],8:[function(_dereq_,module,exports){
|
|
650
642
|
/**
|
|
651
643
|
* Copyright 2013-present, Facebook, Inc.
|
|
652
644
|
* All rights reserved.
|
|
@@ -662,10 +654,10 @@ module.exports = ReactCSSTransitionGroup;
|
|
|
662
654
|
var React = _dereq_(4);
|
|
663
655
|
var ReactAddonsDOMDependencies = _dereq_(5);
|
|
664
656
|
|
|
665
|
-
var CSSCore = _dereq_(
|
|
657
|
+
var CSSCore = _dereq_(41);
|
|
666
658
|
var ReactTransitionEvents = _dereq_(24);
|
|
667
659
|
|
|
668
|
-
var onlyChild = _dereq_(
|
|
660
|
+
var onlyChild = _dereq_(36);
|
|
669
661
|
|
|
670
662
|
var TICK = 17;
|
|
671
663
|
|
|
@@ -813,7 +805,7 @@ var ReactCSSTransitionGroupChild = React.createClass({
|
|
|
813
805
|
});
|
|
814
806
|
|
|
815
807
|
module.exports = ReactCSSTransitionGroupChild;
|
|
816
|
-
},{"24":24,"
|
|
808
|
+
},{"24":24,"36":36,"4":4,"41":41,"5":5}],9:[function(_dereq_,module,exports){
|
|
817
809
|
/**
|
|
818
810
|
* Copyright 2013-present, Facebook, Inc.
|
|
819
811
|
* All rights reserved.
|
|
@@ -827,10 +819,10 @@ module.exports = ReactCSSTransitionGroupChild;
|
|
|
827
819
|
'use strict';
|
|
828
820
|
|
|
829
821
|
var PooledClass = _dereq_(3);
|
|
830
|
-
var ReactElement = _dereq_(
|
|
822
|
+
var ReactElement = _dereq_(16);
|
|
831
823
|
|
|
832
|
-
var emptyFunction = _dereq_(
|
|
833
|
-
var traverseAllChildren = _dereq_(
|
|
824
|
+
var emptyFunction = _dereq_(43);
|
|
825
|
+
var traverseAllChildren = _dereq_(39);
|
|
834
826
|
|
|
835
827
|
var twoArgumentPooler = PooledClass.twoArgumentPooler;
|
|
836
828
|
var fourArgumentPooler = PooledClass.fourArgumentPooler;
|
|
@@ -1004,7 +996,7 @@ var ReactChildren = {
|
|
|
1004
996
|
};
|
|
1005
997
|
|
|
1006
998
|
module.exports = ReactChildren;
|
|
1007
|
-
},{"
|
|
999
|
+
},{"16":16,"3":3,"39":39,"43":43}],10:[function(_dereq_,module,exports){
|
|
1008
1000
|
/**
|
|
1009
1001
|
* Copyright 2013-present, Facebook, Inc.
|
|
1010
1002
|
* All rights reserved.
|
|
@@ -1017,17 +1009,16 @@ module.exports = ReactChildren;
|
|
|
1017
1009
|
|
|
1018
1010
|
'use strict';
|
|
1019
1011
|
|
|
1020
|
-
var _prodInvariant = _dereq_(
|
|
1021
|
-
_assign = _dereq_(
|
|
1012
|
+
var _prodInvariant = _dereq_(37),
|
|
1013
|
+
_assign = _dereq_(48);
|
|
1022
1014
|
|
|
1023
1015
|
var ReactBaseClasses = _dereq_(6);
|
|
1024
|
-
var ReactElement = _dereq_(
|
|
1025
|
-
var
|
|
1026
|
-
var ReactNoopUpdateQueue = _dereq_(19);
|
|
1016
|
+
var ReactElement = _dereq_(16);
|
|
1017
|
+
var ReactNoopUpdateQueue = _dereq_(20);
|
|
1027
1018
|
|
|
1028
|
-
var emptyObject = _dereq_(
|
|
1029
|
-
var invariant = _dereq_(
|
|
1030
|
-
var warning = _dereq_(
|
|
1019
|
+
var emptyObject = _dereq_(44);
|
|
1020
|
+
var invariant = _dereq_(45);
|
|
1021
|
+
var warning = _dereq_(47);
|
|
1031
1022
|
|
|
1032
1023
|
var ReactComponent = ReactBaseClasses.Component;
|
|
1033
1024
|
|
|
@@ -1310,7 +1301,7 @@ var RESERVED_SPEC_KEYS = {
|
|
|
1310
1301
|
},
|
|
1311
1302
|
childContextTypes: function (Constructor, childContextTypes) {
|
|
1312
1303
|
if ("development" !== 'production') {
|
|
1313
|
-
validateTypeDef(Constructor, childContextTypes, '
|
|
1304
|
+
validateTypeDef(Constructor, childContextTypes, 'child context');
|
|
1314
1305
|
}
|
|
1315
1306
|
Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, childContextTypes);
|
|
1316
1307
|
},
|
|
@@ -1347,7 +1338,7 @@ function validateTypeDef(Constructor, typeDef, location) {
|
|
|
1347
1338
|
if (typeDef.hasOwnProperty(propName)) {
|
|
1348
1339
|
// use a warning instead of an invariant so components
|
|
1349
1340
|
// don't show up in prod but only in __DEV__
|
|
1350
|
-
"development" !== 'production' ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass',
|
|
1341
|
+
"development" !== 'production' ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', location, propName) : void 0;
|
|
1351
1342
|
}
|
|
1352
1343
|
}
|
|
1353
1344
|
}
|
|
@@ -1709,7 +1700,7 @@ var ReactClass = {
|
|
|
1709
1700
|
};
|
|
1710
1701
|
|
|
1711
1702
|
module.exports = ReactClass;
|
|
1712
|
-
},{"
|
|
1703
|
+
},{"16":16,"20":20,"37":37,"44":44,"45":45,"47":47,"48":48,"6":6}],11:[function(_dereq_,module,exports){
|
|
1713
1704
|
/**
|
|
1714
1705
|
* Copyright 2016-present, Facebook, Inc.
|
|
1715
1706
|
* All rights reserved.
|
|
@@ -1723,7 +1714,7 @@ module.exports = ReactClass;
|
|
|
1723
1714
|
|
|
1724
1715
|
'use strict';
|
|
1725
1716
|
|
|
1726
|
-
var _prodInvariant = _dereq_(
|
|
1717
|
+
var _prodInvariant = _dereq_(37);
|
|
1727
1718
|
|
|
1728
1719
|
var ReactCurrentOwner = _dereq_(13);
|
|
1729
1720
|
var ReactTypeOfWork = _dereq_(26);
|
|
@@ -1733,9 +1724,9 @@ var IndeterminateComponent = ReactTypeOfWork.IndeterminateComponent,
|
|
|
1733
1724
|
HostComponent = ReactTypeOfWork.HostComponent;
|
|
1734
1725
|
|
|
1735
1726
|
|
|
1736
|
-
var getComponentName = _dereq_(
|
|
1737
|
-
var invariant = _dereq_(
|
|
1738
|
-
var warning = _dereq_(
|
|
1727
|
+
var getComponentName = _dereq_(34);
|
|
1728
|
+
var invariant = _dereq_(45);
|
|
1729
|
+
var warning = _dereq_(47);
|
|
1739
1730
|
|
|
1740
1731
|
function isNative(fn) {
|
|
1741
1732
|
// Based on isNative() from Lodash
|
|
@@ -2091,7 +2082,7 @@ var ReactComponentTreeHook = {
|
|
|
2091
2082
|
};
|
|
2092
2083
|
|
|
2093
2084
|
module.exports = ReactComponentTreeHook;
|
|
2094
|
-
},{"13":13,"26":26,"
|
|
2085
|
+
},{"13":13,"26":26,"34":34,"37":37,"45":45,"47":47}],12:[function(_dereq_,module,exports){
|
|
2095
2086
|
/**
|
|
2096
2087
|
* Copyright 2013-present, Facebook, Inc.
|
|
2097
2088
|
* All rights reserved.
|
|
@@ -2104,7 +2095,7 @@ module.exports = ReactComponentTreeHook;
|
|
|
2104
2095
|
|
|
2105
2096
|
'use strict';
|
|
2106
2097
|
|
|
2107
|
-
var shallowCompare = _dereq_(
|
|
2098
|
+
var shallowCompare = _dereq_(38);
|
|
2108
2099
|
|
|
2109
2100
|
/**
|
|
2110
2101
|
* If your React component's render function is "pure", e.g. it will render the
|
|
@@ -2139,7 +2130,7 @@ var ReactComponentWithPureRenderMixin = {
|
|
|
2139
2130
|
};
|
|
2140
2131
|
|
|
2141
2132
|
module.exports = ReactComponentWithPureRenderMixin;
|
|
2142
|
-
},{"
|
|
2133
|
+
},{"38":38}],13:[function(_dereq_,module,exports){
|
|
2143
2134
|
/**
|
|
2144
2135
|
* Copyright 2013-present, Facebook, Inc.
|
|
2145
2136
|
* All rights reserved.
|
|
@@ -2183,7 +2174,7 @@ module.exports = ReactCurrentOwner;
|
|
|
2183
2174
|
|
|
2184
2175
|
'use strict';
|
|
2185
2176
|
|
|
2186
|
-
var ReactElement = _dereq_(
|
|
2177
|
+
var ReactElement = _dereq_(16);
|
|
2187
2178
|
|
|
2188
2179
|
/**
|
|
2189
2180
|
* Create a factory that creates HTML tag elements.
|
|
@@ -2192,7 +2183,7 @@ var ReactElement = _dereq_(15);
|
|
|
2192
2183
|
*/
|
|
2193
2184
|
var createDOMFactory = ReactElement.createFactory;
|
|
2194
2185
|
if ("development" !== 'production') {
|
|
2195
|
-
var ReactElementValidator = _dereq_(
|
|
2186
|
+
var ReactElementValidator = _dereq_(18);
|
|
2196
2187
|
createDOMFactory = ReactElementValidator.createFactory;
|
|
2197
2188
|
}
|
|
2198
2189
|
|
|
@@ -2340,7 +2331,61 @@ var ReactDOMFactories = {
|
|
|
2340
2331
|
};
|
|
2341
2332
|
|
|
2342
2333
|
module.exports = ReactDOMFactories;
|
|
2343
|
-
},{"
|
|
2334
|
+
},{"16":16,"18":18}],15:[function(_dereq_,module,exports){
|
|
2335
|
+
/**
|
|
2336
|
+
* Copyright 2013-present, Facebook, Inc.
|
|
2337
|
+
* All rights reserved.
|
|
2338
|
+
*
|
|
2339
|
+
* This source code is licensed under the BSD-style license found in the
|
|
2340
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
|
2341
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
|
2342
|
+
*
|
|
2343
|
+
*
|
|
2344
|
+
*/
|
|
2345
|
+
|
|
2346
|
+
'use strict';
|
|
2347
|
+
|
|
2348
|
+
var ReactDebugCurrentFrame = {};
|
|
2349
|
+
|
|
2350
|
+
if ("development" !== 'production') {
|
|
2351
|
+
var _require = _dereq_(11),
|
|
2352
|
+
getStackAddendumByID = _require.getStackAddendumByID,
|
|
2353
|
+
getStackAddendumByWorkInProgressFiber = _require.getStackAddendumByWorkInProgressFiber,
|
|
2354
|
+
getCurrentStackAddendum = _require.getCurrentStackAddendum;
|
|
2355
|
+
|
|
2356
|
+
// Component that is being worked on
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
ReactDebugCurrentFrame.current = null;
|
|
2360
|
+
|
|
2361
|
+
// Element that is being cloned or created
|
|
2362
|
+
ReactDebugCurrentFrame.element = null;
|
|
2363
|
+
|
|
2364
|
+
ReactDebugCurrentFrame.getStackAddendum = function () {
|
|
2365
|
+
var stack = null;
|
|
2366
|
+
var current = ReactDebugCurrentFrame.current;
|
|
2367
|
+
var element = ReactDebugCurrentFrame.element;
|
|
2368
|
+
if (current !== null) {
|
|
2369
|
+
if (typeof current === 'number') {
|
|
2370
|
+
// DebugID from Stack.
|
|
2371
|
+
var debugID = current;
|
|
2372
|
+
stack = getStackAddendumByID(debugID);
|
|
2373
|
+
} else if (typeof current.tag === 'number') {
|
|
2374
|
+
// This is a Fiber.
|
|
2375
|
+
// The stack will only be correct if this is a work in progress
|
|
2376
|
+
// version and we're calling it during reconciliation.
|
|
2377
|
+
var workInProgress = current;
|
|
2378
|
+
stack = getStackAddendumByWorkInProgressFiber(workInProgress);
|
|
2379
|
+
}
|
|
2380
|
+
} else if (element !== null) {
|
|
2381
|
+
stack = getCurrentStackAddendum(element);
|
|
2382
|
+
}
|
|
2383
|
+
return stack;
|
|
2384
|
+
};
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
module.exports = ReactDebugCurrentFrame;
|
|
2388
|
+
},{"11":11}],16:[function(_dereq_,module,exports){
|
|
2344
2389
|
/**
|
|
2345
2390
|
* Copyright 2014-present, Facebook, Inc.
|
|
2346
2391
|
* All rights reserved.
|
|
@@ -2353,15 +2398,15 @@ module.exports = ReactDOMFactories;
|
|
|
2353
2398
|
|
|
2354
2399
|
'use strict';
|
|
2355
2400
|
|
|
2356
|
-
var _assign = _dereq_(
|
|
2401
|
+
var _assign = _dereq_(48);
|
|
2357
2402
|
|
|
2358
2403
|
var ReactCurrentOwner = _dereq_(13);
|
|
2359
2404
|
|
|
2360
|
-
var warning = _dereq_(
|
|
2405
|
+
var warning = _dereq_(47);
|
|
2361
2406
|
var canDefineProperty = _dereq_(30);
|
|
2362
2407
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2363
2408
|
|
|
2364
|
-
var REACT_ELEMENT_TYPE = _dereq_(
|
|
2409
|
+
var REACT_ELEMENT_TYPE = _dereq_(17);
|
|
2365
2410
|
|
|
2366
2411
|
var RESERVED_PROPS = {
|
|
2367
2412
|
key: true,
|
|
@@ -2681,7 +2726,7 @@ ReactElement.isValidElement = function (object) {
|
|
|
2681
2726
|
};
|
|
2682
2727
|
|
|
2683
2728
|
module.exports = ReactElement;
|
|
2684
|
-
},{"13":13,"
|
|
2729
|
+
},{"13":13,"17":17,"30":30,"47":47,"48":48}],17:[function(_dereq_,module,exports){
|
|
2685
2730
|
/**
|
|
2686
2731
|
* Copyright 2014-present, Facebook, Inc.
|
|
2687
2732
|
* All rights reserved.
|
|
@@ -2701,7 +2746,7 @@ module.exports = ReactElement;
|
|
|
2701
2746
|
var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;
|
|
2702
2747
|
|
|
2703
2748
|
module.exports = REACT_ELEMENT_TYPE;
|
|
2704
|
-
},{}],
|
|
2749
|
+
},{}],18:[function(_dereq_,module,exports){
|
|
2705
2750
|
/**
|
|
2706
2751
|
* Copyright 2014-present, Facebook, Inc.
|
|
2707
2752
|
* All rights reserved.
|
|
@@ -2723,14 +2768,18 @@ module.exports = REACT_ELEMENT_TYPE;
|
|
|
2723
2768
|
|
|
2724
2769
|
var ReactCurrentOwner = _dereq_(13);
|
|
2725
2770
|
var ReactComponentTreeHook = _dereq_(11);
|
|
2726
|
-
var ReactElement = _dereq_(
|
|
2771
|
+
var ReactElement = _dereq_(16);
|
|
2727
2772
|
|
|
2728
|
-
var checkReactTypeSpec = _dereq_(
|
|
2773
|
+
var checkReactTypeSpec = _dereq_(32);
|
|
2729
2774
|
|
|
2730
2775
|
var canDefineProperty = _dereq_(30);
|
|
2731
|
-
var getComponentName = _dereq_(
|
|
2732
|
-
var getIteratorFn = _dereq_(
|
|
2733
|
-
|
|
2776
|
+
var getComponentName = _dereq_(34);
|
|
2777
|
+
var getIteratorFn = _dereq_(35);
|
|
2778
|
+
|
|
2779
|
+
if ("development" !== 'production') {
|
|
2780
|
+
var warning = _dereq_(47);
|
|
2781
|
+
var ReactDebugCurrentFrame = _dereq_(15);
|
|
2782
|
+
}
|
|
2734
2783
|
|
|
2735
2784
|
function getDeclarationErrorAddendum() {
|
|
2736
2785
|
if (ReactCurrentOwner.current) {
|
|
@@ -2863,7 +2912,7 @@ function validatePropTypes(element) {
|
|
|
2863
2912
|
}
|
|
2864
2913
|
var name = componentClass.displayName || componentClass.name;
|
|
2865
2914
|
if (componentClass.propTypes) {
|
|
2866
|
-
checkReactTypeSpec(componentClass.propTypes, element.props, 'prop', name
|
|
2915
|
+
checkReactTypeSpec(componentClass.propTypes, element.props, 'prop', name);
|
|
2867
2916
|
}
|
|
2868
2917
|
if (typeof componentClass.getDefaultProps === 'function') {
|
|
2869
2918
|
"development" !== 'production' ? warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;
|
|
@@ -2877,23 +2926,21 @@ var ReactElementValidator = {
|
|
|
2877
2926
|
// We warn in this case but don't throw. We expect the element creation to
|
|
2878
2927
|
// succeed and there will likely be errors in render.
|
|
2879
2928
|
if (!validType) {
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
}
|
|
2929
|
+
var info = '';
|
|
2930
|
+
if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {
|
|
2931
|
+
info += ' You likely forgot to export your component from the file ' + 'it\'s defined in.';
|
|
2932
|
+
}
|
|
2885
2933
|
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2934
|
+
var sourceInfo = getSourceInfoErrorAddendum(props);
|
|
2935
|
+
if (sourceInfo) {
|
|
2936
|
+
info += sourceInfo;
|
|
2937
|
+
} else {
|
|
2938
|
+
info += getDeclarationErrorAddendum();
|
|
2939
|
+
}
|
|
2892
2940
|
|
|
2893
|
-
|
|
2941
|
+
info += ReactComponentTreeHook.getCurrentStackAddendum();
|
|
2894
2942
|
|
|
2895
|
-
|
|
2896
|
-
}
|
|
2943
|
+
"development" !== 'production' ? warning(false, 'React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', type == null ? type : typeof type, info) : void 0;
|
|
2897
2944
|
}
|
|
2898
2945
|
|
|
2899
2946
|
var element = ReactElement.createElement.apply(this, arguments);
|
|
@@ -2904,6 +2951,10 @@ var ReactElementValidator = {
|
|
|
2904
2951
|
return element;
|
|
2905
2952
|
}
|
|
2906
2953
|
|
|
2954
|
+
if ("development" !== 'production') {
|
|
2955
|
+
ReactDebugCurrentFrame.element = element;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2907
2958
|
// Skip key warning if the type isn't valid since our key validation logic
|
|
2908
2959
|
// doesn't expect a non-string/function type and can throw confusing errors.
|
|
2909
2960
|
// We don't want exception behavior to differ between dev and prod.
|
|
@@ -2917,6 +2968,10 @@ var ReactElementValidator = {
|
|
|
2917
2968
|
|
|
2918
2969
|
validatePropTypes(element);
|
|
2919
2970
|
|
|
2971
|
+
if ("development" !== 'production') {
|
|
2972
|
+
ReactDebugCurrentFrame.element = null;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2920
2975
|
return element;
|
|
2921
2976
|
},
|
|
2922
2977
|
|
|
@@ -2945,17 +3000,23 @@ var ReactElementValidator = {
|
|
|
2945
3000
|
|
|
2946
3001
|
cloneElement: function (element, props, children) {
|
|
2947
3002
|
var newElement = ReactElement.cloneElement.apply(this, arguments);
|
|
3003
|
+
if ("development" !== 'production') {
|
|
3004
|
+
ReactDebugCurrentFrame.element = newElement;
|
|
3005
|
+
}
|
|
2948
3006
|
for (var i = 2; i < arguments.length; i++) {
|
|
2949
3007
|
validateChildKeys(arguments[i], newElement.type);
|
|
2950
3008
|
}
|
|
2951
3009
|
validatePropTypes(newElement);
|
|
3010
|
+
if ("development" !== 'production') {
|
|
3011
|
+
ReactDebugCurrentFrame.element = null;
|
|
3012
|
+
}
|
|
2952
3013
|
return newElement;
|
|
2953
3014
|
}
|
|
2954
3015
|
|
|
2955
3016
|
};
|
|
2956
3017
|
|
|
2957
3018
|
module.exports = ReactElementValidator;
|
|
2958
|
-
},{"11":11,"13":13,"15":15,"
|
|
3019
|
+
},{"11":11,"13":13,"15":15,"16":16,"30":30,"32":32,"34":34,"35":35,"47":47}],19:[function(_dereq_,module,exports){
|
|
2959
3020
|
/**
|
|
2960
3021
|
* Copyright 2015-present, Facebook, Inc.
|
|
2961
3022
|
* All rights reserved.
|
|
@@ -2968,14 +3029,14 @@ module.exports = ReactElementValidator;
|
|
|
2968
3029
|
|
|
2969
3030
|
'use strict';
|
|
2970
3031
|
|
|
2971
|
-
var _prodInvariant = _dereq_(
|
|
3032
|
+
var _prodInvariant = _dereq_(37);
|
|
2972
3033
|
|
|
2973
3034
|
var ReactChildren = _dereq_(9);
|
|
2974
|
-
var ReactElement = _dereq_(
|
|
3035
|
+
var ReactElement = _dereq_(16);
|
|
2975
3036
|
|
|
2976
|
-
var emptyFunction = _dereq_(
|
|
2977
|
-
var invariant = _dereq_(
|
|
2978
|
-
var warning = _dereq_(
|
|
3037
|
+
var emptyFunction = _dereq_(43);
|
|
3038
|
+
var invariant = _dereq_(45);
|
|
3039
|
+
var warning = _dereq_(47);
|
|
2979
3040
|
|
|
2980
3041
|
/**
|
|
2981
3042
|
* We used to allow keyed objects to serve as a collection of ReactElements,
|
|
@@ -3024,7 +3085,7 @@ var ReactFragment = {
|
|
|
3024
3085
|
};
|
|
3025
3086
|
|
|
3026
3087
|
module.exports = ReactFragment;
|
|
3027
|
-
},{"
|
|
3088
|
+
},{"16":16,"37":37,"43":43,"45":45,"47":47,"9":9}],20:[function(_dereq_,module,exports){
|
|
3028
3089
|
/**
|
|
3029
3090
|
* Copyright 2015-present, Facebook, Inc.
|
|
3030
3091
|
* All rights reserved.
|
|
@@ -3037,7 +3098,7 @@ module.exports = ReactFragment;
|
|
|
3037
3098
|
|
|
3038
3099
|
'use strict';
|
|
3039
3100
|
|
|
3040
|
-
var warning = _dereq_(
|
|
3101
|
+
var warning = _dereq_(47);
|
|
3041
3102
|
|
|
3042
3103
|
function warnNoop(publicInstance, callerName) {
|
|
3043
3104
|
if ("development" !== 'production') {
|
|
@@ -3116,32 +3177,7 @@ var ReactNoopUpdateQueue = {
|
|
|
3116
3177
|
};
|
|
3117
3178
|
|
|
3118
3179
|
module.exports = ReactNoopUpdateQueue;
|
|
3119
|
-
},{"
|
|
3120
|
-
/**
|
|
3121
|
-
* Copyright 2013-present, Facebook, Inc.
|
|
3122
|
-
* All rights reserved.
|
|
3123
|
-
*
|
|
3124
|
-
* This source code is licensed under the BSD-style license found in the
|
|
3125
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
3126
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
3127
|
-
*
|
|
3128
|
-
*
|
|
3129
|
-
*/
|
|
3130
|
-
|
|
3131
|
-
'use strict';
|
|
3132
|
-
|
|
3133
|
-
var ReactPropTypeLocationNames = {};
|
|
3134
|
-
|
|
3135
|
-
if ("development" !== 'production') {
|
|
3136
|
-
ReactPropTypeLocationNames = {
|
|
3137
|
-
prop: 'prop',
|
|
3138
|
-
context: 'context',
|
|
3139
|
-
childContext: 'child context'
|
|
3140
|
-
};
|
|
3141
|
-
}
|
|
3142
|
-
|
|
3143
|
-
module.exports = ReactPropTypeLocationNames;
|
|
3144
|
-
},{}],21:[function(_dereq_,module,exports){
|
|
3180
|
+
},{"47":47}],21:[function(_dereq_,module,exports){
|
|
3145
3181
|
/**
|
|
3146
3182
|
* Copyright 2013-present, Facebook, Inc.
|
|
3147
3183
|
* All rights reserved.
|
|
@@ -3154,16 +3190,15 @@ module.exports = ReactPropTypeLocationNames;
|
|
|
3154
3190
|
|
|
3155
3191
|
'use strict';
|
|
3156
3192
|
|
|
3157
|
-
var _prodInvariant = _dereq_(
|
|
3193
|
+
var _prodInvariant = _dereq_(37);
|
|
3158
3194
|
|
|
3159
|
-
var ReactElement = _dereq_(
|
|
3160
|
-
var ReactPropTypeLocationNames = _dereq_(20);
|
|
3195
|
+
var ReactElement = _dereq_(16);
|
|
3161
3196
|
var ReactPropTypesSecret = _dereq_(22);
|
|
3162
3197
|
|
|
3163
|
-
var emptyFunction = _dereq_(
|
|
3164
|
-
var getIteratorFn = _dereq_(
|
|
3165
|
-
var invariant = _dereq_(
|
|
3166
|
-
var warning = _dereq_(
|
|
3198
|
+
var emptyFunction = _dereq_(43);
|
|
3199
|
+
var getIteratorFn = _dereq_(35);
|
|
3200
|
+
var invariant = _dereq_(45);
|
|
3201
|
+
var warning = _dereq_(47);
|
|
3167
3202
|
|
|
3168
3203
|
/**
|
|
3169
3204
|
* Collection of methods that allow declaration and validation of props that are
|
|
@@ -3316,12 +3351,11 @@ function createChainableTypeChecker(validate) {
|
|
|
3316
3351
|
}
|
|
3317
3352
|
}
|
|
3318
3353
|
if (props[propName] == null) {
|
|
3319
|
-
var locationName = ReactPropTypeLocationNames[location];
|
|
3320
3354
|
if (isRequired) {
|
|
3321
3355
|
if (props[propName] === null) {
|
|
3322
|
-
return new PropTypeError('The ' +
|
|
3356
|
+
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
|
|
3323
3357
|
}
|
|
3324
|
-
return new PropTypeError('The ' +
|
|
3358
|
+
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
|
|
3325
3359
|
}
|
|
3326
3360
|
return null;
|
|
3327
3361
|
} else {
|
|
@@ -3340,13 +3374,12 @@ function createPrimitiveTypeChecker(expectedType) {
|
|
|
3340
3374
|
var propValue = props[propName];
|
|
3341
3375
|
var propType = getPropType(propValue);
|
|
3342
3376
|
if (propType !== expectedType) {
|
|
3343
|
-
var locationName = ReactPropTypeLocationNames[location];
|
|
3344
3377
|
// `propValue` being instance of, say, date/regexp, pass the 'object'
|
|
3345
3378
|
// check, but we can offer a more precise error message here rather than
|
|
3346
3379
|
// 'of type `object`'.
|
|
3347
3380
|
var preciseType = getPreciseType(propValue);
|
|
3348
3381
|
|
|
3349
|
-
return new PropTypeError('Invalid ' +
|
|
3382
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
|
|
3350
3383
|
}
|
|
3351
3384
|
return null;
|
|
3352
3385
|
}
|
|
@@ -3364,9 +3397,8 @@ function createArrayOfTypeChecker(typeChecker) {
|
|
|
3364
3397
|
}
|
|
3365
3398
|
var propValue = props[propName];
|
|
3366
3399
|
if (!Array.isArray(propValue)) {
|
|
3367
|
-
var locationName = ReactPropTypeLocationNames[location];
|
|
3368
3400
|
var propType = getPropType(propValue);
|
|
3369
|
-
return new PropTypeError('Invalid ' +
|
|
3401
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
3370
3402
|
}
|
|
3371
3403
|
for (var i = 0; i < propValue.length; i++) {
|
|
3372
3404
|
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
|
|
@@ -3383,9 +3415,8 @@ function createElementTypeChecker() {
|
|
|
3383
3415
|
function validate(props, propName, componentName, location, propFullName) {
|
|
3384
3416
|
var propValue = props[propName];
|
|
3385
3417
|
if (!ReactElement.isValidElement(propValue)) {
|
|
3386
|
-
var locationName = ReactPropTypeLocationNames[location];
|
|
3387
3418
|
var propType = getPropType(propValue);
|
|
3388
|
-
return new PropTypeError('Invalid ' +
|
|
3419
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
|
|
3389
3420
|
}
|
|
3390
3421
|
return null;
|
|
3391
3422
|
}
|
|
@@ -3395,10 +3426,9 @@ function createElementTypeChecker() {
|
|
|
3395
3426
|
function createInstanceTypeChecker(expectedClass) {
|
|
3396
3427
|
function validate(props, propName, componentName, location, propFullName) {
|
|
3397
3428
|
if (!(props[propName] instanceof expectedClass)) {
|
|
3398
|
-
var locationName = ReactPropTypeLocationNames[location];
|
|
3399
3429
|
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
3400
3430
|
var actualClassName = getClassName(props[propName]);
|
|
3401
|
-
return new PropTypeError('Invalid ' +
|
|
3431
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
|
|
3402
3432
|
}
|
|
3403
3433
|
return null;
|
|
3404
3434
|
}
|
|
@@ -3419,9 +3449,8 @@ function createEnumTypeChecker(expectedValues) {
|
|
|
3419
3449
|
}
|
|
3420
3450
|
}
|
|
3421
3451
|
|
|
3422
|
-
var locationName = ReactPropTypeLocationNames[location];
|
|
3423
3452
|
var valuesString = JSON.stringify(expectedValues);
|
|
3424
|
-
return new PropTypeError('Invalid ' +
|
|
3453
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
|
|
3425
3454
|
}
|
|
3426
3455
|
return createChainableTypeChecker(validate);
|
|
3427
3456
|
}
|
|
@@ -3434,8 +3463,7 @@ function createObjectOfTypeChecker(typeChecker) {
|
|
|
3434
3463
|
var propValue = props[propName];
|
|
3435
3464
|
var propType = getPropType(propValue);
|
|
3436
3465
|
if (propType !== 'object') {
|
|
3437
|
-
|
|
3438
|
-
return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
3466
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
3439
3467
|
}
|
|
3440
3468
|
for (var key in propValue) {
|
|
3441
3469
|
if (propValue.hasOwnProperty(key)) {
|
|
@@ -3464,8 +3492,7 @@ function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
|
3464
3492
|
}
|
|
3465
3493
|
}
|
|
3466
3494
|
|
|
3467
|
-
|
|
3468
|
-
return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
|
|
3495
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
|
|
3469
3496
|
}
|
|
3470
3497
|
return createChainableTypeChecker(validate);
|
|
3471
3498
|
}
|
|
@@ -3473,8 +3500,7 @@ function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
|
3473
3500
|
function createNodeChecker() {
|
|
3474
3501
|
function validate(props, propName, componentName, location, propFullName) {
|
|
3475
3502
|
if (!isNode(props[propName])) {
|
|
3476
|
-
|
|
3477
|
-
return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
|
|
3503
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
|
|
3478
3504
|
}
|
|
3479
3505
|
return null;
|
|
3480
3506
|
}
|
|
@@ -3486,8 +3512,7 @@ function createShapeTypeChecker(shapeTypes) {
|
|
|
3486
3512
|
var propValue = props[propName];
|
|
3487
3513
|
var propType = getPropType(propValue);
|
|
3488
3514
|
if (propType !== 'object') {
|
|
3489
|
-
|
|
3490
|
-
return new PropTypeError('Invalid ' + locationName + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
3515
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
3491
3516
|
}
|
|
3492
3517
|
for (var key in shapeTypes) {
|
|
3493
3518
|
var checker = shapeTypes[key];
|
|
@@ -3611,7 +3636,7 @@ function getClassName(propValue) {
|
|
|
3611
3636
|
}
|
|
3612
3637
|
|
|
3613
3638
|
module.exports = ReactPropTypes;
|
|
3614
|
-
},{"
|
|
3639
|
+
},{"16":16,"22":22,"35":35,"37":37,"43":43,"45":45,"47":47}],22:[function(_dereq_,module,exports){
|
|
3615
3640
|
/**
|
|
3616
3641
|
* Copyright 2013-present, Facebook, Inc.
|
|
3617
3642
|
* All rights reserved.
|
|
@@ -3641,7 +3666,7 @@ module.exports = ReactPropTypesSecret;
|
|
|
3641
3666
|
|
|
3642
3667
|
'use strict';
|
|
3643
3668
|
|
|
3644
|
-
var flattenChildren = _dereq_(
|
|
3669
|
+
var flattenChildren = _dereq_(33);
|
|
3645
3670
|
|
|
3646
3671
|
var ReactTransitionChildMapping = {
|
|
3647
3672
|
/**
|
|
@@ -3731,7 +3756,7 @@ var ReactTransitionChildMapping = {
|
|
|
3731
3756
|
};
|
|
3732
3757
|
|
|
3733
3758
|
module.exports = ReactTransitionChildMapping;
|
|
3734
|
-
},{"
|
|
3759
|
+
},{"33":33}],24:[function(_dereq_,module,exports){
|
|
3735
3760
|
/**
|
|
3736
3761
|
* Copyright 2013-present, Facebook, Inc.
|
|
3737
3762
|
* All rights reserved.
|
|
@@ -3744,7 +3769,7 @@ module.exports = ReactTransitionChildMapping;
|
|
|
3744
3769
|
|
|
3745
3770
|
'use strict';
|
|
3746
3771
|
|
|
3747
|
-
var ExecutionEnvironment = _dereq_(
|
|
3772
|
+
var ExecutionEnvironment = _dereq_(42);
|
|
3748
3773
|
|
|
3749
3774
|
var getVendorPrefixedEventName = _dereq_(1);
|
|
3750
3775
|
|
|
@@ -3804,7 +3829,7 @@ var ReactTransitionEvents = {
|
|
|
3804
3829
|
};
|
|
3805
3830
|
|
|
3806
3831
|
module.exports = ReactTransitionEvents;
|
|
3807
|
-
},{"1":1,"
|
|
3832
|
+
},{"1":1,"42":42}],25:[function(_dereq_,module,exports){
|
|
3808
3833
|
/**
|
|
3809
3834
|
* Copyright 2013-present, Facebook, Inc.
|
|
3810
3835
|
* All rights reserved.
|
|
@@ -3817,7 +3842,7 @@ module.exports = ReactTransitionEvents;
|
|
|
3817
3842
|
|
|
3818
3843
|
'use strict';
|
|
3819
3844
|
|
|
3820
|
-
var _assign = _dereq_(
|
|
3845
|
+
var _assign = _dereq_(48);
|
|
3821
3846
|
|
|
3822
3847
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3823
3848
|
|
|
@@ -3828,7 +3853,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
3828
3853
|
var React = _dereq_(4);
|
|
3829
3854
|
var ReactTransitionChildMapping = _dereq_(23);
|
|
3830
3855
|
|
|
3831
|
-
var emptyFunction = _dereq_(
|
|
3856
|
+
var emptyFunction = _dereq_(43);
|
|
3832
3857
|
|
|
3833
3858
|
/**
|
|
3834
3859
|
* A basis for animations. When children are declaratively added or removed,
|
|
@@ -4033,7 +4058,7 @@ ReactTransitionGroup.defaultProps = {
|
|
|
4033
4058
|
|
|
4034
4059
|
|
|
4035
4060
|
module.exports = ReactTransitionGroup;
|
|
4036
|
-
},{"23":23,"4":4,"
|
|
4061
|
+
},{"23":23,"4":4,"43":43,"48":48}],26:[function(_dereq_,module,exports){
|
|
4037
4062
|
/**
|
|
4038
4063
|
* Copyright 2013-present, Facebook, Inc.
|
|
4039
4064
|
* All rights reserved.
|
|
@@ -4073,7 +4098,7 @@ module.exports = {
|
|
|
4073
4098
|
|
|
4074
4099
|
'use strict';
|
|
4075
4100
|
|
|
4076
|
-
module.exports = '16.0.0-alpha.
|
|
4101
|
+
module.exports = '16.0.0-alpha.3';
|
|
4077
4102
|
},{}],28:[function(_dereq_,module,exports){
|
|
4078
4103
|
/**
|
|
4079
4104
|
* Copyright 2013-present, Facebook, Inc.
|
|
@@ -4091,11 +4116,11 @@ var React = _dereq_(4);
|
|
|
4091
4116
|
var ReactAddonsDOMDependencies = _dereq_(5);
|
|
4092
4117
|
var ReactComponentWithPureRenderMixin = _dereq_(12);
|
|
4093
4118
|
var ReactCSSTransitionGroup = _dereq_(7);
|
|
4094
|
-
var ReactFragment = _dereq_(
|
|
4119
|
+
var ReactFragment = _dereq_(19);
|
|
4095
4120
|
var ReactTransitionGroup = _dereq_(25);
|
|
4096
4121
|
|
|
4097
|
-
var shallowCompare = _dereq_(
|
|
4098
|
-
var update = _dereq_(
|
|
4122
|
+
var shallowCompare = _dereq_(38);
|
|
4123
|
+
var update = _dereq_(40);
|
|
4099
4124
|
|
|
4100
4125
|
React.addons = {
|
|
4101
4126
|
CSSTransitionGroup: ReactCSSTransitionGroup,
|
|
@@ -4125,7 +4150,7 @@ if ("development" !== 'production') {
|
|
|
4125
4150
|
}
|
|
4126
4151
|
|
|
4127
4152
|
module.exports = React;
|
|
4128
|
-
},{"12":12,"
|
|
4153
|
+
},{"12":12,"19":19,"25":25,"38":38,"4":4,"40":40,"5":5,"7":7}],29:[function(_dereq_,module,exports){
|
|
4129
4154
|
/**
|
|
4130
4155
|
* Copyright 2013-present, Facebook, Inc.
|
|
4131
4156
|
* All rights reserved.
|
|
@@ -4138,7 +4163,7 @@ module.exports = React;
|
|
|
4138
4163
|
|
|
4139
4164
|
'use strict';
|
|
4140
4165
|
|
|
4141
|
-
var _assign = _dereq_(
|
|
4166
|
+
var _assign = _dereq_(48);
|
|
4142
4167
|
|
|
4143
4168
|
var ReactWithAddons = _dereq_(28);
|
|
4144
4169
|
|
|
@@ -4158,7 +4183,7 @@ if ("development" !== 'production') {
|
|
|
4158
4183
|
}
|
|
4159
4184
|
|
|
4160
4185
|
module.exports = ReactWithAddonsUMDEntry;
|
|
4161
|
-
},{"11":11,"13":13,"28":28,"
|
|
4186
|
+
},{"11":11,"13":13,"28":28,"48":48}],30:[function(_dereq_,module,exports){
|
|
4162
4187
|
/**
|
|
4163
4188
|
* Copyright 2013-present, Facebook, Inc.
|
|
4164
4189
|
* All rights reserved.
|
|
@@ -4185,7 +4210,6 @@ if ("development" !== 'production') {
|
|
|
4185
4210
|
|
|
4186
4211
|
module.exports = canDefineProperty;
|
|
4187
4212
|
},{}],31:[function(_dereq_,module,exports){
|
|
4188
|
-
(function (process){
|
|
4189
4213
|
/**
|
|
4190
4214
|
* Copyright 2013-present, Facebook, Inc.
|
|
4191
4215
|
* All rights reserved.
|
|
@@ -4198,24 +4222,12 @@ module.exports = canDefineProperty;
|
|
|
4198
4222
|
|
|
4199
4223
|
'use strict';
|
|
4200
4224
|
|
|
4201
|
-
var _prodInvariant = _dereq_(
|
|
4225
|
+
var _prodInvariant = _dereq_(37);
|
|
4202
4226
|
|
|
4203
|
-
var ReactPropTypeLocationNames = _dereq_(20);
|
|
4204
4227
|
var ReactPropTypesSecret = _dereq_(22);
|
|
4205
4228
|
|
|
4206
|
-
var invariant = _dereq_(
|
|
4207
|
-
var warning = _dereq_(
|
|
4208
|
-
|
|
4209
|
-
var ReactComponentTreeHook;
|
|
4210
|
-
|
|
4211
|
-
if (typeof process !== 'undefined' && process.env && "development" === 'test') {
|
|
4212
|
-
// Temporary hack.
|
|
4213
|
-
// Inline requires don't work well with Jest:
|
|
4214
|
-
// https://github.com/facebook/react/issues/7240
|
|
4215
|
-
// Remove the inline requires when we don't need them anymore:
|
|
4216
|
-
// https://github.com/facebook/react/pull/7178
|
|
4217
|
-
ReactComponentTreeHook = _dereq_(11);
|
|
4218
|
-
}
|
|
4229
|
+
var invariant = _dereq_(45);
|
|
4230
|
+
var warning = _dereq_(47);
|
|
4219
4231
|
|
|
4220
4232
|
var loggedTypeFailures = {};
|
|
4221
4233
|
|
|
@@ -4227,65 +4239,65 @@ var loggedTypeFailures = {};
|
|
|
4227
4239
|
* @param {object} values Runtime values that need to be type-checked
|
|
4228
4240
|
* @param {string} location e.g. "prop", "context", "child context"
|
|
4229
4241
|
* @param {string} componentName Name of the component for error messages.
|
|
4230
|
-
* @param {?
|
|
4231
|
-
* @param {?number} workInProgressOrDebugID The React component instance that is being type-checked
|
|
4242
|
+
* @param {?Function} getStack Returns the component stack.
|
|
4232
4243
|
* @private
|
|
4233
4244
|
*/
|
|
4234
|
-
function
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
loggedTypeFailures[error.message] = true;
|
|
4245
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
4246
|
+
if ("development" !== 'production') {
|
|
4247
|
+
for (var typeSpecName in typeSpecs) {
|
|
4248
|
+
if (typeSpecs.hasOwnProperty(typeSpecName)) {
|
|
4249
|
+
var error;
|
|
4250
|
+
// Prop type validation may throw. In case they do, we don't want to
|
|
4251
|
+
// fail the render phase where it didn't fail before. So we log it.
|
|
4252
|
+
// After these have been cleaned up, we'll let them throw.
|
|
4253
|
+
try {
|
|
4254
|
+
// This is intentionally an invariant that gets caught. It's the same
|
|
4255
|
+
// behavior as without this statement except with a better message.
|
|
4256
|
+
!(typeof typeSpecs[typeSpecName] === 'function') ? "development" !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.', componentName || 'React class', location, typeSpecName) : _prodInvariant('84', componentName || 'React class', location, typeSpecName) : void 0;
|
|
4257
|
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
4258
|
+
} catch (ex) {
|
|
4259
|
+
error = ex;
|
|
4260
|
+
}
|
|
4261
|
+
"development" !== 'production' ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error) : void 0;
|
|
4262
|
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
4263
|
+
// Only monitor this failure once because there tends to be a lot of the
|
|
4264
|
+
// same error.
|
|
4265
|
+
loggedTypeFailures[error.message] = true;
|
|
4256
4266
|
|
|
4257
|
-
|
|
4267
|
+
var stack = getStack ? getStack() : '';
|
|
4258
4268
|
|
|
4259
|
-
|
|
4260
|
-
if (!ReactComponentTreeHook) {
|
|
4261
|
-
ReactComponentTreeHook = _dereq_(11);
|
|
4262
|
-
}
|
|
4263
|
-
if (workInProgressOrDebugID != null) {
|
|
4264
|
-
if (typeof workInProgressOrDebugID === 'number') {
|
|
4265
|
-
// DebugID from Stack.
|
|
4266
|
-
var debugID = workInProgressOrDebugID;
|
|
4267
|
-
componentStackInfo = ReactComponentTreeHook.getStackAddendumByID(debugID);
|
|
4268
|
-
} else if (typeof workInProgressOrDebugID.tag === 'number') {
|
|
4269
|
-
// This is a Fiber.
|
|
4270
|
-
// The stack will only be correct if this is a work in progress
|
|
4271
|
-
// version and we're calling it during reconciliation.
|
|
4272
|
-
var workInProgress = workInProgressOrDebugID;
|
|
4273
|
-
componentStackInfo = ReactComponentTreeHook.getStackAddendumByWorkInProgressFiber(workInProgress);
|
|
4274
|
-
}
|
|
4275
|
-
} else if (element !== null) {
|
|
4276
|
-
componentStackInfo = ReactComponentTreeHook.getCurrentStackAddendum(element);
|
|
4277
|
-
}
|
|
4269
|
+
"development" !== 'production' ? warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '') : void 0;
|
|
4278
4270
|
}
|
|
4279
|
-
|
|
4280
|
-
"development" !== 'production' ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0;
|
|
4281
4271
|
}
|
|
4282
4272
|
}
|
|
4283
4273
|
}
|
|
4284
4274
|
}
|
|
4285
4275
|
|
|
4276
|
+
module.exports = checkPropTypes;
|
|
4277
|
+
},{"22":22,"37":37,"45":45,"47":47}],32:[function(_dereq_,module,exports){
|
|
4278
|
+
/**
|
|
4279
|
+
* Copyright 2013-present, Facebook, Inc.
|
|
4280
|
+
* All rights reserved.
|
|
4281
|
+
*
|
|
4282
|
+
* This source code is licensed under the BSD-style license found in the
|
|
4283
|
+
* LICENSE file in the root directory of this source tree. An additional grant
|
|
4284
|
+
* of patent rights can be found in the PATENTS file in the same directory.
|
|
4285
|
+
*
|
|
4286
|
+
*/
|
|
4287
|
+
|
|
4288
|
+
'use strict';
|
|
4289
|
+
|
|
4290
|
+
var checkPropTypes = _dereq_(31);
|
|
4291
|
+
|
|
4292
|
+
var _require = _dereq_(15),
|
|
4293
|
+
getStackAddendum = _require.getStackAddendum;
|
|
4294
|
+
|
|
4295
|
+
function checkReactTypeSpec(typeSpecs, values, location, componentName) {
|
|
4296
|
+
checkPropTypes(typeSpecs, values, location, componentName, getStackAddendum);
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4286
4299
|
module.exports = checkReactTypeSpec;
|
|
4287
|
-
}
|
|
4288
|
-
},{"11":11,"20":20,"22":22,"36":36,"44":44,"46":46}],32:[function(_dereq_,module,exports){
|
|
4300
|
+
},{"15":15,"31":31}],33:[function(_dereq_,module,exports){
|
|
4289
4301
|
(function (process){
|
|
4290
4302
|
/**
|
|
4291
4303
|
* Copyright 2013-present, Facebook, Inc.
|
|
@@ -4301,8 +4313,8 @@ module.exports = checkReactTypeSpec;
|
|
|
4301
4313
|
'use strict';
|
|
4302
4314
|
|
|
4303
4315
|
var KeyEscapeUtils = _dereq_(2);
|
|
4304
|
-
var traverseAllChildren = _dereq_(
|
|
4305
|
-
var warning = _dereq_(
|
|
4316
|
+
var traverseAllChildren = _dereq_(39);
|
|
4317
|
+
var warning = _dereq_(47);
|
|
4306
4318
|
|
|
4307
4319
|
var ReactComponentTreeHook;
|
|
4308
4320
|
|
|
@@ -4363,7 +4375,7 @@ function flattenChildren(children, selfDebugID) {
|
|
|
4363
4375
|
|
|
4364
4376
|
module.exports = flattenChildren;
|
|
4365
4377
|
}).call(this,undefined)
|
|
4366
|
-
},{"11":11,"2":2,"
|
|
4378
|
+
},{"11":11,"2":2,"39":39,"47":47}],34:[function(_dereq_,module,exports){
|
|
4367
4379
|
/**
|
|
4368
4380
|
* Copyright 2013-present, Facebook, Inc.
|
|
4369
4381
|
* All rights reserved.
|
|
@@ -4399,7 +4411,7 @@ function getComponentName(instanceOrFiber) {
|
|
|
4399
4411
|
}
|
|
4400
4412
|
|
|
4401
4413
|
module.exports = getComponentName;
|
|
4402
|
-
},{}],
|
|
4414
|
+
},{}],35:[function(_dereq_,module,exports){
|
|
4403
4415
|
/**
|
|
4404
4416
|
* Copyright 2013-present, Facebook, Inc.
|
|
4405
4417
|
* All rights reserved.
|
|
@@ -4440,7 +4452,7 @@ function getIteratorFn(maybeIterable) {
|
|
|
4440
4452
|
}
|
|
4441
4453
|
|
|
4442
4454
|
module.exports = getIteratorFn;
|
|
4443
|
-
},{}],
|
|
4455
|
+
},{}],36:[function(_dereq_,module,exports){
|
|
4444
4456
|
/**
|
|
4445
4457
|
* Copyright 2013-present, Facebook, Inc.
|
|
4446
4458
|
* All rights reserved.
|
|
@@ -4452,11 +4464,11 @@ module.exports = getIteratorFn;
|
|
|
4452
4464
|
*/
|
|
4453
4465
|
'use strict';
|
|
4454
4466
|
|
|
4455
|
-
var _prodInvariant = _dereq_(
|
|
4467
|
+
var _prodInvariant = _dereq_(37);
|
|
4456
4468
|
|
|
4457
|
-
var ReactElement = _dereq_(
|
|
4469
|
+
var ReactElement = _dereq_(16);
|
|
4458
4470
|
|
|
4459
|
-
var invariant = _dereq_(
|
|
4471
|
+
var invariant = _dereq_(45);
|
|
4460
4472
|
|
|
4461
4473
|
/**
|
|
4462
4474
|
* Returns the first child in a collection of children and verifies that there
|
|
@@ -4478,7 +4490,7 @@ function onlyChild(children) {
|
|
|
4478
4490
|
}
|
|
4479
4491
|
|
|
4480
4492
|
module.exports = onlyChild;
|
|
4481
|
-
},{"
|
|
4493
|
+
},{"16":16,"37":37,"45":45}],37:[function(_dereq_,module,exports){
|
|
4482
4494
|
/**
|
|
4483
4495
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4484
4496
|
* All rights reserved.
|
|
@@ -4517,7 +4529,7 @@ function reactProdInvariant(code) {
|
|
|
4517
4529
|
}
|
|
4518
4530
|
|
|
4519
4531
|
module.exports = reactProdInvariant;
|
|
4520
|
-
},{}],
|
|
4532
|
+
},{}],38:[function(_dereq_,module,exports){
|
|
4521
4533
|
/**
|
|
4522
4534
|
* Copyright 2013-present, Facebook, Inc.
|
|
4523
4535
|
* All rights reserved.
|
|
@@ -4530,7 +4542,7 @@ module.exports = reactProdInvariant;
|
|
|
4530
4542
|
|
|
4531
4543
|
'use strict';
|
|
4532
4544
|
|
|
4533
|
-
var shallowEqual = _dereq_(
|
|
4545
|
+
var shallowEqual = _dereq_(46);
|
|
4534
4546
|
|
|
4535
4547
|
/**
|
|
4536
4548
|
* Does a shallow comparison for props and state.
|
|
@@ -4542,7 +4554,7 @@ function shallowCompare(instance, nextProps, nextState) {
|
|
|
4542
4554
|
}
|
|
4543
4555
|
|
|
4544
4556
|
module.exports = shallowCompare;
|
|
4545
|
-
},{"
|
|
4557
|
+
},{"46":46}],39:[function(_dereq_,module,exports){
|
|
4546
4558
|
/**
|
|
4547
4559
|
* Copyright 2013-present, Facebook, Inc.
|
|
4548
4560
|
* All rights reserved.
|
|
@@ -4555,15 +4567,15 @@ module.exports = shallowCompare;
|
|
|
4555
4567
|
|
|
4556
4568
|
'use strict';
|
|
4557
4569
|
|
|
4558
|
-
var _prodInvariant = _dereq_(
|
|
4570
|
+
var _prodInvariant = _dereq_(37);
|
|
4559
4571
|
|
|
4560
4572
|
var ReactCurrentOwner = _dereq_(13);
|
|
4561
|
-
var REACT_ELEMENT_TYPE = _dereq_(
|
|
4573
|
+
var REACT_ELEMENT_TYPE = _dereq_(17);
|
|
4562
4574
|
|
|
4563
|
-
var getIteratorFn = _dereq_(
|
|
4564
|
-
var invariant = _dereq_(
|
|
4575
|
+
var getIteratorFn = _dereq_(35);
|
|
4576
|
+
var invariant = _dereq_(45);
|
|
4565
4577
|
var KeyEscapeUtils = _dereq_(2);
|
|
4566
|
-
var warning = _dereq_(
|
|
4578
|
+
var warning = _dereq_(47);
|
|
4567
4579
|
|
|
4568
4580
|
var SEPARATOR = '.';
|
|
4569
4581
|
var SUBSEPARATOR = ':';
|
|
@@ -4707,7 +4719,7 @@ function traverseAllChildren(children, callback, traverseContext) {
|
|
|
4707
4719
|
}
|
|
4708
4720
|
|
|
4709
4721
|
module.exports = traverseAllChildren;
|
|
4710
|
-
},{"13":13,"
|
|
4722
|
+
},{"13":13,"17":17,"2":2,"35":35,"37":37,"45":45,"47":47}],40:[function(_dereq_,module,exports){
|
|
4711
4723
|
/**
|
|
4712
4724
|
* Copyright 2013-present, Facebook, Inc.
|
|
4713
4725
|
* All rights reserved.
|
|
@@ -4722,10 +4734,10 @@ module.exports = traverseAllChildren;
|
|
|
4722
4734
|
|
|
4723
4735
|
'use strict';
|
|
4724
4736
|
|
|
4725
|
-
var _prodInvariant = _dereq_(
|
|
4726
|
-
_assign = _dereq_(
|
|
4737
|
+
var _prodInvariant = _dereq_(37),
|
|
4738
|
+
_assign = _dereq_(48);
|
|
4727
4739
|
|
|
4728
|
-
var invariant = _dereq_(
|
|
4740
|
+
var invariant = _dereq_(45);
|
|
4729
4741
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
4730
4742
|
|
|
4731
4743
|
function shallowCopy(x) {
|
|
@@ -4819,7 +4831,7 @@ function update(value, spec) {
|
|
|
4819
4831
|
}
|
|
4820
4832
|
|
|
4821
4833
|
module.exports = update;
|
|
4822
|
-
},{"
|
|
4834
|
+
},{"37":37,"45":45,"48":48}],41:[function(_dereq_,module,exports){
|
|
4823
4835
|
'use strict';
|
|
4824
4836
|
|
|
4825
4837
|
/**
|
|
@@ -4833,7 +4845,7 @@ module.exports = update;
|
|
|
4833
4845
|
* @typechecks
|
|
4834
4846
|
*/
|
|
4835
4847
|
|
|
4836
|
-
var invariant = _dereq_(
|
|
4848
|
+
var invariant = _dereq_(45);
|
|
4837
4849
|
|
|
4838
4850
|
/**
|
|
4839
4851
|
* The CSSCore module specifies the API (and implements most of the methods)
|
|
@@ -4941,7 +4953,7 @@ var CSSCore = {
|
|
|
4941
4953
|
};
|
|
4942
4954
|
|
|
4943
4955
|
module.exports = CSSCore;
|
|
4944
|
-
},{"
|
|
4956
|
+
},{"45":45}],42:[function(_dereq_,module,exports){
|
|
4945
4957
|
/**
|
|
4946
4958
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
4947
4959
|
* All rights reserved.
|
|
@@ -4977,7 +4989,7 @@ var ExecutionEnvironment = {
|
|
|
4977
4989
|
};
|
|
4978
4990
|
|
|
4979
4991
|
module.exports = ExecutionEnvironment;
|
|
4980
|
-
},{}],
|
|
4992
|
+
},{}],43:[function(_dereq_,module,exports){
|
|
4981
4993
|
"use strict";
|
|
4982
4994
|
|
|
4983
4995
|
/**
|
|
@@ -5016,7 +5028,7 @@ emptyFunction.thatReturnsArgument = function (arg) {
|
|
|
5016
5028
|
};
|
|
5017
5029
|
|
|
5018
5030
|
module.exports = emptyFunction;
|
|
5019
|
-
},{}],
|
|
5031
|
+
},{}],44:[function(_dereq_,module,exports){
|
|
5020
5032
|
/**
|
|
5021
5033
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5022
5034
|
* All rights reserved.
|
|
@@ -5036,7 +5048,7 @@ if ("development" !== 'production') {
|
|
|
5036
5048
|
}
|
|
5037
5049
|
|
|
5038
5050
|
module.exports = emptyObject;
|
|
5039
|
-
},{}],
|
|
5051
|
+
},{}],45:[function(_dereq_,module,exports){
|
|
5040
5052
|
/**
|
|
5041
5053
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5042
5054
|
* All rights reserved.
|
|
@@ -5092,7 +5104,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
|
|
5092
5104
|
}
|
|
5093
5105
|
|
|
5094
5106
|
module.exports = invariant;
|
|
5095
|
-
},{}],
|
|
5107
|
+
},{}],46:[function(_dereq_,module,exports){
|
|
5096
5108
|
/**
|
|
5097
5109
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
5098
5110
|
* All rights reserved.
|
|
@@ -5160,7 +5172,7 @@ function shallowEqual(objA, objB) {
|
|
|
5160
5172
|
}
|
|
5161
5173
|
|
|
5162
5174
|
module.exports = shallowEqual;
|
|
5163
|
-
},{}],
|
|
5175
|
+
},{}],47:[function(_dereq_,module,exports){
|
|
5164
5176
|
/**
|
|
5165
5177
|
* Copyright 2014-2015, Facebook, Inc.
|
|
5166
5178
|
* All rights reserved.
|
|
@@ -5173,7 +5185,7 @@ module.exports = shallowEqual;
|
|
|
5173
5185
|
|
|
5174
5186
|
'use strict';
|
|
5175
5187
|
|
|
5176
|
-
var emptyFunction = _dereq_(
|
|
5188
|
+
var emptyFunction = _dereq_(43);
|
|
5177
5189
|
|
|
5178
5190
|
/**
|
|
5179
5191
|
* Similar to invariant but only logs a warning if the condition is not met.
|
|
@@ -5227,7 +5239,7 @@ if ("development" !== 'production') {
|
|
|
5227
5239
|
}
|
|
5228
5240
|
|
|
5229
5241
|
module.exports = warning;
|
|
5230
|
-
},{"
|
|
5242
|
+
},{"43":43}],48:[function(_dereq_,module,exports){
|
|
5231
5243
|
/*
|
|
5232
5244
|
object-assign
|
|
5233
5245
|
(c) Sindre Sorhus
|