Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit ae04461

Browse files
committed
Fix: trailing comma
1 parent 40b4812 commit ae04461

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
(function() {
3+
(function () {
44
var isChrome = window.chrome || navigator.userAgent.match('CriOS');
55
var isTouch = 'ontouchstart' in document.documentElement;
66

@@ -79,7 +79,7 @@
7979
? {
8080
passive: true,
8181
}
82-
: false,
82+
: false
8383
);
8484
document.addEventListener(
8585
'touchmove',
@@ -88,6 +88,6 @@
8888
? {
8989
passive: false,
9090
}
91-
: false,
91+
: false
9292
);
9393
})();

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"name": "prevent-pull-refresh",
33
"version": "1.0.5",
44
"description": "Preventing the pull-to-refresh effect browser on mobile",
5-
"files": [
6-
"LICENCE",
7-
"README.md"
8-
],
95
"main": "index.js",
106
"homepage": "https://github.com/nghiepit/prevent-pull-refresh",
117
"repository": "https://github.com/nghiepit/prevent-pull-refresh",

0 commit comments

Comments
 (0)