{"action":"created","issue":{"url":"https://api.github.com/repos/nekken/ng2-fullcalendar/issues/5","repository_url":"https://api.github.com/repos/nekken/ng2-fullcalendar","labels_url":"https://api.github.com/repos/nekken/ng2-fullcalendar/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/nekken/ng2-fullcalendar/issues/5/comments","events_url":"https://api.github.com/repos/nekken/ng2-fullcalendar/issues/5/events","html_url":"https://github.com/nekken/ng2-fullcalendar/issues/5","id":192207795,"number":5,"title":"Exception when use","user":{"login":"Rudde","id":3603935,"avatar_url":"https://avatars.githubusercontent.com/u/3603935?v=3","gravatar_id":"","url":"https://api.github.com/users/Rudde","html_url":"https://github.com/Rudde","followers_url":"https://api.github.com/users/Rudde/followers","following_url":"https://api.github.com/users/Rudde/following{/other_user}","gists_url":"https://api.github.com/users/Rudde/gists{/gist_id}","starred_url":"https://api.github.com/users/Rudde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rudde/subscriptions","organizations_url":"https://api.github.com/users/Rudde/orgs","repos_url":"https://api.github.com/users/Rudde/repos","events_url":"https://api.github.com/users/Rudde/events{/privacy}","received_events_url":"https://api.github.com/users/Rudde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T07:30:19Z","updated_at":"2016-11-30T01:37:17Z","closed_at":null,"body":"Hello, I've installed this module according to npm instructions, I have fickered a lot with it to try to get it work without luck. But I did find a very interesting thing. \r\n\r\nI used this with .NET Core, and webpack hot replacement. And if I do all the changes and I let hot replacment get injected to the site ng2-fullcalendar works fine, but once I refresh, I get this ugly exception.\r\n\r\n> An unhandled exception occurred while processing the request.\r\n>  \r\n> Exception: Call to Node module failed with error: TypeError: Cannot set property 'fullCalendar' of undefined\r\n> at C:\\Users\\Kai\\Documents\\Projects\\aspnetcoreSpa\\node_modules\\fullcalendar\\dist\\fullcalendar.js:28:19\r\n> at $.fullCalendar.version (C:\\Users\\Kai\\Documents\\Projects\\aspnetcoreSpa\\node_modules\\fullcalendar\\dist\\fullcalendar.js:12:20)\r\n> at Object.<anonymous> (C:\\Users\\Kai\\Documents\\Projects\\aspnetcoreSpa\\node_modules\\fullcalendar\\dist\\fullcalendar.js:17:3)\r\n> at Module._compile (module.js:409:26)\r\n> at Object.Module._extensions..js (module.js:416:10)\r\n> at Module.load (module.js:343:32)\r\n> at Function.Module._load (module.js:300:12)\r\n> at Module.require (module.js:353:17)\r\n> at require (internal/module.js:12:17)\r\n> at Object.<anonymous> (C:\\Users\\Kai\\Documents\\Projects\\aspnetcoreSpa\\node_modules\\angular2-fullcalendar\\src\\calendar\\calendar.js:13:1)\r\n> MoveNext"},"comment":{"url":"https://api.github.com/repos/nekken/ng2-fullcalendar/issues/comments/263756712","html_url":"https://github.com/nekken/ng2-fullcalendar/issues/5#issuecomment-263756712","issue_url":"https://api.github.com/repos/nekken/ng2-fullcalendar/issues/5","id":263756712,"user":{"login":"nekken","id":197851,"avatar_url":"https://avatars.githubusercontent.com/u/197851?v=3","gravatar_id":"","url":"https://api.github.com/users/nekken","html_url":"https://github.com/nekken","followers_url":"https://api.github.com/users/nekken/followers","following_url":"https://api.github.com/users/nekken/following{/other_user}","gists_url":"https://api.github.com/users/nekken/gists{/gist_id}","starred_url":"https://api.github.com/users/nekken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekken/subscriptions","organizations_url":"https://api.github.com/users/nekken/orgs","repos_url":"https://api.github.com/users/nekken/repos","events_url":"https://api.github.com/users/nekken/events{/privacy}","received_events_url":"https://api.github.com/users/nekken/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T01:37:17Z","updated_at":"2016-11-30T01:37:17Z","body":"Hi Rudde,\r\n\r\nthe fullcalendar requires jQuery\r\n\r\nSince the error complains about $.fn being undefined it could mean that jQuery is not yet loaded.\r\n\r\nhope this helps"}}
{"actor":{"display_login":"nekken"}}