.init()上的LungoJS错误
LungoJS error on .init()
我的代码:
<!DOCTYPE html>
<html lang="br">
<head>
<meta charset="utf-8">
<title>My Project</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="assets/css/lungo.css">
<link rel="stylesheet" href="assets/css/lungo.theme.css">
<link rel="stylesheet" href="assets/css/lungo.icon.css">
</head>
<body>
<section id="main">
<article id="main-article">
Your content
</article>
</section>
<script src="assets/js/quojs/quo.js"></script>
<script src="assets/js/lungo/lungo.js"></script>
<script>
Lungo.init({
name: 'My Project',
version: '0.0.1',
history: false
});
</script>
</body>
</html>
错误(Chrome):http://prntscr.com/674lv0
错误(Firefox):http://prntscr.com/674pvr
结果:屏幕全黑
我做错了什么?我在这里举了这个例子https://github.com/tapquo/Lungo.js/blob/master/README.md
已经在其他浏览器中进行了测试,但都出现了错误。
你能提到你正在使用的lungo版本吗?
也可以试试这个版本的lungo。它对我有用。
http://lungo.tapquo.com/microsites/lungo/package/quo.jshttp://lungo.tapquo.com/microsites/lungo/package/lungo.js
相关文章:
- Node.js v6.2.0类扩展不是函数错误
- Jquery菜单操作不稳定,定位不正确,存在一般错误
- document.open/document.write没有正确地清除chrome中的文档——这是chrome的错误吗
- 试图在引导模式内动态生成图表,得到offsetWidth错误
- 为什么会出现错误;未捕获的类型错误:undefined不是函数;
- 我如何修复包含在captcha的addthis中的错误
- 同样,同样的错误'ahorcado.js:26未捕获类型错误:无法读取属性'beginPath'
- 节点是否需要模块传递带有方括号的arg?这是个错误吗
- Webpack/Rect:遵循egghead.io教程,但出现错误:您可能需要一个合适的加载程序来处理此文件类型
- CKFinder 3为所选文件返回错误的URL
- 同位素库错误:未捕获错误无布局模式包装生产线8
- 铬:“;未捕获的语法错误:意外的标记:"
- 如何通过自己获得Chrome扩展的用户反馈/错误报告
- 相位器状态未捕获参考错误
- /undefined在我的404错误日志中多次出现
- Javascript未捕获语法错误意外的标识符错误
- javascript:如何在antlr生成的Lexer中进行错误处理
- Angularjs工厂注入错误
- 可以设置“;文件名"发生错误时显示的内联脚本标记的
- .init()上的LungoJS错误