Skip to content

Commit

Permalink
[fixed] bug react-bootstrap#731. babel ES6 import + React quirk.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKVal committed May 26, 2015
1 parent 4e3a15f commit 3ebac95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CollapsableNav.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import deprecationWarning from './utils/deprecationWarning';
import assign from './utils/Object.assign';
import {specCollapsibleNav} from './CollapsibleNav';
import CollapsibleNav from './CollapsibleNav';

const specCollapsableNav = assign({}, specCollapsibleNav, {
const specCollapsableNav = assign({}, CollapsibleNav._spec, {
componentDidMount() {
deprecationWarning(
'CollapsableNav',
Expand Down
2 changes: 1 addition & 1 deletion src/CollapsibleNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ const specCollapsibleNav = {
};

const CollapsibleNav = React.createClass(specCollapsibleNav);
CollapsibleNav._spec = specCollapsibleNav;

export {specCollapsibleNav};
export default CollapsibleNav;

0 comments on commit 3ebac95

Please sign in to comment.