Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Duplicate identifier 'preventScrollOnTouch' #778

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tiny-slider",
"version": "2.9.4",
"name": "as-tiny-slider",
"version": "2.9.4.2",
"description": "Vanilla javascript slider for all purposes, inspired by Owl Carousel.",
"main": "dist/tiny-slider.js",
"types": "src/tiny-slider.d.ts",
Expand All @@ -24,20 +24,20 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/ganlanyuan/tiny-slider.git"
"url": "git+https://github.com/asanzred/tiny-slider.git"
},
"files": [
"dist",
"src"
],
"keywords": [],
"author": "ganlanyuan <ganlanyuan@gmail.com>",
"author": "asanzred <asanzred@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ganlanyuan/tiny-slider/issues"
"url": "https://github.com/asanzred/tiny-slider/issues"
},
"browserslist": "> 0.25%, not dead",
"homepage": "https://github.com/ganlanyuan/tiny-slider#readme",
"homepage": "https://github.com/asanzred/tiny-slider#readme",
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
Expand Down
6 changes: 0 additions & 6 deletions src/tiny-slider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,6 @@ export interface TinySliderSettings extends CommonOptions {
* @defaultValue true
*/
freezable?: boolean;
/**
* Prevent page from scrolling on `touchmove`. If set to "auto", the slider will first check if the touch direction matches the slider axis, then decide
* whether prevent the page scrolling or not. If set to "force", the slider will always prevent the page scrolling.
* @defaultValue false
*/
preventScrollOnTouch?: "auto" | "force" | false;
/**
* Nonce attribute for inline style tag to allow slider usage without unsafe-inline CSP Option
* @defaultValue false
Expand Down