[Improvement] eslint before build (#455)

This commit is contained in:
neverland
2017-12-19 19:12:32 +08:00
committed by GitHub
parent 05a724c0c8
commit df67b005ce
10 changed files with 371 additions and 39 deletions

View File

@@ -14,7 +14,7 @@
import { create } from '../utils';
import Picker from '../picker';
const isValidDate = date => Object.prototype.toString.call(date) === "[object Date]" && !isNaN(date.getTime());
const isValidDate = date => Object.prototype.toString.call(date) === '[object Date]' && !isNaN(date.getTime());
export default create({
name: 'van-datetime-picker',