From cfaf31b47c7f11df43b6160511e34461a972fe34 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 19 Aug 2015 11:41:44 +0800 Subject: [PATCH] update demo title --- components/table/index.jsx | 2 +- components/tree/demo/checkbox.md | 2 +- index.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/table/index.jsx b/components/table/index.jsx index 6d857571d7..561c6cb28b 100644 --- a/components/table/index.jsx +++ b/components/table/index.jsx @@ -268,7 +268,7 @@ var AntTable = React.createClass({ return columns.map((column, i) => { column = objectAssign({}, column); let key = this.getColumnKey(column, i); - let filterDropdown, menus, sortButton; + let filterDropdown, sortButton; if (column.filters && column.filters.length > 0) { let colFilters = this.state.filters[key] || []; filterDropdown = diff --git a/components/tree/demo/checkbox.md b/components/tree/demo/checkbox.md index dbc38f1e17..03ae8f0038 100644 --- a/components/tree/demo/checkbox.md +++ b/components/tree/demo/checkbox.md @@ -1,4 +1,4 @@ -# 基本 +# 可选择 - order: 1 diff --git a/index.js b/index.js index d253cb845e..2aeb3fe461 100644 --- a/index.js +++ b/index.js @@ -4,8 +4,8 @@ require('./style/index.less'); // https://github.com/WickyNilliams/enquire.js/issues/82 window.matchMedia = window.matchMedia || function() { return { - matches : false, - addListener : function() {}, + matches: false, + addListener: function() {}, removeListener: function() {} }; };