{"action":"created","issue":{"url":"https://api.github.com/repos/01org/appframework/issues/829","labels_url":"https://api.github.com/repos/01org/appframework/issues/829/labels{/name}","comments_url":"https://api.github.com/repos/01org/appframework/issues/829/comments","events_url":"https://api.github.com/repos/01org/appframework/issues/829/events","html_url":"https://github.com/01org/appframework/issues/829","id":60337434,"number":829,"title":"FastClick is not instantiated in index.html","user":{"login":"landabaso","id":4365458,"avatar_url":"https://avatars.githubusercontent.com/u/4365458?v=3","gravatar_id":"","url":"https://api.github.com/users/landabaso","html_url":"https://github.com/landabaso","followers_url":"https://api.github.com/users/landabaso/followers","following_url":"https://api.github.com/users/landabaso/following{/other_user}","gists_url":"https://api.github.com/users/landabaso/gists{/gist_id}","starred_url":"https://api.github.com/users/landabaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landabaso/subscriptions","organizations_url":"https://api.github.com/users/landabaso/orgs","repos_url":"https://api.github.com/users/landabaso/repos","events_url":"https://api.github.com/users/landabaso/events{/privacy}","received_events_url":"https://api.github.com/users/landabaso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T12:42:02Z","updated_at":"2015-03-09T12:56:21Z","closed_at":null,"body":"Not sure whether/where FastClick is instantiated (in index.html and also on samples dir's)\r\n\r\nIn case it's not being instantiated, maybe consider something like:\r\n\r\n```javascript\r\n 55     $(document).ready(function(){\r\n 56         if ('addEventListener' in document) {\r\n 57         document.addEventListener('DOMContentLoaded', function() {\r\n 58             FastClick.attach(document.body);\r\n 59             }, false);\r\n 60         }\r\n 61         $.afui.launch();\r\n 62     }); \r\n```\r\nFrom: [FastClick ReadMe in GitHub](https://github.com/ftlabs/fastclick)"},"comment":{"url":"https://api.github.com/repos/01org/appframework/issues/comments/77847897","html_url":"https://github.com/01org/appframework/issues/829#issuecomment-77847897","issue_url":"https://api.github.com/repos/01org/appframework/issues/829","id":77847897,"user":{"login":"landabaso","id":4365458,"avatar_url":"https://avatars.githubusercontent.com/u/4365458?v=3","gravatar_id":"","url":"https://api.github.com/users/landabaso","html_url":"https://github.com/landabaso","followers_url":"https://api.github.com/users/landabaso/followers","following_url":"https://api.github.com/users/landabaso/following{/other_user}","gists_url":"https://api.github.com/users/landabaso/gists{/gist_id}","starred_url":"https://api.github.com/users/landabaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landabaso/subscriptions","organizations_url":"https://api.github.com/users/landabaso/orgs","repos_url":"https://api.github.com/users/landabaso/repos","events_url":"https://api.github.com/users/landabaso/events{/privacy}","received_events_url":"https://api.github.com/users/landabaso/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T12:56:21Z","updated_at":"2015-03-09T12:56:21Z","body":"It's not failing. Code is OK. Apps will run smooth in most of the cases anyway since modern browsers do not need FastClick anyway when using <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">.\r\n\r\nHowever, I don't see the point in loading a library and then never using it. Perhaps it's instantiated somewhere I could not find. Just in case I wanted to let you know that it looks like FastClick is not being instantiated in the code."}}