Javascript 安装Quojs

Javascript 安装Quojs,javascript,quojs,Javascript,Quojs,我正在尝试安装Quojs,一个手势库,但出现以下错误: TypeError: $$(...).tap is not a function 你知道我该怎么做才能让它工作吗 <!DOCTYPE html> <html> <head> <title>The Touc Project</title> <meta http-equiv="Content-Type" content="text/html; charset=u

我正在尝试安装Quojs,一个手势库,但出现以下错误:

TypeError: $$(...).tap is not a function
你知道我该怎么做才能让它工作吗

<!DOCTYPE html>
<html>
<head>
    <title>The Touc Project</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
    <h1>TOUC !</h1>
    <!-- js -->
    <script type="text/javascript" src="bower_components/quojs/quo.js"></script>
    <script type="text/javascript">
    $$('h1').tap(function(e){
        console.log('tap');
    });
    </script>
</body>
</html>

Touc项目
图克!
$$('h1')。点击(函数(e){
console.log('tap');
});

检查Quojs的源url,然后尝试此操作

$$('h1').tap(function(){
    console.log('tap');
});

似乎特定于3.X.X版本,2.3.6 quo.js仍然存在相同的错误,您可以尝试查看原因: