Skip to content

Commit

Permalink
v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seawind543 committed Sep 14, 2017
1 parent af01087 commit fc986be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 31 deletions.
14 changes: 2 additions & 12 deletions docs/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -24024,8 +24024,6 @@ var Popover = (_temp = _class = function (_PureComponent) {

var popover = _this.popover;

console.log('orz', place, newPlace, offset, target);

if (!target) {
return false;
}
Expand Down Expand Up @@ -24184,22 +24182,14 @@ var Popover = (_temp = _class = function (_PureComponent) {
var _props = this.props,
className = _props.className,
children = _props.children,
target = _props.target,
show = _props.show,
spacing = _props.spacing,
top = _props.top,
left = _props.left,
preferPlace = _props.preferPlace,
props = _objectWithoutProperties(_props, ['className', 'children', 'target', 'show', 'spacing', 'top', 'left', 'preferPlace']);
props = _objectWithoutProperties(_props, ['className', 'children']);

var _state = this.state,
isShow = _state.isShow,
place = _state.place,
offset = _state.offset;


console.log(target, show, spacing, top, left, preferPlace);

return _react2.default.createElement(
'div',
_extends({}, props, {
Expand Down Expand Up @@ -25513,4 +25503,4 @@ if(false) {
/***/ })

/******/ });
//# sourceMappingURL=bundle.js.map?896c2f580495c68cff16
//# sourceMappingURL=bundle.js.map?b98fc56c18adb5c44008
2 changes: 1 addition & 1 deletion docs/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
</head>
<body>
<div id="container"></div>
<script type="text/javascript" src="bundle.js?896c2f580495c68cff16"></script></body>
<script type="text/javascript" src="bundle.js?b98fc56c18adb5c44008"></script></body>
</html>
17 changes: 0 additions & 17 deletions src/Popover.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ class Popover extends PureComponent {
} = this.props;
const popover = this.popover;

console.log('orz', place, newPlace, offset, target);

if (!target) {
return false;
}
Expand Down Expand Up @@ -213,25 +211,10 @@ class Popover extends PureComponent {
const {
className,
children,
target,
show,
spacing,
top,
left,
preferPlace,
...props
} = this.props;
const { isShow, place, offset } = this.state;

console.log(
target,
show,
spacing,
top,
left,
preferPlace
);

return (
<div
{...props}
Expand Down

0 comments on commit fc986be

Please sign in to comment.