render-react 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/js/dist/compiler/_react.js +20640 -0
- data/js/dist/compiler/react-dom-server.js +42 -0
- data/js/dist/compiler/react-dom.js +42 -0
- data/js/dist/transpiler/_react.js +20640 -0
- data/js/dist/transpiler/babel.js +103092 -0
- data/js/package.json +16 -0
- data/lib/render/react/compiler.rb +50 -0
- data/lib/render/react/config.rb +24 -0
- data/lib/render/react/transpiler.rb +45 -0
- data/lib/render/react/version.rb +5 -0
- data/lib/render/react.rb +23 -0
- data/render-react.gemspec +27 -0
- metadata +136 -0
@@ -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
|
+
});
|