From 2df5e8ac4f73f8d685aeaf1f334360cdcaf91abb Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 20 Aug 2015 17:03:58 -0700 Subject: [PATCH] Fixed tests/typings for 'photoswipe'. --- photoswipe/photoswipe-tests.ts | 2 -- photoswipe/photoswipe.d.ts | 10 ++++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/photoswipe/photoswipe-tests.ts b/photoswipe/photoswipe-tests.ts index 79125bd05..ca136f3a2 100644 --- a/photoswipe/photoswipe-tests.ts +++ b/photoswipe/photoswipe-tests.ts @@ -6,13 +6,11 @@ function test_defaultUI() { src: "path/to/image.jpg", w: 100, h: 200, - specialProperty: true }, { src: "path/to/image2.jpg", w: 1000, h: 2000, - specialProperty: false } ]; diff --git a/photoswipe/photoswipe.d.ts b/photoswipe/photoswipe.d.ts index b09fe75dd..4916c2123 100644 --- a/photoswipe/photoswipe.d.ts +++ b/photoswipe/photoswipe.d.ts @@ -268,6 +268,16 @@ declare module PhotoSwipe { */ mainClass?: string; + /** + * Undocumented. + */ + mainScrollEndFriction?: number; + + /** + * Undocumented. + */ + panEndFriction?: number; + /** * Function that should return total number of items in gallery. Don't put very complex code here, function is executed very often. *