Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Remove unnecessary semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal committed Oct 28, 2016
1 parent 828b588 commit 914f86d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
8 changes: 4 additions & 4 deletions src/scripts/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import Classnames from 'classnames'
export default class LoginForm extends React.Component {
constructor() {
super()
this.handleLogin = this.handleLogin.bind(this);
this.logout = this.logout.bind(this);
this.handleLogin = this.handleLogin.bind(this)
this.logout = this.logout.bind(this)
this.state = {
error: false,
mask: false
Expand All @@ -24,14 +24,14 @@ export default class LoginForm extends React.Component {
}

logout() {
window.KeePass4Web.logout(this.props.router);
window.KeePass4Web.logout(this.props.router)
}

classes() {
return Classnames({
'kp-login': true,
'loading-mask': this.state.mask,
});
})
}

handleLogin(event) {
Expand Down
12 changes: 5 additions & 7 deletions src/scripts/NavBar.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import React from 'react';
//import jQuery from 'jquery'
//import Bootstrap from 'bootstrap'
window.$ = window.jQuery = require('jquery');
var Bootstrap = require('bootstrap');
Bootstrap.$ = $;
import React from 'react'
import Classnames from 'classnames'
window.$ = window.jQuery = require('jquery')
var Bootstrap = require('bootstrap')


export default class NavBar extends React.Component {
Expand Down Expand Up @@ -89,6 +87,6 @@ export default class NavBar extends React.Component {
</nav>
)
}
};
}


4 changes: 2 additions & 2 deletions src/scripts/Theme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
'use strict'

export default {
tree: {
Expand Down Expand Up @@ -77,4 +77,4 @@ export default {
}
}
}
};
}
2 changes: 1 addition & 1 deletion src/scripts/UserLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export default class UserLogin extends LoginForm {
</div>
</div>
</div>
);
)
}
}
4 changes: 2 additions & 2 deletions src/scripts/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import jQuery from 'jquery'
import Css from '../style/app.css';
import Css from '../style/app.css'
import React from 'react'
import ReactDOM from 'react-dom'
import { withRouter, useRouterHistory, Router, Route } from 'react-router'
Expand Down Expand Up @@ -175,4 +175,4 @@ ReactDOM.render(
<Route path='/db_login' component={DBForm} />
</Router>,
document.getElementById('app-content')
);
)

0 comments on commit 914f86d

Please sign in to comment.