Eslint fixes (package upgrade) (#2957)

This commit is contained in:
Jaco Greeff 2016-10-29 09:55:55 +02:00 committed by GitHub
parent 3e3230aa34
commit c61526f8d5
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ export default class Application extends Component {
let urlError = null; let urlError = null;
if (url && url.length) { if (url && url.length) {
var re = /^https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}/g; const re = /^https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}/g; // eslint-disable-line
urlError = re.test(url) urlError = re.test(url)
? null ? null
: 'not matching rexex'; : 'not matching rexex';

View File

@ -122,7 +122,7 @@ export default class FirstRun extends Component {
icon={ <ActionDoneAll /> } icon={ <ActionDoneAll /> }
label='Close' label='Close'
onClick={ this.onClose } /> onClick={ this.onClose } />
); );
} }
} }