0

我的代码:

<!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

已经在其他浏览器中测试过,但都报错。

4

1 回答 1

1

你能提一下你正在使用的lungo版本吗?

也试试这个版本的lungo。这个对我有用。

http://lungo.tapquo.com/microsites/lungo/package/quo.js http://lungo.tapquo.com/microsites/lungo/package/lungo.js

于 2015-03-06T07:27:05.420 回答