File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-inline-css" ,
3
3
"description" : " Inline CSS in your React components, namespaced automatically." ,
4
- "version" : " 1.3 .0" ,
4
+ "version" : " 2.0 .0" ,
5
5
"license" : " BSD-3-Clause" ,
6
6
"repository" : {
7
7
"type" : " git" ,
23
23
"watch" : " concurrent --kill-others 'npm run watch-client' 'npm run localhost'"
24
24
},
25
25
"dependencies" : {
26
- "react" : " >= 0.12.0 "
26
+ "react" : " >= 0.14.0-rc1 "
27
27
},
28
28
"devDependencies" : {
29
29
"babel-core" : " 5.8.24" ,
30
30
"babel-loader" : " 5.3.2" ,
31
31
"concurrently" : " 0.1.1" ,
32
32
"json-loader" : " 0.5.2" ,
33
+ "react-dom" : " 0.14.0-rc1" ,
33
34
"react-hot-loader" : " 1.3.0" ,
34
35
"webpack" : " 1.12.1" ,
35
36
"webpack-dev-server" : " 1.10.1"
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
+ import ReactDOM from "react-dom" ;
2
3
import InlineCss from "./../react-inline-css"
3
4
import Profile from "./Profile" ;
4
5
import FacebookProfile from "./FacebookProfile" ;
@@ -47,4 +48,4 @@ const Main = React.createClass({
47
48
}
48
49
} ) ;
49
50
50
- React . render ( < Main /> , document . getElementById ( "react-root" ) ) ;
51
+ ReactDOM . render ( < Main /> , document . getElementById ( "react-root" ) ) ;
You can’t perform that action at this time.
0 commit comments