{"action":"opened","issue":{"url":"https://api.github.com/repos/adobe-webplatform/Snap.svg/issues/350","labels_url":"https://api.github.com/repos/adobe-webplatform/Snap.svg/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/adobe-webplatform/Snap.svg/issues/350/comments","events_url":"https://api.github.com/repos/adobe-webplatform/Snap.svg/issues/350/events","html_url":"https://github.com/adobe-webplatform/Snap.svg/issues/350","id":57815518,"number":350,"title":"Cannot use Snap.svg with atom-shell","user":{"login":"cronvel","id":6891714,"avatar_url":"https://avatars.githubusercontent.com/u/6891714?v=3","gravatar_id":"","url":"https://api.github.com/users/cronvel","html_url":"https://github.com/cronvel","followers_url":"https://api.github.com/users/cronvel/followers","following_url":"https://api.github.com/users/cronvel/following{/other_user}","gists_url":"https://api.github.com/users/cronvel/gists{/gist_id}","starred_url":"https://api.github.com/users/cronvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cronvel/subscriptions","organizations_url":"https://api.github.com/users/cronvel/orgs","repos_url":"https://api.github.com/users/cronvel/repos","events_url":"https://api.github.com/users/cronvel/events{/privacy}","received_events_url":"https://api.github.com/users/cronvel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T15:13:55Z","updated_at":"2015-02-16T15:13:55Z","closed_at":null,"body":"Whatever I've tried, I cannot load Snap.svg within Atom-shell (a nodejs/chromium runtime, working more or less like node-webkit).\r\n\r\nI have tested 'master' as well 'as 3.0'.\r\n\r\n* If I use `require()` in my main .js file, I get this error:\r\n\r\n[6757:0216/155144:INFO:CONSOLE(1770)] \"Uncaught TypeError: Cannot read property 'contains' of undefined\", source: [...]/node_modules/snapsvg/dist/snap.svg.js (1770)\r\n\r\n* If I use `<script src=\"../js/snap.svg.js\"></script>` in my main .html file, I get:\r\n\r\n[7093:0216/160528:INFO:CONSOLE(3219)] \"Uncaught TypeError: Cannot read property 'on' of undefined\", source: file:///[...]/js/snap.svg.js (3219)\r\n"}}