javascript - Installing Quojs -


i'm trying install quojs, gestures library got following error :

typeerror: $$(...).tap not function 

any idea should work ?

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

check source url of quojs , try instead

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

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -