From 9e96b4b1af2cb9797a71a07f5e53b883a95ffa8c Mon Sep 17 00:00:00 2001 From: Sandro Dzneladze Date: Wed, 3 Dec 2014 14:47:17 +0400 Subject: [PATCH 1/7] v0.4.4 includes touch fix for mobile devices, also osx inertia problem fix for magic mouse and trackpad --- README.md | 3 +- ....3.css => jquery.scrollSections-0.4.4.css} | 2 +- ...ss => jquery.scrollSections-0.4.4.min.css} | 2 +- build/js/jquery.scrollSections-0.4.3.min.js | 9 ---- ....4.3.js => jquery.scrollSections-0.4.4.js} | 42 ++++++++++++++++--- build/js/jquery.scrollSections-0.4.4.min.js | 9 ++++ package.json | 2 +- src/js/jquery.scrollSections.js | 38 +++++++++++++++-- 8 files changed, 84 insertions(+), 23 deletions(-) rename build/css/{jquery.scrollSections-0.4.3.css => jquery.scrollSections-0.4.4.css} (98%) rename build/css/{jquery.scrollSections-0.4.3.min.css => jquery.scrollSections-0.4.4.min.css} (98%) delete mode 100644 build/js/jquery.scrollSections-0.4.3.min.js rename build/js/{jquery.scrollSections-0.4.3.js => jquery.scrollSections-0.4.4.js} (93%) create mode 100644 build/js/jquery.scrollSections-0.4.4.min.js diff --git a/README.md b/README.md index 43f20da..f6f1589 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# jQuery Scroll Sections Plugin (Version 0.4.3) +# jQuery Scroll Sections Plugin (Version 0.4.4) A plugin that allows you to define (full page) sections and scroll between them with mousewheel, keyboard, scrollbar and/or touch moves. @@ -84,4 +84,5 @@ Copyright(c) 2011-2013 [Stéphane Guigné](http://stephaneguigne.com) ## Logs +v0.4.4 - fixed mobile touch issues, fixed osx inertia problem with apple magic mouse and trackpad. v0.4.3 - send back arguments to callback functions \ No newline at end of file diff --git a/build/css/jquery.scrollSections-0.4.3.css b/build/css/jquery.scrollSections-0.4.4.css similarity index 98% rename from build/css/jquery.scrollSections-0.4.3.css rename to build/css/jquery.scrollSections-0.4.4.css index 709a969..b2be600 100644 --- a/build/css/jquery.scrollSections-0.4.3.css +++ b/build/css/jquery.scrollSections-0.4.4.css @@ -2,7 +2,7 @@ jQuery ScrollSections Plugin -* @version 0.4.3 +* @version 0.4.4 * @link https://github.com/guins/jquery-scrollsections * @author Stéphane Guigné * @author Richard Fussenegger diff --git a/build/css/jquery.scrollSections-0.4.3.min.css b/build/css/jquery.scrollSections-0.4.4.min.css similarity index 98% rename from build/css/jquery.scrollSections-0.4.3.min.css rename to build/css/jquery.scrollSections-0.4.4.min.css index d7f937a..09a3423 100644 --- a/build/css/jquery.scrollSections-0.4.3.min.css +++ b/build/css/jquery.scrollSections-0.4.4.min.css @@ -2,7 +2,7 @@ jQuery ScrollSections Plugin -* @version 0.4.3 +* @version 0.4.4 * @link https://github.com/guins/jquery-scrollsections * @author Stéphane Guigné * @author Richard Fussenegger diff --git a/build/js/jquery.scrollSections-0.4.3.min.js b/build/js/jquery.scrollSections-0.4.3.min.js deleted file mode 100644 index e205fd7..0000000 --- a/build/js/jquery.scrollSections-0.4.3.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/*! jQuery ScrollSections Plugin (minified) -* @version 0.4.3 -* @link https://github.com/guins/jquery-scrollsections -* @author Stéphane Guigné -* @author Richard Fussenegger -* @license MIT -* @copyright (c) 2011-2013, Stéphane Guigné -*/ -!function(a,b,c){"use strict";function d(a){this.name="ScrollSectionsException",this.message=a}var e="scrollSections",f={attr:"id",active:"active-scrollsection",keyboard:!0,mousewheel:!0,touch:!0,scrollbar:!0,navigation:!0,scrollMax:1,before:null,after:null,prefix:"scrollsections",alwaysStartWithFirstSection:!1,animateScrollToFirstSection:!1,createNavigation:!0,speed:500,exceptions:!1},g=function(c,d){this.elements=c,this.options=a.extend({},f,d),this._defaults=f,this._name=e,this._$window=a(b),this._$htmlBody=a("html, body"),this._$body=a("body"),this._sections=c.length,this._$sections=[],this._sectionIdentifiers=[],this._delayFirstScroll=null,this._$previousSection=null,this._$currentSection=null,this._currentStep=0,this._isFirstSection=!0,this._isAnimated=!1,this._wheelDelay=null,this._scrollPaused=!1,this._$nav=null,this._ltIE9=!1,this.init()};g.prototype={createNavigation:function(){if(this.options.navigation){this._$nav=a("