This repository was archived by the owner on Feb 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +217
-173
lines changed Expand file tree Collapse file tree 6 files changed +217
-173
lines changed Original file line number Diff line number Diff line change 19
19
20
20
npm-debug.log *
21
21
yarn-debug.log *
22
- yarn-error.log *
22
+ yarn-error.log *
23
+
24
+ index.min.js
25
+ index.min.js.map
Original file line number Diff line number Diff line change 85
85
document . addEventListener (
86
86
'touchstart' ,
87
87
touchstartHandler ,
88
- supportsPassive ? { passive : true } : false
88
+ supportsPassive ? { passive : true } : false ,
89
89
) ;
90
90
91
- document . addEventListener ( 'touchmove' , touchmoveHandler ) ;
91
+ document . addEventListener (
92
+ 'touchmove' ,
93
+ touchmoveHandler ,
94
+ supportsPassive ? { passive : false } : false ,
95
+ ) ;
92
96
} ) ( ) ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
"name" : " prevent-pull-refresh" ,
3
3
"version" : " 1.0.3" ,
4
4
"description" : " Preventing the pull-to-refresh effect browser on mobile" ,
5
+ "files" : [
6
+ " index.min.js" ,
7
+ " index.min.js.map" ,
8
+ " LICENCE" ,
9
+ " README.md"
10
+ ],
5
11
"main" : " index.min.js" ,
6
12
"scripts" : {
7
13
"build" : " cross-env NODE_ENV=production babel index.js -o index.min.js -s" ,
8
14
"prepublish" : " npm run build"
9
15
},
10
16
"devDependencies" : {
11
17
"babel-cli" : " ^6.26.0" ,
12
- "babel-preset-env" : " ^1.6.1 " ,
13
- "babel-preset-minify" : " ^0.2 .0" ,
14
- "cross-env" : " ^5.1.1 "
18
+ "babel-preset-env" : " ^1.7.0 " ,
19
+ "babel-preset-minify" : " ^0.5 .0" ,
20
+ "cross-env" : " ^5.2.0 "
15
21
},
16
- "repository" : " https://github.com/nghiepit/prevent-pull-refresh" ,
17
- "author" : " Nghiệp <me@nghiepit.pro>" ,
18
22
"homepage" : " https://github.com/nghiepit/prevent-pull-refresh" ,
23
+ "repository" : " https://github.com/nghiepit/prevent-pull-refresh" ,
19
24
"keywords" : [
20
25
" pull refresh" ,
21
26
" refresh" ,
26
31
" scroll" ,
27
32
" overscroll"
28
33
],
34
+ "author" : " Nghiep <me@nghiepit.pro>" ,
29
35
"license" : " MIT"
30
36
}
You can’t perform that action at this time.
0 commit comments