diff --git a/build/lib/dragColumn.js b/build/lib/dragColumn.js index f4bcada..e5334ea 100644 --- a/build/lib/dragColumn.js +++ b/build/lib/dragColumn.js @@ -1,4 +1,4 @@ -'use strict'; +"use strict"; Object.defineProperty(exports, "__esModule", { value: true @@ -8,13 +8,11 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument exports["default"] = dragColumn; -var _react = require('react'); +var _react = require("react"); var _react2 = _interopRequireDefault(_react); -var _util = require('./util'); - -var _util2 = require('../util'); +var _util = require("./util"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } @@ -147,13 +145,13 @@ function dragColumn(Table) { onDragEnter = _props.onDragEnter, onDragOver = _props.onDragOver, onDrop = _props.onDrop, - others = _objectWithoutProperties(_props, ['data', 'dragborder', 'draggable', 'className', 'columns', 'onDragStart', 'onDragEnter', 'onDragOver', 'onDrop']); + others = _objectWithoutProperties(_props, ["data", "dragborder", "draggable", "className", "columns", "onDragStart", "onDragEnter", "onDragOver", "onDrop"]); var key = new Date().getTime(); return _react2["default"].createElement(Table, _extends({}, others, { columns: this.state.columns, data: data, - className: className + ' u-table-drag-border', + className: className + " u-table-drag-border", onDragStart: this.onDragStart, onDragOver: this.onDragOver, onDrop: this.onDrop, @@ -168,4 +166,4 @@ function dragColumn(Table) { return DragColumn; }(_react.Component); } -module.exports = exports['default']; \ No newline at end of file +module.exports = exports["default"]; \ No newline at end of file diff --git a/build/lib/dragColumnWidth.js b/build/lib/dragColumnWidth.js index 43b5ed2..a16a985 100644 --- a/build/lib/dragColumnWidth.js +++ b/build/lib/dragColumnWidth.js @@ -14,8 +14,6 @@ var _react2 = _interopRequireDefault(_react); var _util = require('./util'); -var _util2 = require('../util'); - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; } diff --git a/package.json b/package.json index 7a479aa..bc4fdc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "1.3.8", + "version": "1.3.9", "description": "Table ui component for react", "keywords": [ "react",