Skip to content

Commit 7e450ab

Browse files
committed
Add reactCreateBuild to addons
1 parent cb66e31 commit 7e450ab

File tree

10 files changed

+1880
-44
lines changed

10 files changed

+1880
-44
lines changed

lib/assets/react-source/development-with-addons/react-server.js

Lines changed: 924 additions & 12 deletions
Large diffs are not rendered by default.

lib/assets/react-source/development-with-addons/react.js

Lines changed: 915 additions & 3 deletions
Large diffs are not rendered by default.

lib/assets/react-source/development/react-server.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
/***/ (function(module, exports, __webpack_require__) {
4646

4747
/* WEBPACK VAR INJECTION */(function(global) {var React = __webpack_require__(1);
48-
var ReactDOMServer = __webpack_require__(50);
48+
var ReactDOMServer = __webpack_require__(52);
4949

5050
global.React = React;
5151
global.ReactDOMServer = ReactDOMServer;
@@ -3188,21 +3188,23 @@
31883188
/* 47 */,
31893189
/* 48 */,
31903190
/* 49 */,
3191-
/* 50 */
3191+
/* 50 */,
3192+
/* 51 */,
3193+
/* 52 */
31923194
/***/ (function(module, exports, __webpack_require__) {
31933195

31943196
/* WEBPACK VAR INJECTION */(function(process) {'use strict';
31953197

31963198
if (process.env.NODE_ENV === 'production') {
3197-
module.exports = __webpack_require__(51);
3198-
} else {
31993199
module.exports = __webpack_require__(53);
3200+
} else {
3201+
module.exports = __webpack_require__(55);
32003202
}
32013203

32023204
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))
32033205

32043206
/***/ }),
3205-
/* 51 */
3207+
/* 53 */
32063208
/***/ (function(module, exports, __webpack_require__) {
32073209

32083210
/*
@@ -3214,7 +3216,7 @@
32143216
This source code is licensed under the MIT license found in the
32153217
LICENSE file in the root directory of this source tree.
32163218
*/
3217-
'use strict';var h=__webpack_require__(4);__webpack_require__(6);var m=__webpack_require__(1),n=__webpack_require__(5),aa=__webpack_require__(23),ba=__webpack_require__(52);
3219+
'use strict';var h=__webpack_require__(4);__webpack_require__(6);var m=__webpack_require__(1),n=__webpack_require__(5),aa=__webpack_require__(23),ba=__webpack_require__(54);
32183220
function w(a){for(var b=arguments.length-1,g="Minified React error #"+a+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d"+a,d=0;d<b;d++)g+="\x26args[]\x3d"+encodeURIComponent(arguments[d+1]);b=Error(g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.");b.name="Invariant Violation";b.framesToPop=1;throw b;}
32193221
function x(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}
32203222
var y={Namespaces:{html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},getIntrinsicNamespace:x,getChildNamespace:function(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?x(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}},ca={children:!0,dangerouslySetInnerHTML:!0,autoFocus:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,style:!0};
@@ -3250,7 +3252,7 @@
32503252

32513253

32523254
/***/ }),
3253-
/* 52 */
3255+
/* 54 */
32543256
/***/ (function(module, exports) {
32553257

32563258
/**
@@ -3282,7 +3284,7 @@
32823284
module.exports = memoizeStringOnly;
32833285

32843286
/***/ }),
3285-
/* 53 */
3287+
/* 55 */
32863288
/***/ (function(module, exports, __webpack_require__) {
32873289

32883290
/* WEBPACK VAR INJECTION */(function(process) {/** @license React v16.0.0
@@ -3309,7 +3311,7 @@
33093311
var propTypes = __webpack_require__(29);
33103312
var emptyObject = __webpack_require__(5);
33113313
var hyphenateStyleName = __webpack_require__(23);
3312-
var memoizeStringOnly = __webpack_require__(52);
3314+
var memoizeStringOnly = __webpack_require__(54);
33133315
var checkPropTypes = __webpack_require__(10);
33143316
var camelizeStyleName = __webpack_require__(25);
33153317

lib/assets/react-source/production-with-addons/react-server.js

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

lib/assets/react-source/production-with-addons/react.js

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

lib/assets/react-source/production/react-server.js

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

lib/assets/react-source/production/react.js

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

react-builds/addons-object.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ var addons = {};
22
addons.TransitionGroup = require("react-transition-group/TransitionGroup");
33
addons.CSSTransitionGroup = require("react-transition-group/CSSTransitionGroup");
44
addons.update = require("immutability-helper");
5+
addons.createReactClass = require("create-react-class");
56

67
if (process.env.NODE_ENV !== "production") {
78
addons.TestUtils = require("react-dom/test-utils");

react-builds/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Prepares react-rails asset files",
55
"main": "react.js",
66
"dependencies": {
7+
"create-react-class": "^15.6.2",
78
"immutability-helper": "^2.4.0",
89
"react": "^16.0.0",
910
"react-dom": "^16.0.0",

react-builds/yarn.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,14 @@ core-util-is@~1.0.0:
282282
version "1.0.2"
283283
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
284284

285+
create-react-class@^15.6.2:
286+
version "15.6.2"
287+
resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.6.2.tgz#cf1ed15f12aad7f14ef5f2dfe05e6c42f91ef02a"
288+
dependencies:
289+
fbjs "^0.8.9"
290+
loose-envify "^1.3.1"
291+
object-assign "^4.1.1"
292+
285293
cryptiles@2.x.x:
286294
version "2.0.5"
287295
resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8"
@@ -397,7 +405,7 @@ extsprintf@1.0.2:
397405
version "1.0.2"
398406
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550"
399407

400-
fbjs@^0.8.16:
408+
fbjs@^0.8.16, fbjs@^0.8.9:
401409
version "0.8.16"
402410
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db"
403411
dependencies:

0 commit comments

Comments
 (0)