Skip to content

Commit

Permalink
fix syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Surya Gaddipati committed Mar 2, 2015
1 parent aa62898 commit f5d615b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"esnext": true
}
8 changes: 3 additions & 5 deletions src/main/jsx/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
'use strict';

import React from "react";
import Flux from "./Flux.jsx";
import RecentProjects from "./components/recent_projects/RecentProjects.jsx"
import Job from "./components/job/Job.jsx"
import RecentProjects from "./components/recent_projects/RecentProjects.jsx";
import Job from "./components/job/Job.jsx";
window.onload = function(){
let flux = new Flux();
let actions = flux.getActions('app');
Expand All @@ -48,5 +47,4 @@ import Job from "./components/job/Job.jsx"
</div>
</div>,
document.getElementById('app')
);
}
);};
4 changes: 2 additions & 2 deletions src/main/jsx/components/lib/IconLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import React from 'react';
import Button from 'react-bootstrap/lib/Button'
import Button from 'react-bootstrap/lib/Button';
export default React.createClass({
render: function () {
return(
Expand All @@ -32,4 +32,4 @@ export default React.createClass({
</Button>
);
}
})
});
12 changes: 6 additions & 6 deletions src/main/jsx/components/recent_projects/RecentProjects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
* THE SOFTWARE.
*/
import React from "react";
import BuildIcon from "../lib/BuildIcon.jsx"
import BuildIcon from "../lib/BuildIcon.jsx";
import FluxComponent from 'flummox/component';
import Panel from "react-bootstrap/lib/Panel"
import ListGroup from "react-bootstrap/lib/ListGroup"
import ListGroupItem from "react-bootstrap/lib/ListGroupItem"
import Panel from "react-bootstrap/lib/Panel";
import ListGroup from "react-bootstrap/lib/ListGroup";
import ListGroupItem from "react-bootstrap/lib/ListGroupItem";

var RecentProject = React.createClass({
render(){
Expand Down Expand Up @@ -64,6 +64,6 @@ export default React.createClass({
<FluxComponent connectToStores={['recentProjects']} flux={this.props.flux}>
<RecentProjectsWidget/>
</FluxComponent>
)
);
}
})
});

0 comments on commit f5d615b

Please sign in to comment.