{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/comments/23258902","id":23258902,"diff_hunk":"@@ -0,0 +1,21 @@\n+'use strict';\n+\n+var connect = require('../');\n+var startSimulator = require('node-firefox-start-simulator');\n+\n+startSimulator({}).then(function(simulator) {","path":"examples/startAndConnect.js","position":6,"original_position":6,"commit_id":"50056c9495f9cd1211eda430914aab145131a76b","original_commit_id":"50056c9495f9cd1211eda430914aab145131a76b","user":{"login":"tofumatt","id":90871,"avatar_url":"https://avatars.githubusercontent.com/u/90871?v=3","gravatar_id":"","url":"https://api.github.com/users/tofumatt","html_url":"https://github.com/tofumatt","followers_url":"https://api.github.com/users/tofumatt/followers","following_url":"https://api.github.com/users/tofumatt/following{/other_user}","gists_url":"https://api.github.com/users/tofumatt/gists{/gist_id}","starred_url":"https://api.github.com/users/tofumatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofumatt/subscriptions","organizations_url":"https://api.github.com/users/tofumatt/orgs","repos_url":"https://api.github.com/users/tofumatt/repos","events_url":"https://api.github.com/users/tofumatt/events{/privacy}","received_events_url":"https://api.github.com/users/tofumatt/received_events","type":"User","site_admin":false},"body":"Is the empty options hash required? I don't think it needs to be in the example here :-)","created_at":"2015-01-20T21:47:13Z","updated_at":"2015-01-20T21:47:13Z","html_url":"https://github.com/mozilla/node-firefox-connect/pull/3#discussion_r23258902","pull_request_url":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/comments/23258902"},"html":{"href":"https://github.com/mozilla/node-firefox-connect/pull/3#discussion_r23258902"},"pull_request":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3","id":27709184,"html_url":"https://github.com/mozilla/node-firefox-connect/pull/3","diff_url":"https://github.com/mozilla/node-firefox-connect/pull/3.diff","patch_url":"https://github.com/mozilla/node-firefox-connect/pull/3.patch","issue_url":"https://api.github.com/repos/mozilla/node-firefox-connect/issues/3","number":3,"state":"open","locked":false,"title":"super simplified the module to only using promise, and only offering a *...","user":{"login":"sole","id":5609,"avatar_url":"https://avatars.githubusercontent.com/u/5609?v=3","gravatar_id":"","url":"https://api.github.com/users/sole","html_url":"https://github.com/sole","followers_url":"https://api.github.com/users/sole/followers","following_url":"https://api.github.com/users/sole/following{/other_user}","gists_url":"https://api.github.com/users/sole/gists{/gist_id}","starred_url":"https://api.github.com/users/sole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sole/subscriptions","organizations_url":"https://api.github.com/users/sole/orgs","repos_url":"https://api.github.com/users/sole/repos","events_url":"https://api.github.com/users/sole/events{/privacy}","received_events_url":"https://api.github.com/users/sole/received_events","type":"User","site_admin":false},"body":"...connect* functionality","created_at":"2015-01-20T20:26:23Z","updated_at":"2015-01-20T21:47:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28629e0fd17f75b1fd03f67fe5e8349573859177","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3/commits","review_comments_url":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3/comments","review_comment_url":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla/node-firefox-connect/issues/3/comments","statuses_url":"https://api.github.com/repos/mozilla/node-firefox-connect/statuses/50056c9495f9cd1211eda430914aab145131a76b","head":{"label":"sole:only-promise","ref":"only-promise","sha":"50056c9495f9cd1211eda430914aab145131a76b","user":{"login":"sole","id":5609,"avatar_url":"https://avatars.githubusercontent.com/u/5609?v=3","gravatar_id":"","url":"https://api.github.com/users/sole","html_url":"https://github.com/sole","followers_url":"https://api.github.com/users/sole/followers","following_url":"https://api.github.com/users/sole/following{/other_user}","gists_url":"https://api.github.com/users/sole/gists{/gist_id}","starred_url":"https://api.github.com/users/sole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sole/subscriptions","organizations_url":"https://api.github.com/users/sole/orgs","repos_url":"https://api.github.com/users/sole/repos","events_url":"https://api.github.com/users/sole/events{/privacy}","received_events_url":"https://api.github.com/users/sole/received_events","type":"User","site_admin":false},"repo":{"id":29538292,"name":"node-firefox-connect","full_name":"sole/node-firefox-connect","owner":{"login":"sole","id":5609,"avatar_url":"https://avatars.githubusercontent.com/u/5609?v=3","gravatar_id":"","url":"https://api.github.com/users/sole","html_url":"https://github.com/sole","followers_url":"https://api.github.com/users/sole/followers","following_url":"https://api.github.com/users/sole/following{/other_user}","gists_url":"https://api.github.com/users/sole/gists{/gist_id}","starred_url":"https://api.github.com/users/sole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sole/subscriptions","organizations_url":"https://api.github.com/users/sole/orgs","repos_url":"https://api.github.com/users/sole/repos","events_url":"https://api.github.com/users/sole/events{/privacy}","received_events_url":"https://api.github.com/users/sole/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sole/node-firefox-connect","description":"Connect to a Firefox OS Simulator","fork":true,"url":"https://api.github.com/repos/sole/node-firefox-connect","forks_url":"https://api.github.com/repos/sole/node-firefox-connect/forks","keys_url":"https://api.github.com/repos/sole/node-firefox-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sole/node-firefox-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sole/node-firefox-connect/teams","hooks_url":"https://api.github.com/repos/sole/node-firefox-connect/hooks","issue_events_url":"https://api.github.com/repos/sole/node-firefox-connect/issues/events{/number}","events_url":"https://api.github.com/repos/sole/node-firefox-connect/events","assignees_url":"https://api.github.com/repos/sole/node-firefox-connect/assignees{/user}","branches_url":"https://api.github.com/repos/sole/node-firefox-connect/branches{/branch}","tags_url":"https://api.github.com/repos/sole/node-firefox-connect/tags","blobs_url":"https://api.github.com/repos/sole/node-firefox-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sole/node-firefox-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sole/node-firefox-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/sole/node-firefox-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sole/node-firefox-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/sole/node-firefox-connect/languages","stargazers_url":"https://api.github.com/repos/sole/node-firefox-connect/stargazers","contributors_url":"https://api.github.com/repos/sole/node-firefox-connect/contributors","subscribers_url":"https://api.github.com/repos/sole/node-firefox-connect/subscribers","subscription_url":"https://api.github.com/repos/sole/node-firefox-connect/subscription","commits_url":"https://api.github.com/repos/sole/node-firefox-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/sole/node-firefox-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/sole/node-firefox-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/sole/node-firefox-connect/issues/comments/{number}","contents_url":"https://api.github.com/repos/sole/node-firefox-connect/contents/{+path}","compare_url":"https://api.github.com/repos/sole/node-firefox-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sole/node-firefox-connect/merges","archive_url":"https://api.github.com/repos/sole/node-firefox-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sole/node-firefox-connect/downloads","issues_url":"https://api.github.com/repos/sole/node-firefox-connect/issues{/number}","pulls_url":"https://api.github.com/repos/sole/node-firefox-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/sole/node-firefox-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/sole/node-firefox-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sole/node-firefox-connect/labels{/name}","releases_url":"https://api.github.com/repos/sole/node-firefox-connect/releases{/id}","created_at":"2015-01-20T16:05:38Z","updated_at":"2015-01-20T16:05:38Z","pushed_at":"2015-01-20T20:24:43Z","git_url":"git://github.com/sole/node-firefox-connect.git","ssh_url":"git@github.com:sole/node-firefox-connect.git","clone_url":"https://github.com/sole/node-firefox-connect.git","svn_url":"https://github.com/sole/node-firefox-connect","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"68eb5f8a3ce314c5a08891695646c3aeee59545d","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":29201341,"name":"node-firefox-connect","full_name":"mozilla/node-firefox-connect","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/node-firefox-connect","description":"Connect to a Firefox runtime","fork":false,"url":"https://api.github.com/repos/mozilla/node-firefox-connect","forks_url":"https://api.github.com/repos/mozilla/node-firefox-connect/forks","keys_url":"https://api.github.com/repos/mozilla/node-firefox-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/node-firefox-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/node-firefox-connect/teams","hooks_url":"https://api.github.com/repos/mozilla/node-firefox-connect/hooks","issue_events_url":"https://api.github.com/repos/mozilla/node-firefox-connect/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/node-firefox-connect/events","assignees_url":"https://api.github.com/repos/mozilla/node-firefox-connect/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/node-firefox-connect/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/node-firefox-connect/tags","blobs_url":"https://api.github.com/repos/mozilla/node-firefox-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/node-firefox-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/node-firefox-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/node-firefox-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/node-firefox-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/node-firefox-connect/languages","stargazers_url":"https://api.github.com/repos/mozilla/node-firefox-connect/stargazers","contributors_url":"https://api.github.com/repos/mozilla/node-firefox-connect/contributors","subscribers_url":"https://api.github.com/repos/mozilla/node-firefox-connect/subscribers","subscription_url":"https://api.github.com/repos/mozilla/node-firefox-connect/subscription","commits_url":"https://api.github.com/repos/mozilla/node-firefox-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/node-firefox-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/node-firefox-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/node-firefox-connect/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/node-firefox-connect/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/node-firefox-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/node-firefox-connect/merges","archive_url":"https://api.github.com/repos/mozilla/node-firefox-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/node-firefox-connect/downloads","issues_url":"https://api.github.com/repos/mozilla/node-firefox-connect/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/node-firefox-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/node-firefox-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/node-firefox-connect/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/node-firefox-connect/releases{/id}","created_at":"2015-01-13T17:14:35Z","updated_at":"2015-01-20T20:32:46Z","pushed_at":"2015-01-14T02:38:55Z","git_url":"git://github.com/mozilla/node-firefox-connect.git","ssh_url":"git@github.com:mozilla/node-firefox-connect.git","clone_url":"https://github.com/mozilla/node-firefox-connect.git","svn_url":"https://github.com/mozilla/node-firefox-connect","homepage":"","size":104,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3"},"html":{"href":"https://github.com/mozilla/node-firefox-connect/pull/3"},"issue":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/issues/3"},"comments":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/node-firefox-connect/statuses/50056c9495f9cd1211eda430914aab145131a76b"}}}}