Skip to content

Commit

Permalink
Remove empty block warning
Browse files Browse the repository at this point in the history
  • Loading branch information
edward committed Aug 18, 2017
1 parent fd277a4 commit 2d1df5b
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"lib":
{

"plugins": ["css-modules-transform"]
},
}
}
17 changes: 16 additions & 1 deletion lib/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,23 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

var STYLES = {};
try {
require('../../css/index.css');
STYLES = {
'picky-date-time': 'index__picky-date-time___1-7bu',
'visible': 'index__visible___1AYFw',
'picky-date-time__calendar': 'index__picky-date-time__calendar___Uzshg',
'picky-date-time__clock': 'index__picky-date-time__clock___3P7FF',
'picky-date-time__close': 'index__picky-date-time__close___N_Q78',
'picky-date-time__breaker': 'index__picky-date-time__breaker___1Daw1',
'l': 'index__l___1pMT_',
'm': 'index__m___2vZIj',
's': 'index__s___n2aXG',
'xs': 'index__xs___1P_PY'
};
if (!STYLES) {
console.log('');
}
} catch (ex) {}

var Index = function (_React$Component) {
Expand Down
6 changes: 5 additions & 1 deletion lib/react-picky-date-time.js
Original file line number Diff line number Diff line change
Expand Up @@ -9944,8 +9944,12 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

var STYLES = {};
try {
__webpack_require__(191);
STYLES = __webpack_require__(191);
if (!STYLES) {
console.log('');
}
} catch (ex) {}

var Index = function (_React$Component) {
Expand Down
2 changes: 1 addition & 1 deletion lib/react-picky-date-time.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/react-picky-date-time.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-picky-date-time",
"version": "1.1.9",
"version": "1.1.10",
"description": "a react date time picker component",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -39,6 +39,7 @@
"babel-cli": "^6.24.1",
"babel-core": "^6.2.1",
"babel-loader": "^6.1.0",
"babel-plugin-css-modules-transform": "^1.2.7",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.1.18",
Expand Down
6 changes: 5 additions & 1 deletion src/js/PickyDateTime/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ import PropTypes from 'prop-types';
import cx from 'classnames';
import Calendar from './Calendar/index.js';
import Clock from './Clock/index.js';
let STYLES = {};
try {
require('../../css/index.css');
STYLES = require('../../css/index.css');
if (!STYLES) {
console.log('');
}
} catch (ex) {}
import {
SIZE_RANGE,
Expand Down

0 comments on commit 2d1df5b

Please sign in to comment.