react-rails 1.6.2 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/assets/javascripts/react_ujs.js +1 -0
  5. data/lib/assets/javascripts/react_ujs_event_setup.js +2 -0
  6. data/lib/assets/javascripts/react_ujs_mount.js +2 -7
  7. data/lib/assets/javascripts/react_ujs_pjax.js +10 -0
  8. data/lib/assets/javascripts/react_ujs_turbolinks.js +1 -1
  9. data/lib/assets/react-source/development-with-addons/react-server.js +16152 -15809
  10. data/lib/assets/react-source/development-with-addons/react.js +16039 -15899
  11. data/lib/assets/react-source/development/react-addons-create-fragment.js +749 -1064
  12. data/lib/assets/react-source/development/react-addons-css-transition-group.js +15531 -15193
  13. data/lib/assets/react-source/development/react-addons-linked-state-mixin.js +2434 -18445
  14. data/lib/assets/react-source/development/react-addons-perf.js +5551 -5461
  15. data/lib/assets/react-source/development/react-addons-pure-render-mixin.js +32 -16
  16. data/lib/assets/react-source/development/react-addons-test-utils.js +13306 -12927
  17. data/lib/assets/react-source/development/react-addons-transition-group.js +2494 -18457
  18. data/lib/assets/react-source/development/react-addons-update.js +104 -112
  19. data/lib/assets/react-source/development/react-server.js +13480 -12921
  20. data/lib/assets/react-source/development/react.js +13337 -12981
  21. data/lib/assets/react-source/production-with-addons/react-server.js +6 -6
  22. data/lib/assets/react-source/production-with-addons/react.js +6 -6
  23. data/lib/assets/react-source/production/react-addons-create-fragment.js +1 -1
  24. data/lib/assets/react-source/production/react-addons-css-transition-group.js +6 -6
  25. data/lib/assets/react-source/production/react-addons-linked-state-mixin.js +1 -19
  26. data/lib/assets/react-source/production/react-addons-perf.js +2 -2
  27. data/lib/assets/react-source/production/react-addons-pure-render-mixin.js +1 -1
  28. data/lib/assets/react-source/production/react-addons-test-utils.js +6 -6
  29. data/lib/assets/react-source/production/react-addons-transition-group.js +1 -19
  30. data/lib/assets/react-source/production/react-addons-update.js +1 -1
  31. data/lib/assets/react-source/production/react-server.js +6 -6
  32. data/lib/assets/react-source/production/react.js +6 -6
  33. data/lib/react/rails/component_mount.rb +6 -4
  34. data/lib/react/rails/version.rb +1 -1
  35. data/lib/react/server_rendering/sprockets_renderer/console_replay.js +3 -3
  36. metadata +17 -4
  37. data/lib/assets/react-source/development/react-addons-clone-with-props.js +0 -888
  38. data/lib/assets/react-source/production/react-addons-clone-with-props.js +0 -1
@@ -1 +0,0 @@
1
- !function(r){function e(t){if(n[t])return n[t].exports;var o=n[t]={exports:{},id:t,loaded:!1};return r[t].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=r,e.c=n,e.p="",e(0)}({0:function(r,e,n){window.React.addons=window.React.addons||{},window.React.addons.cloneWithProps=n(158)},2:function(r,e){"use strict";function n(r,e){if(null==r)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(r),t=Object.prototype.hasOwnProperty,o=1;o<arguments.length;o++){var u=arguments[o];if(null!=u){var s=Object(u);for(var i in s)t.call(s,i)&&(n[i]=s[i])}}return n}r.exports=n},3:function(r,e,n){"use strict";var t=n(7),o=t;r.exports=o},5:function(r,e,n){"use strict";var t=n(10),o=n(2),u=(n(23),"function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103),s={key:!0,ref:!0,__self:!0,__source:!0},i=function(r,e,n,t,o,s,i){var c={$$typeof:u,type:r,key:e,ref:n,props:i,_owner:s};return c};i.createElement=function(r,e,n){var o,u={},c=null,l=null,a=null,f=null;if(null!=e){l=void 0===e.ref?null:e.ref,c=void 0===e.key?null:""+e.key,a=void 0===e.__self?null:e.__self,f=void 0===e.__source?null:e.__source;for(o in e)e.hasOwnProperty(o)&&!s.hasOwnProperty(o)&&(u[o]=e[o])}var p=arguments.length-2;if(1===p)u.children=n;else if(p>1){for(var y=Array(p),d=0;p>d;d++)y[d]=arguments[d+2];u.children=y}if(r&&r.defaultProps){var v=r.defaultProps;for(o in v)"undefined"==typeof u[o]&&(u[o]=v[o])}return i(r,c,l,a,f,t.current,u)},i.createFactory=function(r){var e=i.createElement.bind(null,r);return e.type=r,e},i.cloneAndReplaceKey=function(r,e){var n=i(r.type,e,r.ref,r._self,r._source,r._owner,r.props);return n},i.cloneAndReplaceProps=function(r,e){var n=i(r.type,r.key,r.ref,r._self,r._source,r._owner,e);return n},i.cloneElement=function(r,e,n){var u,c=o({},r.props),l=r.key,a=r.ref,f=r._self,p=r._source,y=r._owner;if(null!=e){void 0!==e.ref&&(a=e.ref,y=t.current),void 0!==e.key&&(l=""+e.key);for(u in e)e.hasOwnProperty(u)&&!s.hasOwnProperty(u)&&(c[u]=e[u])}var d=arguments.length-2;if(1===d)c.children=n;else if(d>1){for(var v=Array(d),h=0;d>h;h++)v[h]=arguments[h+2];c.children=v}return i(r.type,l,a,f,p,y,c)},i.isValidElement=function(r){return"object"==typeof r&&null!==r&&r.$$typeof===u},r.exports=i},7:function(r,e){"use strict";function n(r){return function(){return r}}function t(){}t.thatReturns=n,t.thatReturnsFalse=n(!1),t.thatReturnsTrue=n(!0),t.thatReturnsNull=n(null),t.thatReturnsThis=function(){return this},t.thatReturnsArgument=function(r){return r},r.exports=t},10:function(r,e){"use strict";var n={current:null};r.exports=n},12:function(r,e){"use strict";var n=function(r){var e;for(e in r)if(r.hasOwnProperty(e))return e;return null};r.exports=n},23:function(r,e,n){"use strict";var t=!1;r.exports=t},157:function(r,e){"use strict";function n(r){r||(r="");var e,n=arguments.length;if(n>1)for(var t=1;n>t;t++)e=arguments[t],e&&(r=(r?r+" ":"")+e);return r}r.exports=n},158:function(r,e,n){r.exports=n(174)},171:function(r,e,n){"use strict";function t(r){return function(e,n,t){e.hasOwnProperty(n)?e[n]=r(e[n],t):e[n]=t}}function o(r,e){for(var n in e)if(e.hasOwnProperty(n)){var t=l[n];t&&l.hasOwnProperty(n)?t(r,n,e[n]):r.hasOwnProperty(n)||(r[n]=e[n])}return r}var u=n(2),s=n(7),i=n(157),c=t(function(r,e){return u({},e,r)}),l={children:s,className:t(i),style:c},a={mergeProps:function(r,e){return o(u({},r),e)}};r.exports=a},174:function(r,e,n){"use strict";function t(r,e){var n=u.mergeProps(e,r.props);return!n.hasOwnProperty(i)&&r.props.hasOwnProperty(i)&&(n.children=r.props.children),o.createElement(r.type,n)}var o=n(5),u=n(171),s=n(12),i=(n(3),s({children:null}));r.exports=t}});