mirror of https://github.com/status-im/reagent.git
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 $< $@
|
||||
|
|
|
@ -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
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "react",
|
||||
"version": "0.8.0",
|
||||
"version": "0.9.0",
|
||||
"main": "react.js"
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
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,
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue