mirror of
https://github.com/status-im/reagent.git
synced 2025-01-14 13:54:08 +00:00
Update React to 0.9.0
This commit is contained in:
parent
d1d5d3c31e
commit
b9c3e106e8
2
Makefile
2
Makefile
@ -52,7 +52,7 @@ veryclean: clean
|
||||
rm -rf bower_components
|
||||
|
||||
bower_components:
|
||||
bower install react#v0.8.0
|
||||
bower install react#v0.9.0
|
||||
|
||||
vendor/reagent/react.min.js: bower_components/react/react.min.js Makefile
|
||||
cp $< $@
|
||||
|
10
bower_components/react/.bower.json
vendored
10
bower_components/react/.bower.json
vendored
@ -1,16 +1,16 @@
|
||||
{
|
||||
"name": "react",
|
||||
"version": "0.8.0",
|
||||
"version": "0.9.0",
|
||||
"main": "react.js",
|
||||
"homepage": "https://github.com/facebook/react-bower",
|
||||
"_release": "0.8.0",
|
||||
"_release": "0.9.0",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v0.8.0",
|
||||
"commit": "ac2915c7b1e78bd6068b042066759127ecfff69b"
|
||||
"tag": "v0.9.0",
|
||||
"commit": "81855fdf1b8454ee0ea8dd0e05a896cf5cf03010"
|
||||
},
|
||||
"_source": "git://github.com/facebook/react-bower.git",
|
||||
"_target": "v0.8.0",
|
||||
"_target": "v0.9.0",
|
||||
"_originalSource": "react",
|
||||
"_direct": true
|
||||
}
|
4223
bower_components/react/JSXTransformer.js
vendored
4223
bower_components/react/JSXTransformer.js
vendored
File diff suppressed because it is too large
Load Diff
2
bower_components/react/bower.json
vendored
2
bower_components/react/bower.json
vendored
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "react",
|
||||
"version": "0.8.0",
|
||||
"version": "0.9.0",
|
||||
"main": "react.js"
|
||||
}
|
7680
bower_components/react/react-with-addons.js
vendored
7680
bower_components/react/react-with-addons.js
vendored
File diff suppressed because it is too large
Load Diff
12
bower_components/react/react-with-addons.min.js
vendored
12
bower_components/react/react-with-addons.min.js
vendored
File diff suppressed because one or more lines are too long
6469
bower_components/react/react.js
vendored
6469
bower_components/react/react.js
vendored
File diff suppressed because it is too large
Load Diff
11
bower_components/react/react.min.js
vendored
11
bower_components/react/react.min.js
vendored
File diff suppressed because one or more lines are too long
@ -32,11 +32,7 @@ Returns the mounted component instance."
|
||||
(defn render-component-to-string
|
||||
"Turns a component into an HTML string."
|
||||
([component]
|
||||
(let [res (clojure.core/atom nil)]
|
||||
(render-component-to-string component #(reset! res %))
|
||||
@res))
|
||||
([component callback]
|
||||
(.renderComponentToString React (tmpl/as-component component) callback)))
|
||||
(.renderComponentToString React (tmpl/as-component component))))
|
||||
|
||||
(defn create-class
|
||||
"Create a component, React style. Should be called with a map,
|
||||
|
6469
vendor/reagent/react.js
vendored
6469
vendor/reagent/react.js
vendored
File diff suppressed because it is too large
Load Diff
11
vendor/reagent/react.min.js
vendored
11
vendor/reagent/react.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user