Skip to content

Commit 36f13df

Browse files
李钿李钿
authored andcommitted
修改bug
1 parent aa9cee6 commit 36f13df

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/FooterNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var _react = require('react');
1010

1111
var _react2 = _interopRequireDefault(_react);
1212

13-
var _constants = require('constants');
13+
var _constants = require('./constants');
1414

1515
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1616

lib/HeadNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var _react = require('react');
1010

1111
var _react2 = _interopRequireDefault(_react);
1212

13-
var _constants = require('constants');
13+
var _constants = require('./constants');
1414

1515
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1616

lib/ReactPullLoad.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var _react2 = _interopRequireDefault(_react);
1414

1515
var _reactDom = require('react-dom');
1616

17-
var _constants = require('constants');
17+
var _constants = require('./constants');
1818

1919
var _HeadNode = require('./HeadNode');
2020

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
55
});
66
exports.default = exports.STATS = undefined;
77

8-
var _constants = require('constants');
8+
var _constants = require('./constants');
99

1010
Object.defineProperty(exports, 'STATS', {
1111
enumerable: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-pullload",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "React compopnent pull down refresh and pull up load more",
55
"main": "./lib/index.js",
66
"scripts": {

src/FooterNode.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import React, { PureComponent, PropTypes } from 'react'
3-
import { STATS } from 'constants'
3+
import { STATS } from './constants'
44

55
export default class FooterNode extends PureComponent{
66

src/HeadNode.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import React, { PureComponent, PropTypes } from 'react'
3-
import { STATS } from 'constants'
3+
import { STATS } from './constants'
44

55
export default class HeadNode extends PureComponent{
66

src/ReactPullLoad.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
import React, { Component, PropTypes } from 'react'
33
import { findDOMNode } from 'react-dom'
4-
import { STATS } from 'constants'
4+
import { STATS } from './constants'
55
import HeadNode from './HeadNode'
66
import FooterNode from './FooterNode'
77
import './ReactPullLoad.less'

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// import { STATS as _STATS } from 'constants'
33
// export const STATS = _STATS
44
// export default ReactPullLoad
5-
export { STATS } from 'constants'
5+
export { STATS } from './constants'
66
export default from './ReactPullLoad'

0 commit comments

Comments
 (0)