Skip to content

Commit ad74532

Browse files
author
Rick
committed
New major version to support React 0.14.
1 parent 5b77eff commit ad74532

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-inline-css",
33
"description": "Inline CSS in your React components, namespaced automatically.",
4-
"version": "1.3.0",
4+
"version": "2.0.0",
55
"license": "BSD-3-Clause",
66
"repository": {
77
"type": "git",
@@ -23,13 +23,14 @@
2323
"watch": "concurrent --kill-others 'npm run watch-client' 'npm run localhost'"
2424
},
2525
"dependencies": {
26-
"react": ">= 0.12.0"
26+
"react": ">= 0.14.0-rc1"
2727
},
2828
"devDependencies": {
2929
"babel-core": "5.8.24",
3030
"babel-loader": "5.3.2",
3131
"concurrently": "0.1.1",
3232
"json-loader": "0.5.2",
33+
"react-dom": "0.14.0-rc1",
3334
"react-hot-loader": "1.3.0",
3435
"webpack": "1.12.1",
3536
"webpack-dev-server": "1.10.1"

src/example/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from "react";
2+
import ReactDOM from "react-dom";
23
import InlineCss from "./../react-inline-css"
34
import Profile from "./Profile";
45
import FacebookProfile from "./FacebookProfile";
@@ -47,4 +48,4 @@ const Main = React.createClass({
4748
}
4849
});
4950

50-
React.render(<Main />, document.getElementById("react-root"));
51+
ReactDOM.render(<Main />, document.getElementById("react-root"));

0 commit comments

Comments
 (0)