From eec83969c1c6ac4561dee91dd6e142c12cd8c42b Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Tue, 22 Dec 2015 01:08:57 -0500 Subject: [PATCH] Rename fullPage.js to fullpage.js --- js/{fullPage.js => fullpage.js} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename js/{fullPage.js => fullpage.js} (99%) diff --git a/js/fullPage.js b/js/fullpage.js similarity index 99% rename from js/fullPage.js rename to js/fullpage.js index a3daca8..a46c14a 100644 --- a/js/fullPage.js +++ b/js/fullpage.js @@ -55,4 +55,4 @@ break;case 37:l.k.left&&e.moveSlideLeft();break;case 39:l.k.right&&e.moveSlideRi var b=a.find(".fp-slide").eq(d(this).closest("li").index());H(a,b)});c.normalScrollElements&&(u.on("mouseenter",c.normalScrollElements,function(){e.setMouseWheelScrolling(!1)}),u.on("mouseleave",c.normalScrollElements,function(){e.setMouseWheelScrolling(!0)}));d(".fp-section").on("click touchstart",".fp-controlArrow",function(){var a=d(this).closest(".fp-section");d(this).hasClass("fp-prev")?l.m.left&&e.moveSlideLeft(a):l.m.right&&e.moveSlideRight(a)});p.resize(Ea);var ka=r;e.destroy=function(a){e.setAutoScrolling(!1, "internal");e.setAllowScrolling(!1);e.setKeyboardScrolling(!1);k.addClass("fp-destroyed");clearTimeout(ja);clearTimeout(ea);clearTimeout(la);clearTimeout(ba);clearTimeout(ca);p.off("scroll",sa).off("hashchange",Ba).off("resize",Ea);u.off("click","#fp-nav a").off("mouseenter","#fp-nav li").off("mouseleave","#fp-nav li").off("click",".fp-slidesNav a").off("mouseover",c.normalScrollElements).off("mouseout",c.normalScrollElements);d(".fp-section").off("click",".fp-controlArrow");clearTimeout(ja);clearTimeout(ea); a&&bb()}};ma={afterRender:function(c){var d=c.find("fp-slides");c=c.find(".fp-scrollable");d.length&&(c=d.find(".fp-slide.active"));c.mouseover()},create:function(c,d){c.find(".fp-scrollable").slimScroll({allowPageScroll:!0,height:d+"px",size:"10px",alwaysVisible:!0})},isScrolled:function(c,d){if("top"===c)return!d.scrollTop();if("bottom"===c)return d.scrollTop()+1+d.innerHeight()>=d[0].scrollHeight},scrollable:function(c){return c.find(".fp-slides").length?c.find(".fp-slide.active").find(".fp-scrollable"): -c.find(".fp-scrollable")},scrollHeight:function(c){return c.find(".fp-scrollable").get(0).scrollHeight},remove:function(c){c.find(".fp-scrollable").children().first().unwrap().unwrap();c.find(".slimScrollBar").remove();c.find(".slimScrollRail").remove()},update:function(c,d){c.find(".fp-scrollable").css("height",d+"px").parent().css("height",d+"px")},wrapContent:function(){return'
'}}}); \ No newline at end of file +c.find(".fp-scrollable")},scrollHeight:function(c){return c.find(".fp-scrollable").get(0).scrollHeight},remove:function(c){c.find(".fp-scrollable").children().first().unwrap().unwrap();c.find(".slimScrollBar").remove();c.find(".slimScrollRail").remove()},update:function(c,d){c.find(".fp-scrollable").css("height",d+"px").parent().css("height",d+"px")},wrapContent:function(){return'
'}}});