{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla-comm/ical.js/issues/208","repository_url":"https://api.github.com/repos/mozilla-comm/ical.js","labels_url":"https://api.github.com/repos/mozilla-comm/ical.js/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-comm/ical.js/issues/208/comments","events_url":"https://api.github.com/repos/mozilla-comm/ical.js/issues/208/events","html_url":"https://github.com/mozilla-comm/ical.js/issues/208","id":134038645,"number":208,"title":"Validator broken:ReferenceError: ICAL is not defined","user":{"login":"adamlofts","id":11036,"avatar_url":"https://avatars.githubusercontent.com/u/11036?v=3","gravatar_id":"","url":"https://api.github.com/users/adamlofts","html_url":"https://github.com/adamlofts","followers_url":"https://api.github.com/users/adamlofts/followers","following_url":"https://api.github.com/users/adamlofts/following{/other_user}","gists_url":"https://api.github.com/users/adamlofts/gists{/gist_id}","starred_url":"https://api.github.com/users/adamlofts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamlofts/subscriptions","organizations_url":"https://api.github.com/users/adamlofts/orgs","repos_url":"https://api.github.com/users/adamlofts/repos","events_url":"https://api.github.com/users/adamlofts/events{/privacy}","received_events_url":"https://api.github.com/users/adamlofts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-16T17:09:25Z","updated_at":"2016-02-16T17:09:25Z","closed_at":null,"body":"I was trying out the validator here: http://mozilla-comm.github.io/ical.js/validator.html with some sample data and it seems to always crash with the same error. For example I copied in\r\n\r\n`BEGIN:VCALENDAR\r\nCALSCALE:GREGORIAN\r\nPRODID:-//Example Inc.//Example Calendar//EN\r\nVERSION:2.0\r\nBEGIN:VEVENT\r\nDTSTAMP:20080205T191224Z\r\nDTSTART:20081006\r\nSUMMARY:Planning meeting\r\nUID:4088E990AD89CB3DBB484909\r\nEND:VEVENT\r\nEND:VCALENDAR`\r\n\r\nThe error is:\r\n`Couldn't parse as iCalendar:\r\nError: ReferenceError: ICAL is not defined\r\nStack: ReferenceError: ICAL is not defined\r\n    at validate (http://mozilla-comm.github.io/ical.js/validator.html:49:24)\r\n    at HTMLFormElement.onsubmit (http://mozilla-comm.github.io/ical.js/validator.html:85:72)\r\n`"}}