Skip to content

Commit

Permalink
modify lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kekee000 committed Sep 11, 2017
1 parent 617c6a0 commit 499fc9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .fecsrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
files:
- src
eslint:
env:
es6: true
Expand Down
4 changes: 3 additions & 1 deletion src/Carousel/Carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ export default class Carousel extends san.Component {
}

startTimer() {
if (this.data.get('interval') <= 0 || !this.data.get('autoplay')) return;
if (this.data.get('interval') <= 0 || !this.data.get('autoplay')) {
return;
}
this.timer = setInterval(() => {
this.playSlides();
}, this.data.get('interval'));
Expand Down
2 changes: 1 addition & 1 deletion src/ColorPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* @author malingyang(malingyang@baidu.com)
*/

export default from './ColorPicker';
export default from './ColorPicker';

0 comments on commit 499fc9b

Please sign in to comment.