{"action":"reopened","issue":{"url":"https://api.github.com/repos/cubiq/add-to-homescreen/issues/197","labels_url":"https://api.github.com/repos/cubiq/add-to-homescreen/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/cubiq/add-to-homescreen/issues/197/comments","events_url":"https://api.github.com/repos/cubiq/add-to-homescreen/issues/197/events","html_url":"https://github.com/cubiq/add-to-homescreen/issues/197","id":112836224,"number":197,"title":"Throwing TypeError on installation","user":{"login":"Chenzilla","id":4452345,"avatar_url":"https://avatars.githubusercontent.com/u/4452345?v=3","gravatar_id":"","url":"https://api.github.com/users/Chenzilla","html_url":"https://github.com/Chenzilla","followers_url":"https://api.github.com/users/Chenzilla/followers","following_url":"https://api.github.com/users/Chenzilla/following{/other_user}","gists_url":"https://api.github.com/users/Chenzilla/gists{/gist_id}","starred_url":"https://api.github.com/users/Chenzilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chenzilla/subscriptions","organizations_url":"https://api.github.com/users/Chenzilla/orgs","repos_url":"https://api.github.com/users/Chenzilla/repos","events_url":"https://api.github.com/users/Chenzilla/events{/privacy}","received_events_url":"https://api.github.com/users/Chenzilla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T16:03:36Z","updated_at":"2015-10-22T16:33:33Z","closed_at":null,"body":"Javascript error in console: Uncaught TypeError: Cannot read property 'debug' of undefined\r\n\r\nI'm currently loading it like this:\r\n<%= javascript_include_tag 'application' %>\r\n<script>\r\naddToHomescreen();\r\n</script>\r\n\r\nWith add-to-homescreen loaded first in application.js. Any help would be appreciated!"}}