render-react 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,42 @@
1
+ /**
2
+ * ReactDOMServer v15.3.0
3
+ *
4
+ * Copyright 2013-present, Facebook, Inc.
5
+ * All rights reserved.
6
+ *
7
+ * This source code is licensed under the BSD-style license found in the
8
+ * LICENSE file in the root directory of this source tree. An additional grant
9
+ * of patent rights can be found in the PATENTS file in the same directory.
10
+ *
11
+ */
12
+ // Based off https://github.com/ForbesLindesay/umd/blob/master/template.js
13
+ ;(function(f) {
14
+ // CommonJS
15
+ if (typeof exports === "object" && typeof module !== "undefined") {
16
+ module.exports = f(require('react'));
17
+
18
+ // RequireJS
19
+ } else if (typeof define === "function" && define.amd) {
20
+ define(['react'], f);
21
+
22
+ // <script>
23
+ } else {
24
+ var g;
25
+ if (typeof window !== "undefined") {
26
+ g = window;
27
+ } else if (typeof global !== "undefined") {
28
+ g = global;
29
+ } else if (typeof self !== "undefined") {
30
+ g = self;
31
+ } else {
32
+ // works providing we're not in "use strict";
33
+ // needed for Java 8 Nashorn
34
+ // see https://github.com/facebook/react/issues/3037
35
+ g = this;
36
+ }
37
+ g.ReactDOMServer = f(g.React);
38
+ }
39
+
40
+ })(function(React) {
41
+ return React.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
42
+ });
@@ -0,0 +1,42 @@
1
+ /**
2
+ * ReactDOM v15.3.0
3
+ *
4
+ * Copyright 2013-present, Facebook, Inc.
5
+ * All rights reserved.
6
+ *
7
+ * This source code is licensed under the BSD-style license found in the
8
+ * LICENSE file in the root directory of this source tree. An additional grant
9
+ * of patent rights can be found in the PATENTS file in the same directory.
10
+ *
11
+ */
12
+ // Based off https://github.com/ForbesLindesay/umd/blob/master/template.js
13
+ ;(function(f) {
14
+ // CommonJS
15
+ if (typeof exports === "object" && typeof module !== "undefined") {
16
+ module.exports = f(require('react'));
17
+
18
+ // RequireJS
19
+ } else if (typeof define === "function" && define.amd) {
20
+ define(['react'], f);
21
+
22
+ // <script>
23
+ } else {
24
+ var g;
25
+ if (typeof window !== "undefined") {
26
+ g = window;
27
+ } else if (typeof global !== "undefined") {
28
+ g = global;
29
+ } else if (typeof self !== "undefined") {
30
+ g = self;
31
+ } else {
32
+ // works providing we're not in "use strict";
33
+ // needed for Java 8 Nashorn
34
+ // see https://github.com/facebook/react/issues/3037
35
+ g = this;
36
+ }
37
+ g.ReactDOM = f(g.React);
38
+ }
39
+
40
+ })(function(React) {
41
+ return React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
42
+ });