Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/index-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

jest.dontMock('../index');
jest.dontMock('../');

var React = require('react/addons');
// var ReactTooltip = require('../index');
Expand Down
6 changes: 3 additions & 3 deletions dist/react-tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _classNames = require('classNames');
var _classnames = require('classnames');

var _classNames2 = _interopRequireDefault(_classNames);
var _classnames2 = _interopRequireDefault(_classnames);

var ReactTooltip = _react2['default'].createClass({

Expand Down Expand Up @@ -133,7 +133,7 @@ var ReactTooltip = _react2['default'].createClass({
top: this.state.y + offset.y + 'px'
};

var tooltipClass = (0, _classNames2['default'])('reactTooltip', { 'show': this.state.show }, { 'place-top': this.state.place === 'top' }, { 'place-bottom': this.state.place === 'bottom' }, { 'place-left': this.state.place === 'left' }, { 'place-right': this.state.place === 'right' }, { 'type-dark': this.state.type === 'dark' }, { 'type-success': this.state.type === 'success' }, { 'type-warning': this.state.type === 'warning' }, { 'type-error': this.state.type === 'error' }, { 'type-info': this.state.type === 'info' }, { 'type-light': this.state.type === 'light' });
var tooltipClass = (0, _classnames2['default'])('reactTooltip', { 'show': this.state.show }, { 'place-top': this.state.place === 'top' }, { 'place-bottom': this.state.place === 'bottom' }, { 'place-left': this.state.place === 'left' }, { 'place-right': this.state.place === 'right' }, { 'type-dark': this.state.type === 'dark' }, { 'type-success': this.state.type === 'success' }, { 'type-warning': this.state.type === 'warning' }, { 'type-error': this.state.type === 'error' }, { 'type-info': this.state.type === 'info' }, { 'type-light': this.state.type === 'light' });

return _react2['default'].createElement(
'span',
Expand Down
2 changes: 1 addition & 1 deletion example/src/react-tooltip.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import React from 'react';
import classname from 'classNames';
import classname from 'classnames';

const ReactTooltip = React.createClass({

Expand Down
2 changes: 1 addition & 1 deletion src/js/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import React from 'react';
import classname from 'classNames';
import classname from 'classnames';

const ReactTooltip = React.createClass({

Expand Down