Skip to content

Commit 3a08ecc

Browse files
committed
- Updating version and dist files
1 parent 658eeaf commit 3a08ecc

8 files changed

+34
-22
lines changed

dist/jquery.fullpage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 2.9.2
2+
* fullPage 2.9.3
33
* https://github.com/alvarotrigo/fullPage.js
44
* MIT licensed
55
*

dist/jquery.fullpage.js

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 2.9.2
2+
* fullPage 2.9.3
33
* https://github.com/alvarotrigo/fullPage.js
44
* @license MIT licensed
55
*
@@ -168,6 +168,12 @@
168168
responsiveWidth: 0,
169169
responsiveHeight: 0,
170170
responsiveSlides: false,
171+
parallax: false,
172+
parallaxOptions: {
173+
type: 'reveal',
174+
percentage: 62,
175+
property: 'translate'
176+
},
171177

172178
//Custom selectors
173179
sectionSelector: SECTION_DEFAULT_SEL,
@@ -203,6 +209,11 @@
203209
var isScrollAllowed = {};
204210
isScrollAllowed.m = { 'up':true, 'down':true, 'left':true, 'right':true };
205211
isScrollAllowed.k = $.extend(true,{}, isScrollAllowed.m);
212+
var MSPointer = getMSPointer();
213+
var events = {
214+
touchmove: 'ontouchmove' in window ? 'touchmove' : MSPointer.move,
215+
touchstart: 'ontouchstart' in window ? 'touchstart' : MSPointer.down
216+
};
206217

207218
//timeouts
208219
var resizeId;
@@ -2548,16 +2559,13 @@
25482559
*/
25492560
function addTouchHandler(){
25502561
if(isTouchDevice || isTouch){
2551-
//Microsoft pointers
2552-
var MSPointer = getMSPointer();
2553-
25542562
if(options.autoScrolling){
2555-
$body.off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, preventBouncing);
2563+
$body.off(events.touchmove).on(events.touchmove, preventBouncing);
25562564
}
25572565

25582566
$(WRAPPER_SEL)
2559-
.off('touchstart ' + MSPointer.down).on('touchstart ' + MSPointer.down, touchStartHandler)
2560-
.off('touchmove ' + MSPointer.move).on('touchmove ' + MSPointer.move, touchMoveHandler);
2567+
.off(events.touchstart).on(events.touchstart, touchStartHandler)
2568+
.off(events.touchmove).on(events.touchmove, touchMoveHandler);
25612569
}
25622570
}
25632571

@@ -2566,12 +2574,9 @@
25662574
*/
25672575
function removeTouchHandler(){
25682576
if(isTouchDevice || isTouch){
2569-
//Microsoft pointers
2570-
var MSPointer = getMSPointer();
2571-
25722577
$(WRAPPER_SEL)
2573-
.off('touchstart ' + MSPointer.down)
2574-
.off('touchmove ' + MSPointer.move);
2578+
.off(events.touchstart)
2579+
.off(events.touchmove);
25752580
}
25762581
}
25772582

@@ -2791,6 +2796,12 @@
27912796
$(this).replaceWith(this.childNodes);
27922797
});
27932798

2799+
//removing the applied transition from the fullpage wrapper
2800+
container.css({
2801+
'-webkit-transition': 'none',
2802+
'transition': 'none'
2803+
});
2804+
27942805
//scrolling the page to the top with no animation
27952806
$htmlBody.scrollTop(0);
27962807

@@ -2818,7 +2829,7 @@
28182829
* Displays warnings
28192830
*/
28202831
function displayWarnings(){
2821-
var extensions = ['fadingEffect', 'continuousHorizontal', 'scrollHorizontally', 'interlockedSlides', 'resetSliders', 'responsiveSlides', 'offsetSections', 'dragAndMove', 'scrollOverflowReset'];
2832+
var extensions = ['fadingEffect', 'continuousHorizontal', 'scrollHorizontally', 'interlockedSlides', 'resetSliders', 'responsiveSlides', 'offsetSections', 'dragAndMove', 'scrollOverflowReset', 'parallax'];
28222833
if($('html').hasClass(ENABLED)){
28232834
showError('error', 'Fullpage.js can only be initialized once and you are doing it multiple times!');
28242835
return;

dist/jquery.fullpage.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.fullpage.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.fullpage.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.fullpage.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery.fullPage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 2.9.2
2+
* fullPage 2.9.3
33
* https://github.com/alvarotrigo/fullPage.js
44
* MIT licensed
55
*

jquery.fullPage.min.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)