diff --git a/.gitignore b/.gitignore index 86c090e..d6db2e9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ demo/images/Thumbs.db -.vscode \ No newline at end of file +.vscode +node_modules/ +package-lock.json +package.json +gulpfile.js \ No newline at end of file diff --git a/README.md b/README.md index 4e21f5b..79b1435 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ $(function(){ ,closeOnSideClick: true ,nextOnContentClick: false ,useGestures: true + ,imageExt: ['png','jpg','jpeg','webp','gif'] //to determine if a target url is an image file }); }); ``` diff --git a/demo/index.html b/demo/index.html index 506c790..3db667c 100644 --- a/demo/index.html +++ b/demo/index.html @@ -186,9 +186,9 @@