From 41c35903a4d559db7fd85ccb6f4da5f066fd5610 Mon Sep 17 00:00:00 2001 From: ustccjw <317713370@qq.com> Date: Thu, 23 Jul 2015 21:36:34 +0800 Subject: [PATCH] remove use strict --- components/breadcrumb/index.jsx | 2 -- components/collapse/index.jsx | 2 -- components/datepicker/index.jsx | 2 -- components/dropdown/index.jsx | 2 -- components/message/index.jsx | 2 -- components/modal/confirm.jsx | 2 -- components/modal/index.jsx | 2 -- components/pagination/index.jsx | 2 -- components/popconfirm/index.jsx | 2 -- components/popover/index.jsx | 2 -- components/progress/index.jsx | 2 -- components/select/index.jsx | 2 -- components/steps/index.jsx | 2 -- components/table/filterMenu.jsx | 2 -- components/table/index.jsx | 2 -- components/tabs/index.jsx | 2 -- components/tooltip/index.jsx | 2 -- 17 files changed, 34 deletions(-) diff --git a/components/breadcrumb/index.jsx b/components/breadcrumb/index.jsx index f7cf1fb8b8..81651477fa 100644 --- a/components/breadcrumb/index.jsx +++ b/components/breadcrumb/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - import React from 'react'; let prefixCls = 'ant-breadcrumb'; diff --git a/components/collapse/index.jsx b/components/collapse/index.jsx index 44c6c472b4..7b4d0f9946 100644 --- a/components/collapse/index.jsx +++ b/components/collapse/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var Collapse = require('rc-collapse'); var React = require('react'); var prefixCls = 'ant-collapse'; diff --git a/components/datepicker/index.jsx b/components/datepicker/index.jsx index 8e857e9ca8..a4fae950f6 100644 --- a/components/datepicker/index.jsx +++ b/components/datepicker/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - import React from 'react'; import Calendar from 'rc-calendar'; const Datepicker = Calendar.Picker; diff --git a/components/dropdown/index.jsx b/components/dropdown/index.jsx index 201f5ff5cf..5c7ae02056 100644 --- a/components/dropdown/index.jsx +++ b/components/dropdown/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var React = require('react'); var Dropdown = require('rc-dropdown'); diff --git a/components/message/index.jsx b/components/message/index.jsx index fcedca8045..b038d3c718 100644 --- a/components/message/index.jsx +++ b/components/message/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - import React from 'react'; import Notification from 'rc-notification'; diff --git a/components/modal/confirm.jsx b/components/modal/confirm.jsx index 7a5c76b967..1c19a61a9a 100644 --- a/components/modal/confirm.jsx +++ b/components/modal/confirm.jsx @@ -1,5 +1,3 @@ -'use strict'; - var React = require('react'); var Dialog = require('rc-dialog'); var div; diff --git a/components/modal/index.jsx b/components/modal/index.jsx index 7ee72ef999..42d3da1233 100644 --- a/components/modal/index.jsx +++ b/components/modal/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var React = require('react'); var Dialog = require('rc-dialog'); function noop() { diff --git a/components/pagination/index.jsx b/components/pagination/index.jsx index 4894048b61..9dbd29be22 100644 --- a/components/pagination/index.jsx +++ b/components/pagination/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - let React = require('react'); let Pagination = require('rc-pagination'); let Select = require('rc-select'); diff --git a/components/popconfirm/index.jsx b/components/popconfirm/index.jsx index e5e3d84e87..231baed17e 100644 --- a/components/popconfirm/index.jsx +++ b/components/popconfirm/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - import React from 'react'; import Tooltip from 'rc-tooltip'; const prefixCls = 'ant-popover'; diff --git a/components/popover/index.jsx b/components/popover/index.jsx index 731204e522..b835d73fac 100644 --- a/components/popover/index.jsx +++ b/components/popover/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - import React from 'react'; import Tooltip from 'rc-tooltip'; const prefixCls = 'ant-popover'; diff --git a/components/progress/index.jsx b/components/progress/index.jsx index 49d57395af..676c023d52 100644 --- a/components/progress/index.jsx +++ b/components/progress/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var Progressline = require('rc-progress').Line; var Progresscircle = require('rc-progress').Circle; var React = require('react'); diff --git a/components/select/index.jsx b/components/select/index.jsx index fa119d25dd..db737db9a9 100644 --- a/components/select/index.jsx +++ b/components/select/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var React = require('react'); var Select = require('rc-select'); diff --git a/components/steps/index.jsx b/components/steps/index.jsx index a98ab853f5..f83b50af50 100644 --- a/components/steps/index.jsx +++ b/components/steps/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var React = require('react'); var Steps = require('rc-steps'); diff --git a/components/table/filterMenu.jsx b/components/table/filterMenu.jsx index 12dee4916c..45e6189417 100644 --- a/components/table/filterMenu.jsx +++ b/components/table/filterMenu.jsx @@ -1,5 +1,3 @@ -'use strict'; - import React from 'react'; import Menu from 'rc-menu'; diff --git a/components/table/index.jsx b/components/table/index.jsx index 67f9cc765d..a73d97764b 100644 --- a/components/table/index.jsx +++ b/components/table/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - import React from 'react'; import jQuery from 'jquery'; import Table from 'rc-table'; diff --git a/components/tabs/index.jsx b/components/tabs/index.jsx index 5e45ec740e..b1d3df6193 100644 --- a/components/tabs/index.jsx +++ b/components/tabs/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var Tabs = require('rc-tabs'); var React = require('react'); var prefixCls = 'ant-tabs'; diff --git a/components/tooltip/index.jsx b/components/tooltip/index.jsx index 58f9fc33db..b7881f9ca2 100644 --- a/components/tooltip/index.jsx +++ b/components/tooltip/index.jsx @@ -1,5 +1,3 @@ -'use strict'; - var React = require('react'); var Tooltip = require('rc-tooltip');