mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-15 07:46:41 +10:00
update eslint and fix indent problems
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
"rules": {
|
||||
"indent": [
|
||||
2,
|
||||
2
|
||||
2,
|
||||
{ "SwitchCase": 1 }
|
||||
],
|
||||
"quotes": [
|
||||
2,
|
||||
|
||||
@@ -13,12 +13,12 @@ function callback(key, btnCose) {
|
||||
|
||||
function getNotificationInstance() {
|
||||
notificationInstance = notificationInstance || Notification.newInstance({
|
||||
prefixCls: 'ant-notification',
|
||||
style: {
|
||||
top: top,
|
||||
right: 0
|
||||
}
|
||||
});
|
||||
prefixCls: 'ant-notification',
|
||||
style: {
|
||||
top: top,
|
||||
right: 0
|
||||
}
|
||||
});
|
||||
return notificationInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -51,17 +51,17 @@ var FilterMenu = React.createClass({
|
||||
<Menu.Item disabled>
|
||||
<a className="ant-table-filter-dropdown-link confirm"
|
||||
style={{
|
||||
cursor: 'pointer',
|
||||
pointerEvents: 'visible'
|
||||
}}
|
||||
cursor: 'pointer',
|
||||
pointerEvents: 'visible'
|
||||
}}
|
||||
onClick={this.handleConfirm}>
|
||||
确定
|
||||
</a>
|
||||
<a className="ant-table-filter-dropdown-link clear"
|
||||
style={{
|
||||
cursor: 'pointer',
|
||||
pointerEvents: 'visible'
|
||||
}}
|
||||
cursor: 'pointer',
|
||||
pointerEvents: 'visible'
|
||||
}}
|
||||
onClick={this.handleClearFilters}>
|
||||
清空
|
||||
</a>
|
||||
|
||||
+2
-2
@@ -69,8 +69,8 @@
|
||||
"babel-loader": "^5.3.2",
|
||||
"css-animation": "~1.0.3",
|
||||
"css-loader": "^0.14.1",
|
||||
"eslint": "^0.24.1",
|
||||
"eslint-plugin-react": "~2.5.0",
|
||||
"eslint": "^1.1.0",
|
||||
"eslint-plugin-react": "~3.2.2",
|
||||
"extract-text-webpack-plugin": "^0.8.1",
|
||||
"gh-pages": "~0.3.1",
|
||||
"json-loader": "^0.5.1",
|
||||
|
||||
Reference in New Issue
Block a user