From e9060dda0dd04e99666ff29efe459ebc7d7c65a7 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Sat, 5 Dec 2015 03:26:32 +0800 Subject: lint --- examples/pick-time.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/pick-time.js b/examples/pick-time.js index f26952c..a8c5415 100644 --- a/examples/pick-time.js +++ b/examples/pick-time.js @@ -1,3 +1,5 @@ +/* eslint no-console:0 */ + import 'rc-time-picker/assets/index.less'; import React from 'react'; @@ -10,8 +12,8 @@ import zhCn from 'gregorian-calendar/lib/locale/zh_CN'; import TimePicker from 'rc-time-picker'; import TimePickerLocale from 'rc-time-picker/src/locale/zh_CN'; -var showSecond = true; -var str = showSecond ? 'HH:mm:ss' : 'HH:mm'; +const showSecond = true; +const str = showSecond ? 'HH:mm:ss' : 'HH:mm'; const formatter = new DateTimeFormat(str); -- cgit v1.2.3