{"action":"created","issue":{"url":"https://api.github.com/repos/felixrieseberg/ember-electron/issues/20","labels_url":"https://api.github.com/repos/felixrieseberg/ember-electron/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/felixrieseberg/ember-electron/issues/20/comments","events_url":"https://api.github.com/repos/felixrieseberg/ember-electron/issues/20/events","html_url":"https://github.com/felixrieseberg/ember-electron/issues/20","id":127966569,"number":20,"title":"require('electron') - issues?","user":{"login":"toovy","id":350002,"avatar_url":"https://avatars.githubusercontent.com/u/350002?v=3","gravatar_id":"","url":"https://api.github.com/users/toovy","html_url":"https://github.com/toovy","followers_url":"https://api.github.com/users/toovy/followers","following_url":"https://api.github.com/users/toovy/following{/other_user}","gists_url":"https://api.github.com/users/toovy/gists{/gist_id}","starred_url":"https://api.github.com/users/toovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toovy/subscriptions","organizations_url":"https://api.github.com/users/toovy/orgs","repos_url":"https://api.github.com/users/toovy/repos","events_url":"https://api.github.com/users/toovy/events{/privacy}","received_events_url":"https://api.github.com/users/toovy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T16:42:57Z","updated_at":"2016-01-21T17:52:15Z","closed_at":"2016-01-21T17:05:45Z","body":"Hi felix,\r\n\r\nI played around with this project and really appreciate it. Nevertheless I tried to open a dialog to let the user pick a file. Looking at the electron API this should be pretty straightforward. \r\n\r\nhttps://github.com/atom/electron/blob/master/docs/api/dialog.md\r\n\r\nWhen I call require('electron') there is no dialog property. What am I doing wrong?\r\n\r\nThanks a lot, BR, toovy"},"comment":{"url":"https://api.github.com/repos/felixrieseberg/ember-electron/issues/comments/173652570","html_url":"https://github.com/felixrieseberg/ember-electron/issues/20#issuecomment-173652570","issue_url":"https://api.github.com/repos/felixrieseberg/ember-electron/issues/20","id":173652570,"user":{"login":"toovy","id":350002,"avatar_url":"https://avatars.githubusercontent.com/u/350002?v=3","gravatar_id":"","url":"https://api.github.com/users/toovy","html_url":"https://github.com/toovy","followers_url":"https://api.github.com/users/toovy/followers","following_url":"https://api.github.com/users/toovy/following{/other_user}","gists_url":"https://api.github.com/users/toovy/gists{/gist_id}","starred_url":"https://api.github.com/users/toovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toovy/subscriptions","organizations_url":"https://api.github.com/users/toovy/orgs","repos_url":"https://api.github.com/users/toovy/repos","events_url":"https://api.github.com/users/toovy/events{/privacy}","received_events_url":"https://api.github.com/users/toovy/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T17:52:15Z","updated_at":"2016-01-21T17:52:15Z","body":"Works fine, thanks!\r\n    \r\n    dialog = require('electron').remote.dialog\r\n    dir = dialog.showOpenDialog properties: [ 'openDirectory' ]"}}