From 664b465c63d68b1292edea1a4aabaf37081a0991 Mon Sep 17 00:00:00 2001 From: Kenny Wang Date: Tue, 25 Aug 2015 12:06:58 -0700 Subject: [PATCH 1/3] [fixed] id passthrough for MenuItem --- src/MenuItem.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/MenuItem.js b/src/MenuItem.js index 196fc36572..e0823b9186 100644 --- a/src/MenuItem.js +++ b/src/MenuItem.js @@ -47,6 +47,7 @@ export default class MenuItem extends React.Component { Date: Wed, 26 Aug 2015 13:02:40 +0300 Subject: [PATCH 2/3] Update dev dependencies --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1b55af8107..e152a4aab2 100644 --- a/package.json +++ b/package.json @@ -55,10 +55,10 @@ "css-loader": "^0.16.0", "es5-shim": "^4.1.10", "eslint": "^1.1.0", - "eslint-config-airbnb": "0.0.7", + "eslint-config-airbnb": "0.0.8", "eslint-plugin-babel": "^2.0.0", "eslint-plugin-lodash": "^0.1.3", - "eslint-plugin-mocha": "^0.4.0", + "eslint-plugin-mocha": "^0.5.1", "eslint-plugin-react": "^3.1.0", "express": "^4.13.1", "extract-text-webpack-plugin": "^0.8.2", From e438250494844dd481240871b3e84fb56bbb5937 Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Wed, 26 Aug 2015 23:43:44 +0300 Subject: [PATCH 3/3] [fixed] 'isRequireForA11y' undefined/null checking --- src/utils/CustomPropTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/CustomPropTypes.js b/src/utils/CustomPropTypes.js index 8f6c0a00af..caf3623f13 100644 --- a/src/utils/CustomPropTypes.js +++ b/src/utils/CustomPropTypes.js @@ -44,7 +44,7 @@ const CustomPropTypes = { isRequiredForA11y(propType){ return function(props, propName, componentName){ - if (props[propName] === null) { + if (props[propName] == null) { return new Error( 'The prop `' + propName + '` is required to make ' + componentName + ' accessible ' + 'for users using assistive technologies such as screen readers `'