{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/282","repository_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin","labels_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/282/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/282/events","html_url":"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/282","id":147220324,"number":282,"title":"window.onerror","user":{"login":"grzesiekmq","id":9611210,"avatar_url":"https://avatars.githubusercontent.com/u/9611210?v=3","gravatar_id":"","url":"https://api.github.com/users/grzesiekmq","html_url":"https://github.com/grzesiekmq","followers_url":"https://api.github.com/users/grzesiekmq/followers","following_url":"https://api.github.com/users/grzesiekmq/following{/other_user}","gists_url":"https://api.github.com/users/grzesiekmq/gists{/gist_id}","starred_url":"https://api.github.com/users/grzesiekmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzesiekmq/subscriptions","organizations_url":"https://api.github.com/users/grzesiekmq/orgs","repos_url":"https://api.github.com/users/grzesiekmq/repos","events_url":"https://api.github.com/users/grzesiekmq/events{/privacy}","received_events_url":"https://api.github.com/users/grzesiekmq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-10T12:17:31Z","updated_at":"2016-04-10T12:34:26Z","closed_at":"2016-04-10T12:34:26Z","body":"I used your code with buttons from **has read permission** to **find event no filter** and I clicked on **open calendar** and I get \r\n\r\n> Uncaught ReferenceError:openCalendar is not defined; file:///android_asset/www/index.html; 139\r\n\r\nonly index.html and config.xml builded successfully with PhoneGap Build\r\nI solved I put it into onDevideReady function and it doesn't work and get this error\r\nso your code i.e demo.js must be within <script> tag but not in onDeviceReady function\r\n"},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/comments/207978724","html_url":"https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/282#issuecomment-207978724","issue_url":"https://api.github.com/repos/EddyVerbruggen/Calendar-PhoneGap-Plugin/issues/282","id":207978724,"user":{"login":"grzesiekmq","id":9611210,"avatar_url":"https://avatars.githubusercontent.com/u/9611210?v=3","gravatar_id":"","url":"https://api.github.com/users/grzesiekmq","html_url":"https://github.com/grzesiekmq","followers_url":"https://api.github.com/users/grzesiekmq/followers","following_url":"https://api.github.com/users/grzesiekmq/following{/other_user}","gists_url":"https://api.github.com/users/grzesiekmq/gists{/gist_id}","starred_url":"https://api.github.com/users/grzesiekmq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzesiekmq/subscriptions","organizations_url":"https://api.github.com/users/grzesiekmq/orgs","repos_url":"https://api.github.com/users/grzesiekmq/repos","events_url":"https://api.github.com/users/grzesiekmq/events{/privacy}","received_events_url":"https://api.github.com/users/grzesiekmq/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T12:34:26Z","updated_at":"2016-04-10T12:34:26Z","body":"solved!"}}