Skip to content

Commit

Permalink
Upgraded steal, steal-jsx moved to dependencies, and removed babel-core
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Heimbeck committed May 5, 2016
1 parent f93f900 commit 42b40a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -5,4 +5,3 @@ Clone this repo and run `npm install` then simply open `index.html`.
Click World to see the onClick event fire.

Noteworthy npm package is steal-jsx
also please remember that you need to put the "!" after any non js files.
7 changes: 2 additions & 5 deletions package.json
Expand Up @@ -11,16 +11,13 @@
"dependencies": {
"react": "^0.14.8",
"react-dom": "^0.14.8",
"steal": "^0.15.3"
"steal": "^0.16.4",
"steal-jsx": "0.0.0"
},
"system": {
"transpiler": "babel",
"babelOptions": {
"blacklist": []
}
},
"devDependencies": {
"babel-core": "^6.7.4",
"steal-jsx": "0.0.0"
}
}
6 changes: 5 additions & 1 deletion world.jsx
@@ -1,6 +1,6 @@
import React from 'react';

export default class World extends React.Component {
class World extends React.Component {
constructor(props) {
super(props);
this.state = {
Expand All @@ -19,3 +19,7 @@ export default class World extends React.Component {
return <div style={style} onClick={()=>this.clicked()}>{this.state.message}</div>;
}
}
World.displayName = 'World';
World.propTypes = {};

export default World;

0 comments on commit 42b40a3

Please sign in to comment.