fullpage.js报如下错误的解决办法

Posted Moliy-Moliy

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了fullpage.js报如下错误的解决办法相关的知识,希望对你有一定的参考价值。

控制台报错:fullPage: Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:

解决办法:

fullpage.js文件中查找licenseKey,删除如下代码(查找快捷键 ctrl+F)

if(!isOK){
  showError(‘error‘, ‘Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option. Read about it here:‘);
  showError(‘error‘, ‘https://github.com/alvarotrigo/fullPage.js#options.‘);
}

删除后将下一行的else if也删掉,变成如下代码
if(l && l.length < 20){
  console.warn(‘%c This website was made using fullPage.js slider. More info on the following website:‘, msgStyle);
  console.warn(‘%c https://alvarotrigo.com/fullPage/‘, msgStyle);
}

 

以上是关于fullpage.js报如下错误的解决办法的主要内容,如果未能解决你的问题,请参考以下文章

关于tomcat启动服务单独启动时ngrok报500错误的解决办法

spring boot jpa @Entity 报Error executing DDL错误的解决办法

win8win10下卸载程序报错误25022503的解决办法

关于Qt 报QDomDocument: No such file or directory错误解决办法

Myeclipse中误报错误解决办法

转 : Apache启动报错:could not bind to address [::]:443 解决办法