Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
shenqihui committed Apr 15, 2016
1 parent c2fdc63 commit dbd25c1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .sublime-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"SublimeLinter":{
"linters":{
"eslint":{
"@disable":true,
"excludes":[
"dist/*",
"node_modules/*"
]
},
"jshint":{
"@disable":true
}
}
}
}
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
</head>
<body>
<p>Welcome to react</p>
<div class="github-logo">
<GithubLogo />
</div>
<section id="react"></section>
<script type="text/javascript" src="dist/js/app.js"></script>
</body>
Expand Down
14 changes: 14 additions & 0 deletions src/js/components/title.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
'use strict';

var React = require('react');

a =b ;
var Title = React.createClass({
render: function() {
return <p>
{this.props.name}
</p>;
}
});

module.exports = Title;

0 comments on commit dbd25c1

Please sign in to comment.