Skip to content

Commit

Permalink
- Fixed bug: some options didnt work in minified files
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarotrigo committed Apr 11, 2022
1 parent 83d66e4 commit fc4873f
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 31 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -17,7 +17,7 @@

---

![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.3-brightgreen.svg)
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.4-brightgreen.svg)
[![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
Expand Down
2 changes: 1 addition & 1 deletion dist/fullpage.css
@@ -1,5 +1,5 @@
/*!
* fullPage 4.0.3
* fullPage 4.0.4
* https://github.com/alvarotrigo/fullPage.js
*
* @license GPLv3 for open source use only
Expand Down
4 changes: 2 additions & 2 deletions dist/fullpage.extensions.min.js

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions dist/fullpage.js
@@ -1,5 +1,5 @@
/*!
* fullPage 4.0.3
* fullPage 4.0.4
* https://github.com/alvarotrigo/fullPage.js
*
* @license GPLv3 for open source use only
Expand Down Expand Up @@ -993,16 +993,15 @@
hybrid: false,
licenseKey: '',
credits: {
enabled: true,
label: 'Made with fullPage.js',
position: 'right'
"enabled": true,
"label": 'Made with fullPage.js',
"position": 'right'
},
//scrolling
css3: true,
scrollingSpeed: 700,
autoScrolling: true,
fitToSection: true,
fitToSectionDelay: 1000,
easing: 'easeInOutCubic',
easingcss3: 'ease',
loopBottom: false,
Expand Down Expand Up @@ -1059,13 +1058,15 @@
slideSelector: SLIDE_DEFAULT_SEL,
//events
afterLoad: null,
beforeLeave: null,
onLeave: null,
afterRender: null,
afterResize: null,
afterReBuild: null,
afterSlideLoad: null,
onSlideLeave: null,
afterResponsive: null,
onScrollOverflow: null,
lazyLoading: true,
observer: true
};
Expand Down Expand Up @@ -5112,7 +5113,7 @@
});
});
var t = ["-"];
var n = "2022-3-11".split("-"),
var n = "2022-3-12".split("-"),
e = new Date(n[0], n[1], n[2]),
i = ["se", "licen", "-", "v3", "l", "gp"];

Expand Down Expand Up @@ -5528,7 +5529,7 @@
}; //public functions


FP.version = '4.0.3';
FP.version = '4.0.4';
FP.test = Object.assign(FP.test, {
top: '0px',
translate3d: 'translate3d(0px, 0px, 0px)',
Expand Down
2 changes: 1 addition & 1 deletion dist/fullpage.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/fullpage.min.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/fullpage.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion examples/active-slide.html
Expand Up @@ -123,7 +123,8 @@ <h1>Section 3</h1>
anchors: ['firstPage', 'secondPage', '3rdPage', '4thpage', 'lastPage'],
menu: '#menu',
slidesNavigation: true,
lazyLoad: true
lazyLoad: true,
credits: {enabled: false}
});
</script>

Expand Down
2 changes: 1 addition & 1 deletion lang/chinese/README.md
Expand Up @@ -16,7 +16,7 @@

---

![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.3,2-brightgreen.svg)
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.4,2-brightgreen.svg)
[![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
Expand Down
2 changes: 1 addition & 1 deletion lang/french/README.md
Expand Up @@ -17,7 +17,7 @@

---

![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.3-brightgreen.svg)
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.4-brightgreen.svg)
[![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
Expand Down
2 changes: 1 addition & 1 deletion lang/korean/README.md
Expand Up @@ -16,7 +16,7 @@
</p>
---

![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.3-brightgreen.svg)
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.4-brightgreen.svg)
[![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![PayPal](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
Expand Down
2 changes: 1 addition & 1 deletion lang/russian/README.md
Expand Up @@ -17,7 +17,7 @@

---

![Версия fullPage.js](http://img.shields.io/badge/fullPage.js-v4.0.3-brightgreen.svg)
![Версия fullPage.js](http://img.shields.io/badge/fullPage.js-v4.0.4-brightgreen.svg)
[![Лицензия](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![Перечисление на PayPal](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
Expand Down
2 changes: 1 addition & 1 deletion lang/spanish/README.md
Expand Up @@ -18,7 +18,7 @@

---

![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.3-brightgreen.svg)
![fullPage.js version](http://img.shields.io/badge/fullPage.js-v4.0.4-brightgreen.svg)
[![License](https://img.shields.io/badge/License-GPL-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![PayPal Donate](https://img.shields.io/badge/donate-PayPal.me-ff69b4.svg)](https://www.paypal.me/alvarotrigo/9.95)
[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/fullpage.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/fullpage.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "fullpage.js",
"version": "4.0.3",
"version": "4.0.4",
"description": "Create beautiful fullscreen snap scrolling websites",
"main": "dist/fullpage.js",
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions rollup.config.js
Expand Up @@ -3,7 +3,7 @@ import resolve from "@rollup/plugin-node-resolve";
import babel from "@rollup/plugin-babel";

const licenseContent = `/*!
* fullPage 4.0.3
* fullPage 4.0.4
* https://github.com/alvarotrigo/fullPage.js
*
* @license GPLv3 for open source use only
Expand Down Expand Up @@ -41,11 +41,12 @@ const terserOptions = {
'slidesNavPosition',
'scrollBar',
'hybrid',
'licenseKey',
'credits',
'css3',
'scrollingSpeed',
'autoScrolling',
'fitToSection',
'fitToSectionDelay',
'easing',
'easingcss3',
'loopBottom',
Expand All @@ -65,6 +66,7 @@ const terserOptions = {
'touchSensitivity',
'touchWrapper',
'bigSectionsDestination',
'keyboardScrolling',
'animateAnchor',
'recordHistory',
'allowCorrectDirection',
Expand Down Expand Up @@ -132,6 +134,8 @@ const terserOptions = {
'destroy',
'getActiveSection',
'getActiveSlide',
'getScrollY',
'getScrollX',
'landscapeScroll',
'test',
'shared',
Expand Down
2 changes: 1 addition & 1 deletion src/css/fullpage.css
@@ -1,5 +1,5 @@
/*!
* fullPage 4.0.3
* fullPage 4.0.4
* https://github.com/alvarotrigo/fullPage.js
*
* @license GPLv3 for open source use only
Expand Down
2 changes: 1 addition & 1 deletion src/js/fullpage.js
Expand Up @@ -60,7 +60,7 @@ function setAPI(){
};

//public functions
FP.version = '4.0.3';
FP.version = '4.0.4';

FP.test = Object.assign(FP.test, {
top: '0px',
Expand Down
2 changes: 1 addition & 1 deletion src/js/mixed/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions src/js/optionsDefault.js
Expand Up @@ -16,17 +16,16 @@ export const defaultOptions = {

licenseKey: '',
credits: {
enabled: true,
label: 'Made with fullPage.js',
position: 'right'
"enabled": true,
"label": 'Made with fullPage.js',
"position": 'right'
},

//scrolling
css3: true,
scrollingSpeed: 700,
autoScrolling: true,
fitToSection: true,
fitToSectionDelay: 1000,
easing: 'easeInOutCubic',
easingcss3: 'ease',
loopBottom: false,
Expand Down Expand Up @@ -86,13 +85,15 @@ export const defaultOptions = {

//events
afterLoad: null,
beforeLeave: null,
onLeave: null,
afterRender: null,
afterResize: null,
afterReBuild: null,
afterSlideLoad: null,
onSlideLeave: null,
afterResponsive: null,
onScrollOverflow: null,

lazyLoading: true,
observer: true
Expand Down

0 comments on commit fc4873f

Please sign in to comment.