From 678108f62b2830599cf3b0c3cf8c9030de366058 Mon Sep 17 00:00:00 2001 From: jquense Date: Fri, 28 Aug 2015 10:36:51 -0400 Subject: [PATCH] alpha4 --- package.json | 4 ++-- src/RootCloseWrapper.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 74d47c87..8bb4a595 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-overlays", - "version": "0.50.0-alpha3", + "version": "0.50.0-alpha4", "description": "Utilities for creating robust overlay components", "author": "Jason Quense ", "repository": "react-bootstrap/react-overlays", @@ -75,7 +75,7 @@ "node-libs-browser": "^0.5.2", "raw-loader": "^0.5.1", "react": "^0.14.0-beta3", - "react-bootstrap": "^0.24.5-react-pre.0", + "react-bootstrap": "0.24.5-react-pre.0", "react-component-metadata": "^1.2.2", "react-dom": "^0.14.0-beta3", "react-hot-loader": "^1.2.7", diff --git a/src/RootCloseWrapper.js b/src/RootCloseWrapper.js index 5d2a22db..f95dc8a8 100644 --- a/src/RootCloseWrapper.js +++ b/src/RootCloseWrapper.js @@ -33,7 +33,7 @@ export default class RootCloseWrapper extends React.Component { let { id, suppressRootClose } = getSuppressRootClose(); this._suppressRootId = id; - this._suppressRootClosehHandler = suppressRootClose; + this._suppressRootCloseHandler = suppressRootClose; } bindRootCloseHandlers() { @@ -81,14 +81,14 @@ export default class RootCloseWrapper extends React.Component { if (noWrap) { return React.cloneElement(child, { - onClick: createChainedFunction(this._suppressRootClosehHandler, child.props.onClick) + onClick: createChainedFunction(this._suppressRootCloseHandler, child.props.onClick) }); } // Wrap the child in a new element, so the child won't have to handle // potentially combining multiple onClick listeners. return ( -
+
{child}
);