{"action":"created","issue":{"url":"https://api.github.com/repos/futurepress/epub.js/issues/336","repository_url":"https://api.github.com/repos/futurepress/epub.js","labels_url":"https://api.github.com/repos/futurepress/epub.js/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/futurepress/epub.js/issues/336/comments","events_url":"https://api.github.com/repos/futurepress/epub.js/issues/336/events","html_url":"https://github.com/futurepress/epub.js/issues/336","id":119438081,"number":336,"title":"Uncaught ReferenceError: RSVP is not defined on Electron.js","user":{"login":"smoqadam","id":1223848,"avatar_url":"https://avatars.githubusercontent.com/u/1223848?v=3","gravatar_id":"","url":"https://api.github.com/users/smoqadam","html_url":"https://github.com/smoqadam","followers_url":"https://api.github.com/users/smoqadam/followers","following_url":"https://api.github.com/users/smoqadam/following{/other_user}","gists_url":"https://api.github.com/users/smoqadam/gists{/gist_id}","starred_url":"https://api.github.com/users/smoqadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smoqadam/subscriptions","organizations_url":"https://api.github.com/users/smoqadam/orgs","repos_url":"https://api.github.com/users/smoqadam/repos","events_url":"https://api.github.com/users/smoqadam/events{/privacy}","received_events_url":"https://api.github.com/users/smoqadam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-30T07:57:06Z","updated_at":"2016-02-16T22:09:43Z","closed_at":null,"body":"Hi\r\nI want to create an epub reader based on Electron.js \r\n\r\nbut I get the following error on developer console : \r\n\r\n```Uncaught ReferenceError: RSVP is not defined ``` book.js:1308\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/futurepress/epub.js/issues/comments/184895782","html_url":"https://github.com/futurepress/epub.js/issues/336#issuecomment-184895782","issue_url":"https://api.github.com/repos/futurepress/epub.js/issues/336","id":184895782,"user":{"login":"fchasen","id":213312,"avatar_url":"https://avatars.githubusercontent.com/u/213312?v=3","gravatar_id":"","url":"https://api.github.com/users/fchasen","html_url":"https://github.com/fchasen","followers_url":"https://api.github.com/users/fchasen/followers","following_url":"https://api.github.com/users/fchasen/following{/other_user}","gists_url":"https://api.github.com/users/fchasen/gists{/gist_id}","starred_url":"https://api.github.com/users/fchasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchasen/subscriptions","organizations_url":"https://api.github.com/users/fchasen/orgs","repos_url":"https://api.github.com/users/fchasen/repos","events_url":"https://api.github.com/users/fchasen/events{/privacy}","received_events_url":"https://api.github.com/users/fchasen/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T22:09:43Z","updated_at":"2016-02-16T22:09:43Z","body":"Updates in v0.2.14 should make the dependencies work with Electron. I think the issue stems from it having `module.exports` defined and confusing our umd loader.\r\n\r\nTested with [Electron quick-start](https://github.com/atom/electron-quick-start) using \r\n\r\n```js\r\nnpm install epub.js\r\n```\r\n\r\nand then putting the basic example in index.html and loading epub.js via \r\n\r\n```js\r\n<script src=\"node_modules/epub.js/build/epub.js\"></script>\r\n```"}}