Skip to content

Commit 0f1cd78

Browse files
author
architect.bian
committed
release v1.1.0
1 parent 4d2dff0 commit 0f1cd78

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Pullable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default class extends Component {
3232
constructor(props) {
3333
super(props);
3434
this.defaultScrollEnabled = false; //!(this.props.onPulling || this.props.onPullOk || this.props.onPullRelease); //定义onPull***属性时scrollEnabled为false
35-
var topIndicatorHeight = this.props.topIndicatorHeight ? this.props.topIndicatorHeight : defaultTopIndicatorHeight;
35+
let topIndicatorHeight = this.props.topIndicatorHeight ? this.props.topIndicatorHeight : defaultTopIndicatorHeight;
3636
this.defaultXY = {x: 0, y: topIndicatorHeight * -1};
3737
this.pullOkMargin = this.props.pullOkMargin ? this.props.pullOkMargin : pullOkMargin;
3838
this.duration = this.props.duration ? this.props.duration : defaultDuration;

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-pull",
3-
"version": "1.0.13",
3+
"version": "1.1.0",
44
"description": "PullView & PullList component in React Native for both Android and iOS, pull to refresh",
55
"main": "index.js",
66
"scripts": {
@@ -17,8 +17,7 @@
1717
"pull",
1818
"to",
1919
"refresh",
20-
"React",
21-
"Native",
20+
"React Native",
2221
"ScrollView",
2322
"ListView"
2423
],

0 commit comments

Comments
 (0)