From 4e89f5002b81690cf6a6a11f147addcde210d75c Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 28 Aug 2015 00:11:56 +0800 Subject: [PATCH] Fix eslint problems --- components/datepicker/index.jsx | 2 +- components/menu/index.jsx | 1 - components/tree/index.jsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/datepicker/index.jsx b/components/datepicker/index.jsx index 071d6f811b..f586ee7ffa 100644 --- a/components/datepicker/index.jsx +++ b/components/datepicker/index.jsx @@ -16,7 +16,7 @@ let defaultCalendarValue = new GregorianCalendar(zhCn); defaultCalendarValue.setTime(Date.now()); -function createPicker(Calendar){ +function createPicker(Calendar) { return React.createClass({ getInitialState() { var value; diff --git a/components/menu/index.jsx b/components/menu/index.jsx index 2b98efb82c..b9daf74808 100644 --- a/components/menu/index.jsx +++ b/components/menu/index.jsx @@ -1,6 +1,5 @@ import React from 'react'; import Menu from 'rc-menu'; -import velocity from 'velocity-animate'; import animation from '../common/openAnimation'; const AntMenu = React.createClass({ diff --git a/components/tree/index.jsx b/components/tree/index.jsx index 48b96c6608..dc25433fcf 100644 --- a/components/tree/index.jsx +++ b/components/tree/index.jsx @@ -1,6 +1,5 @@ import React from 'react'; import Tree from 'rc-tree'; -import velocity from 'velocity-animate'; import animation from '../common/openAnimation'; const AntTree = React.createClass({