From 0d408d5fe5a08862522af3aa1bfe1c2166fe9d8d Mon Sep 17 00:00:00 2001 From: Igor Lino Date: Wed, 24 Aug 2016 16:46:11 +0200 Subject: [PATCH] Version bump. Version follows sematic versioning, keeping parity with angular-elevate-zoom --- CHANGELOG.md | 65 +++++++++++++++++++++++++++-------------------- bower.json | 2 +- demo/api.htm | 12 ++++----- demo/examples.htm | 14 +++++----- demo/index.html | 12 ++++----- 5 files changed, 57 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 366becb..de89423 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,64 +1,73 @@ + + +# 1.2.0 (2016-24-August) + ++ BOWER: Fixes dependency missing on grunt wiredep ++ DOC: Correcting version in js and link for CDN ++ DOC: Correction option name for lens border 'lensSizeBorder' ++ BUILD: use semantic version, keeping parity with angular-elevate-zoom + # 1.1.20 (2016-28-April) -- Fix for bug in the zoom calculation for images with greater width. ++ Fix for bug in the zoom calculation for images with greater width. # 1.1.19 (2016-23-March) -- Fix for bug in the zoom calculation for images with greater width. ++ Fix for bug in the zoom calculation for images with greater width. # 1.1.18 (2015-20-Dec) -- Set minZoomLevel to 1.01, that helps to zoom small images. ++ Set minZoomLevel to 1.01, that helps to zoom small images. # 1.1.2 (2015-01-June) -- Corrected hundreds of JSHint errors/warnings -- Added JSCS code style validation. -- Corrected hundreds of JSCS warnings. -- Fixed unwanted global variables. -- Fixed closeAll method not working at all. ++ Corrected hundreds of JSHint errors/warnings ++ Added JSCS code style validation. ++ Corrected hundreds of JSCS warnings. ++ Fixed unwanted global variables. ++ Fixed closeAll method not working at all. # 1.1.1 (2015-01-June) -- Feature: Adding support to multiple galleries. … ++ Feature: Adding support to multiple galleries. … This change provides: Flexibility to select the element with a another selector different of the id. Providing you support to multiples galleries. Adding galleryItem option to choose another item type All elements added to gallery, now inherit the onclick event -- Fix width scale error -- Feature: Added callback function 'onDestroy'. It is useful to destroy/hide 'zoomContainer' div when working with single page application (e.g; AngularJS application) -- Remove support for deprecated mousewheel event and replace with wheel event. ++ Fix width scale error ++ Feature: Added callback function 'onDestroy'. It is useful to destroy/hide 'zoomContainer' div when working with single page application (e.g; AngularJS application) ++ Remove support for deprecated mousewheel event and replace with wheel event. See: https://developer.mozilla.org/en-US/docs/Web/Events/mousewheel -- Add z_index option to set z-index of container. -- Fix: round lens position to avoid border flickering. -- Fixed broken CSS -- Fix: remove -webkit-transform: translateZ(0); because it breaks z-index properties -- Improvement: Renamed "Postition" to "Position" for better consistency. -- Improvement: Change cursor default value to inherit -- Feature: Add mantainZoomAspectRatio as option. This change will allow to decide if you want to decrease zoom of one of the dimensions once the other reached it's top value, or keep the aspect ratio, default behaviour still being as always, allow to continue zooming out, so it keeps retrocompatibility. -- Improvement: Added callback for when zoomWindow is just about to be shown. The zoomWindow would often fall offscreen, so I added a callback just before it is shown so that repositioning it is possible. -- Improvement: Optimizes calls to css(), width() and height() for performance reasons. ++ Add z_index option to set z-index of container. ++ Fix: round lens position to avoid border flickering. ++ Fixed broken CSS ++ Fix: remove -webkit-transform: translateZ(0); because it breaks z-index properties ++ Improvement: Renamed "Postition" to "Position" for better consistency. ++ Improvement: Change cursor default value to inherit ++ Feature: Add mantainZoomAspectRatio as option. This change will allow to decide if you want to decrease zoom of one of the dimensions once the other reached it's top value, or keep the aspect ratio, default behaviour still being as always, allow to continue zooming out, so it keeps retrocompatibility. ++ Improvement: Added callback for when zoomWindow is just about to be shown. The zoomWindow would often fall offscreen, so I added a callback just before it is shown so that repositioning it is possible. ++ Improvement: Optimizes calls to css(), width() and height() for performance reasons. Profiling has shown that calls of the jquery css() method consumed very much time when moving the lens. This resulted in lags when moving the lens fast in Firefox and IE. By optimizing the css() calls (and also width() / height() methods) and the their parameters, the lags are now almost gone. -- Fixed Duplicate self.options.zoomWindowWidth -- Move zoom container parent selector to options. -- Fix lens proportion calculation. The condition was incorrectly checking for the width of the zoom window instead of the height, causing the lens to be equal height with the non-zoomed image when the actual viewport was smaller -- add option to specify a click callback (for the large image) add API document ++ Fixed Duplicate self.options.zoomWindowWidth ++ Move zoom container parent selector to options. ++ Fix lens proportion calculation. The condition was incorrectly checking for the width of the zoom window instead of the height, causing the lens to be equal height with the non-zoomed image when the actual viewport was smaller ++ add option to specify a click callback (for the large image) add API document # 1.0.0 (2015-28-May) -- build v1.0.1 -- Initial commit, it includes bower repository settings. -- Refactor naming. ++ build v1.0.1 ++ Initial commit, it includes bower repository settings. ++ Refactor naming. diff --git a/bower.json b/bower.json index 92d9fcf..83e0d70 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "ez-plus", "title": "EZ Plus", - "version": "1.1.20", + "version": "1.2.0", "description": "A jQuery image zoom plug-in, with tints, easing and gallery integration.", "author": { "name": "Igor Lino", diff --git a/demo/api.htm b/demo/api.htm index 0379297..521cf05 100644 --- a/demo/api.htm +++ b/demo/api.htm @@ -16,10 +16,10 @@ href="https://cdn.rawgit.com/igorlino/fancybox-plus/1.3.6/css/jquery.fancybox-plus.css" media="screen"/> @@ -41,8 +41,8 @@ Cufon.replace('h1', {color: '#ff6347'}); - - + +
diff --git a/demo/examples.htm b/demo/examples.htm index b528940..5f705d4 100644 --- a/demo/examples.htm +++ b/demo/examples.htm @@ -16,10 +16,10 @@ href="https://cdn.rawgit.com/igorlino/fancybox-plus/1.3.6/css/jquery.fancybox-plus.css" media="screen"/> @@ -44,9 +44,9 @@ + href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/css/prism.css"/> + src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/js/prism.js"> @@ -391,7 +391,7 @@

Window Position

offset to adjust + src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/images/window-positions.png"/>
You can also position the window into a container

SHOW THE CODE diff --git a/demo/index.html b/demo/index.html index 7969a58..a0cbd5f 100644 --- a/demo/index.html +++ b/demo/index.html @@ -16,10 +16,10 @@ href="https://cdn.rawgit.com/igorlino/fancybox-plus/1.3.6/css/jquery.fancybox-plus.css" media="screen"/> @@ -42,8 +42,8 @@ - - + +