From 7e924d2a3fd955ce626068aa9b9c22f5790cf8e8 Mon Sep 17 00:00:00 2001 From: Ste Brennan Date: Mon, 7 Nov 2011 09:55:31 +0000 Subject: [PATCH] v3.0.3 --- README.md | 8 +- build.number | 4 +- build.properties | 2 +- build.xml | 4 + src/change.log | 8 ++ src/examples/14-tap-image-go-to-url.html | 104 +++++++++++++++++++++++ src/uilayer.class.js | 2 +- 7 files changed, 125 insertions(+), 7 deletions(-) create mode 100644 src/examples/14-tap-image-go-to-url.html diff --git a/README.md b/README.md index ffdcc1028..4398fcb3f 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,13 @@ It'd be fantastic to see how you have implemented PhotoSwipe on your site! We're -Latest Release v3.0.2 +Latest Release v3.0.3 --------------------- -[Download](http://github.com/downloads/codecomputerlove/PhotoSwipe/code.photoswipe-3.0.2.zip) +[Download](http://github.com/downloads/codecomputerlove/PhotoSwipe/code.photoswipe-3.0.3.zip) -- Fixed issue on iOS 5, first time an image is zoomed in, the zoomed image is hidden from view immediately. +- Added new example - 14-tap-image-go-to-url.html + +- Ensured that only iOS captures gesture events **Changes for v3** diff --git a/build.number b/build.number index 35a7a615a..dc0f0d915 100644 --- a/build.number +++ b/build.number @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Fri Nov 04 09:11:19 GMT 2011 -build.number=32 +#Mon Nov 07 09:53:33 GMT 2011 +build.number=35 diff --git a/build.properties b/build.properties index fce1e1580..e6081ffb2 100644 --- a/build.properties +++ b/build.properties @@ -5,7 +5,7 @@ project.description = PhotoSwipe project.src.dir = src -project.build.version = 3.0.2 +project.build.version = 3.0.3 project.build.year = 2011 project.build.workdir = work diff --git a/build.xml b/build.xml index 4d4f399cd..9f895dfbf 100644 --- a/build.xml +++ b/build.xml @@ -214,6 +214,10 @@ + + + + diff --git a/src/change.log b/src/change.log index a739ed6ba..cedbc831c 100644 --- a/src/change.log +++ b/src/change.log @@ -13,3 +13,11 @@ Initial release ---------------------------- - Fixed issue on iOS 5, first time an image is zoomed in, the zoomed image is hidden from view immediately. + + +3.0.3 07.11.11 - Ste Brennan +---------------------------- + +- Added new example - 14-tap-image-go-to-url.html + +- Ensured that only iOS captures gesture events diff --git a/src/examples/14-tap-image-go-to-url.html b/src/examples/14-tap-image-go-to-url.html new file mode 100644 index 000000000..90f27d613 --- /dev/null +++ b/src/examples/14-tap-image-go-to-url.html @@ -0,0 +1,104 @@ + + + + PhotoSwipe + + + + + + + + + + + + + + + + + + +
+ +
+

PhotoSwipe

+
+ + + +
+ + + + + + \ No newline at end of file diff --git a/src/uilayer.class.js b/src/uilayer.class.js index 02669e0d9..977d6e2ab 100644 --- a/src/uilayer.class.js +++ b/src/uilayer.class.js @@ -75,7 +75,7 @@ this.supr(this.el, { swipe: true, move: true, - gesture: true, + gesture: Util.Browser.iOS, doubleTap: true, preventDefaultTouchEvents: this.settings.preventDefaultTouchEvents });