Update React to 0.9.0

This commit is contained in:
Dan Holmsand 2014-02-21 08:04:16 +01:00
parent d1d5d3c31e
commit b9c3e106e8
11 changed files with 16762 additions and 8145 deletions

View File

@ -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 $< $@

View File

@ -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

View File

@ -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

View File

@ -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,

6471
vendor/reagent/react.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long