我的代码:
<!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>
错误(铬): http: //prntscr.com/674lv0
错误(火狐): http: //prntscr.com/674pvr
结果:屏幕全黑
我究竟做错了什么?我在这里举了这个例子https://github.com/tapquo/Lungo.js/blob/master/README.md
已经在其他浏览器中测试过,但都报错。