11 /**
2- * React v15.0.0
2+ * React v15.0.1
33 */
44(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.React = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
55/**
@@ -1841,8 +1841,7 @@ var DOMPropertyOperations = {
18411841 var propName = propertyInfo.propertyName;
18421842 // Must explicitly cast values for HAS_SIDE_EFFECTS-properties to the
18431843 // property type before comparing; only `value` does and is string.
1844- // Must set `value` property if it is not null and not yet set.
1845- if (!propertyInfo.hasSideEffects || '' + node[propName] !== '' + value || !node.hasAttribute(propertyInfo.attributeName)) {
1844+ if (!propertyInfo.hasSideEffects || '' + node[propName] !== '' + value) {
18461845 // Contrary to `setAttribute`, object properties are properly
18471846 // `toString`ed by IE8/9.
18481847 node[propName] = value;
@@ -3713,6 +3712,8 @@ module.exports = PooledClass;
37133712
37143713'use strict';
37153714
3715+ var _assign = _dereq_(167);
3716+
37163717var ReactChildren = _dereq_(27);
37173718var ReactComponent = _dereq_(29);
37183719var ReactClass = _dereq_(28);
@@ -3723,6 +3724,7 @@ var ReactPropTypes = _dereq_(83);
37233724var ReactVersion = _dereq_(93);
37243725
37253726var onlyChild = _dereq_(133);
3727+ var warning = _dereq_(166);
37263728
37273729var createElement = ReactElement.createElement;
37283730var createFactory = ReactElement.createFactory;
@@ -3734,6 +3736,17 @@ if ("development" !== 'production') {
37343736 cloneElement = ReactElementValidator.cloneElement;
37353737}
37363738
3739+ var __spread = _assign;
3740+
3741+ if ("development" !== 'production') {
3742+ var warned = false;
3743+ __spread = function () {
3744+ "development" !== 'production' ? warning(warned, '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;
3745+ warned = true;
3746+ return _assign.apply(null, arguments);
3747+ };
3748+ }
3749+
37373750var React = {
37383751
37393752 // Modern
@@ -3766,11 +3779,14 @@ var React = {
37663779 // since they are just generating DOM strings.
37673780 DOM: ReactDOMFactories,
37683781
3769- version: ReactVersion
3782+ version: ReactVersion,
3783+
3784+ // Deprecated hook for JSX spread, don't use this for anything.
3785+ __spread: __spread
37703786};
37713787
37723788module.exports = React;
3773- },{"133":133,"27":27,"28":28,"29":29,"42":42,"60":60,"61":61,"83":83,"93":93}],25:[function(_dereq_,module,exports){
3789+ },{"133":133,"166":166,"167":167," 27":27,"28":28,"29":29,"42":42,"60":60,"61":61,"83":83,"93":93}],25:[function(_dereq_,module,exports){
37743790/**
37753791 * Copyright 2013-present, Facebook, Inc.
37763792 * All rights reserved.
@@ -6493,6 +6509,11 @@ function putListener() {
64936509 EventPluginHub.putListener(listenerToPut.inst, listenerToPut.registrationName, listenerToPut.listener);
64946510}
64956511
6512+ function optionPostMount() {
6513+ var inst = this;
6514+ ReactDOMOption.postMountWrapper(inst);
6515+ }
6516+
64966517// There are so many media events, it makes sense to just
64976518// maintain a list rather than create a `trapBubbledEvent` for each
64986519var mediaEvents = {
@@ -6801,6 +6822,8 @@ ReactDOMComponent.Mixin = {
68016822 transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);
68026823 }
68036824 break;
6825+ case 'option':
6826+ transaction.getReactMountReady().enqueue(optionPostMount, this);
68046827 }
68056828
68066829 return mountImage;
@@ -8050,6 +8073,7 @@ module.exports = { debugTool: ReactDOMDebugTool };
80508073var _assign = _dereq_(167);
80518074
80528075var ReactChildren = _dereq_(27);
8076+ var ReactDOMComponentTree = _dereq_(38);
80538077var ReactDOMSelect = _dereq_(48);
80548078
80558079var warning = _dereq_(166);
@@ -8091,6 +8115,15 @@ var ReactDOMOption = {
80918115 inst._wrapperState = { selected: selected };
80928116 },
80938117
8118+ postMountWrapper: function (inst) {
8119+ // value="" should make a value attribute (#6219)
8120+ var props = inst._currentElement.props;
8121+ if (props.value != null) {
8122+ var node = ReactDOMComponentTree.getNodeFromInstance(inst);
8123+ node.setAttribute('value', props.value);
8124+ }
8125+ },
8126+
80948127 getNativeProps: function (inst, props) {
80958128 var nativeProps = _assign({ selected: undefined, children: undefined }, props);
80968129
@@ -8125,7 +8158,7 @@ var ReactDOMOption = {
81258158};
81268159
81278160module.exports = ReactDOMOption;
8128- },{"166":166,"167":167,"27":27,"48":48}],48:[function(_dereq_,module,exports){
8161+ },{"166":166,"167":167,"27":27,"38":38," 48":48}],48:[function(_dereq_,module,exports){
81298162/**
81308163 * Copyright 2013-present, Facebook, Inc.
81318164 * All rights reserved.
@@ -13858,7 +13891,7 @@ module.exports = ReactUpdates;
1385813891
1385913892'use strict';
1386013893
13861- module.exports = '15.0.0 ';
13894+ module.exports = '15.0.1 ';
1386213895},{}],94:[function(_dereq_,module,exports){
1386313896/**
1386413897 * Copyright 2013-present, Facebook, Inc.
0 commit comments