码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2019-09-28 11:08:21      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:ide   key   clear   out   var   文件   OWIN   github   info   

控制台报错: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报如下错误的解决办法

标签:ide   key   clear   out   var   文件   OWIN   github   info   

原文地址:https://www.cnblogs.com/hou-yuan-zhen/p/11601686.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!