{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/1751","labels_url":"https://api.github.com/repos/atom/electron/issues/1751/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/1751/comments","events_url":"https://api.github.com/repos/atom/electron/issues/1751/events","html_url":"https://github.com/atom/electron/issues/1751","id":79376931,"number":1751,"title":"How to integrate an existent webapp?","user":{"login":"hadrienl","id":225382,"avatar_url":"https://avatars.githubusercontent.com/u/225382?v=3","gravatar_id":"","url":"https://api.github.com/users/hadrienl","html_url":"https://github.com/hadrienl","followers_url":"https://api.github.com/users/hadrienl/followers","following_url":"https://api.github.com/users/hadrienl/following{/other_user}","gists_url":"https://api.github.com/users/hadrienl/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrienl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrienl/subscriptions","organizations_url":"https://api.github.com/users/hadrienl/orgs","repos_url":"https://api.github.com/users/hadrienl/repos","events_url":"https://api.github.com/users/hadrienl/events{/privacy}","received_events_url":"https://api.github.com/users/hadrienl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-22T09:33:23Z","updated_at":"2015-05-26T09:05:19Z","closed_at":"2015-05-23T02:18:31Z","body":"Hi,\r\n\r\nI'm trying to integrate an existing webapp built with angularjs and some bower components which are agnostic and test presence of `module` and `require`. So if I load my webapp in an iframe, it displays correctly, but I don't know how to access remote app object. And if I load directly my webapp from index.js, it crash caused to my components thinking they are in a node environment.\r\n\r\nWhat is the good way to make all this work ?"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/105457003","html_url":"https://github.com/atom/electron/issues/1751#issuecomment-105457003","issue_url":"https://api.github.com/repos/atom/electron/issues/1751","id":105457003,"user":{"login":"hadrienl","id":225382,"avatar_url":"https://avatars.githubusercontent.com/u/225382?v=3","gravatar_id":"","url":"https://api.github.com/users/hadrienl","html_url":"https://github.com/hadrienl","followers_url":"https://api.github.com/users/hadrienl/followers","following_url":"https://api.github.com/users/hadrienl/following{/other_user}","gists_url":"https://api.github.com/users/hadrienl/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrienl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrienl/subscriptions","organizations_url":"https://api.github.com/users/hadrienl/orgs","repos_url":"https://api.github.com/users/hadrienl/repos","events_url":"https://api.github.com/users/hadrienl/events{/privacy}","received_events_url":"https://api.github.com/users/hadrienl/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T09:05:19Z","updated_at":"2015-05-26T09:05:19Z","body":"I need it to access native functionnalities. How will I be able to set Dock badge or display a notification?"}}