{"action":"created","comment":{"url":"https://api.github.com/repos/openexp/OpenEXP/pulls/comments/52847311","id":52847311,"diff_hunk":"@@ -39,16 +41,25 @@ angular.module('OpenEXP')\n \n         // connect to the board and start streaming if no errors\n         var connect = (portName) => {\n+          return new Promise((res, rej) => {\n             ourBoard.connect(portName)\n-                .then(boardSerial => {\n+                .then(() => {","path":"client/components/board/boardFactory.js","position":16,"original_position":16,"commit_id":"a7b7a6ddf6be436a13df3178e39a6c4589fa9489","original_commit_id":"a7b7a6ddf6be436a13df3178e39a6c4589fa9489","user":{"login":"teonlamont","id":1578674,"avatar_url":"https://avatars.githubusercontent.com/u/1578674?v=3","gravatar_id":"","url":"https://api.github.com/users/teonlamont","html_url":"https://github.com/teonlamont","followers_url":"https://api.github.com/users/teonlamont/followers","following_url":"https://api.github.com/users/teonlamont/following{/other_user}","gists_url":"https://api.github.com/users/teonlamont/gists{/gist_id}","starred_url":"https://api.github.com/users/teonlamont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teonlamont/subscriptions","organizations_url":"https://api.github.com/users/teonlamont/orgs","repos_url":"https://api.github.com/users/teonlamont/repos","events_url":"https://api.github.com/users/teonlamont/events{/privacy}","received_events_url":"https://api.github.com/users/teonlamont/received_events","type":"User","site_admin":false},"body":"why is this empty?","created_at":"2016-02-14T19:15:02Z","updated_at":"2016-02-14T19:15:02Z","html_url":"https://github.com/openexp/OpenEXP/pull/56#discussion_r52847311","pull_request_url":"https://api.github.com/repos/openexp/OpenEXP/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/openexp/OpenEXP/pulls/comments/52847311"},"html":{"href":"https://github.com/openexp/OpenEXP/pull/56#discussion_r52847311"},"pull_request":{"href":"https://api.github.com/repos/openexp/OpenEXP/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/openexp/OpenEXP/pulls/56","id":59212092,"html_url":"https://github.com/openexp/OpenEXP/pull/56","diff_url":"https://github.com/openexp/OpenEXP/pull/56.diff","patch_url":"https://github.com/openexp/OpenEXP/pull/56.patch","issue_url":"https://api.github.com/repos/openexp/OpenEXP/issues/56","number":56,"state":"open","locked":false,"title":"Update simulator","user":{"login":"andyh616","id":6596567,"avatar_url":"https://avatars.githubusercontent.com/u/6596567?v=3","gravatar_id":"","url":"https://api.github.com/users/andyh616","html_url":"https://github.com/andyh616","followers_url":"https://api.github.com/users/andyh616/followers","following_url":"https://api.github.com/users/andyh616/following{/other_user}","gists_url":"https://api.github.com/users/andyh616/gists{/gist_id}","starred_url":"https://api.github.com/users/andyh616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyh616/subscriptions","organizations_url":"https://api.github.com/users/andyh616/orgs","repos_url":"https://api.github.com/users/andyh616/repos","events_url":"https://api.github.com/users/andyh616/events{/privacy}","received_events_url":"https://api.github.com/users/andyh616/received_events","type":"User","site_admin":false},"body":"-we removed the simulatorFactory because its now built into the board\r\nby default\r\n\r\n-moved the stream buttons to the dashboard page","created_at":"2016-02-12T18:31:37Z","updated_at":"2016-02-14T19:15:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95eef110e975ebbf2b51448bd1e4b1c601c246f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openexp/OpenEXP/pulls/56/commits","review_comments_url":"https://api.github.com/repos/openexp/OpenEXP/pulls/56/comments","review_comment_url":"https://api.github.com/repos/openexp/OpenEXP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openexp/OpenEXP/issues/56/comments","statuses_url":"https://api.github.com/repos/openexp/OpenEXP/statuses/a7b7a6ddf6be436a13df3178e39a6c4589fa9489","head":{"label":"andyh616:triggerTest","ref":"triggerTest","sha":"a7b7a6ddf6be436a13df3178e39a6c4589fa9489","user":{"login":"andyh616","id":6596567,"avatar_url":"https://avatars.githubusercontent.com/u/6596567?v=3","gravatar_id":"","url":"https://api.github.com/users/andyh616","html_url":"https://github.com/andyh616","followers_url":"https://api.github.com/users/andyh616/followers","following_url":"https://api.github.com/users/andyh616/following{/other_user}","gists_url":"https://api.github.com/users/andyh616/gists{/gist_id}","starred_url":"https://api.github.com/users/andyh616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyh616/subscriptions","organizations_url":"https://api.github.com/users/andyh616/orgs","repos_url":"https://api.github.com/users/andyh616/repos","events_url":"https://api.github.com/users/andyh616/events{/privacy}","received_events_url":"https://api.github.com/users/andyh616/received_events","type":"User","site_admin":false},"repo":{"id":45703829,"name":"OpenEXP","full_name":"andyh616/OpenEXP","owner":{"login":"andyh616","id":6596567,"avatar_url":"https://avatars.githubusercontent.com/u/6596567?v=3","gravatar_id":"","url":"https://api.github.com/users/andyh616","html_url":"https://github.com/andyh616","followers_url":"https://api.github.com/users/andyh616/followers","following_url":"https://api.github.com/users/andyh616/following{/other_user}","gists_url":"https://api.github.com/users/andyh616/gists{/gist_id}","starred_url":"https://api.github.com/users/andyh616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyh616/subscriptions","organizations_url":"https://api.github.com/users/andyh616/orgs","repos_url":"https://api.github.com/users/andyh616/repos","events_url":"https://api.github.com/users/andyh616/events{/privacy}","received_events_url":"https://api.github.com/users/andyh616/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andyh616/OpenEXP","description":"OpenEXP is an open-source browser-based web app for running experiments and collecting EEG data with OpenBCI.","fork":true,"url":"https://api.github.com/repos/andyh616/OpenEXP","forks_url":"https://api.github.com/repos/andyh616/OpenEXP/forks","keys_url":"https://api.github.com/repos/andyh616/OpenEXP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andyh616/OpenEXP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andyh616/OpenEXP/teams","hooks_url":"https://api.github.com/repos/andyh616/OpenEXP/hooks","issue_events_url":"https://api.github.com/repos/andyh616/OpenEXP/issues/events{/number}","events_url":"https://api.github.com/repos/andyh616/OpenEXP/events","assignees_url":"https://api.github.com/repos/andyh616/OpenEXP/assignees{/user}","branches_url":"https://api.github.com/repos/andyh616/OpenEXP/branches{/branch}","tags_url":"https://api.github.com/repos/andyh616/OpenEXP/tags","blobs_url":"https://api.github.com/repos/andyh616/OpenEXP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andyh616/OpenEXP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andyh616/OpenEXP/git/refs{/sha}","trees_url":"https://api.github.com/repos/andyh616/OpenEXP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andyh616/OpenEXP/statuses/{sha}","languages_url":"https://api.github.com/repos/andyh616/OpenEXP/languages","stargazers_url":"https://api.github.com/repos/andyh616/OpenEXP/stargazers","contributors_url":"https://api.github.com/repos/andyh616/OpenEXP/contributors","subscribers_url":"https://api.github.com/repos/andyh616/OpenEXP/subscribers","subscription_url":"https://api.github.com/repos/andyh616/OpenEXP/subscription","commits_url":"https://api.github.com/repos/andyh616/OpenEXP/commits{/sha}","git_commits_url":"https://api.github.com/repos/andyh616/OpenEXP/git/commits{/sha}","comments_url":"https://api.github.com/repos/andyh616/OpenEXP/comments{/number}","issue_comment_url":"https://api.github.com/repos/andyh616/OpenEXP/issues/comments{/number}","contents_url":"https://api.github.com/repos/andyh616/OpenEXP/contents/{+path}","compare_url":"https://api.github.com/repos/andyh616/OpenEXP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andyh616/OpenEXP/merges","archive_url":"https://api.github.com/repos/andyh616/OpenEXP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andyh616/OpenEXP/downloads","issues_url":"https://api.github.com/repos/andyh616/OpenEXP/issues{/number}","pulls_url":"https://api.github.com/repos/andyh616/OpenEXP/pulls{/number}","milestones_url":"https://api.github.com/repos/andyh616/OpenEXP/milestones{/number}","notifications_url":"https://api.github.com/repos/andyh616/OpenEXP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andyh616/OpenEXP/labels{/name}","releases_url":"https://api.github.com/repos/andyh616/OpenEXP/releases{/id}","deployments_url":"https://api.github.com/repos/andyh616/OpenEXP/deployments","created_at":"2015-11-06T19:49:59Z","updated_at":"2016-01-13T04:38:47Z","pushed_at":"2016-02-14T05:32:53Z","git_url":"git://github.com/andyh616/OpenEXP.git","ssh_url":"git@github.com:andyh616/OpenEXP.git","clone_url":"https://github.com/andyh616/OpenEXP.git","svn_url":"https://github.com/andyh616/OpenEXP","homepage":null,"size":700,"stargazers_count":1,"watchers_count":1,"language":"HTML","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":1,"default_branch":"master"}},"base":{"label":"openexp:master","ref":"master","sha":"476a32e5a0a704726e4191e325dcab55f49fc8fc","user":{"login":"openexp","id":16678752,"avatar_url":"https://avatars.githubusercontent.com/u/16678752?v=3","gravatar_id":"","url":"https://api.github.com/users/openexp","html_url":"https://github.com/openexp","followers_url":"https://api.github.com/users/openexp/followers","following_url":"https://api.github.com/users/openexp/following{/other_user}","gists_url":"https://api.github.com/users/openexp/gists{/gist_id}","starred_url":"https://api.github.com/users/openexp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openexp/subscriptions","organizations_url":"https://api.github.com/users/openexp/orgs","repos_url":"https://api.github.com/users/openexp/repos","events_url":"https://api.github.com/users/openexp/events{/privacy}","received_events_url":"https://api.github.com/users/openexp/received_events","type":"Organization","site_admin":false},"repo":{"id":43979114,"name":"OpenEXP","full_name":"openexp/OpenEXP","owner":{"login":"openexp","id":16678752,"avatar_url":"https://avatars.githubusercontent.com/u/16678752?v=3","gravatar_id":"","url":"https://api.github.com/users/openexp","html_url":"https://github.com/openexp","followers_url":"https://api.github.com/users/openexp/followers","following_url":"https://api.github.com/users/openexp/following{/other_user}","gists_url":"https://api.github.com/users/openexp/gists{/gist_id}","starred_url":"https://api.github.com/users/openexp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openexp/subscriptions","organizations_url":"https://api.github.com/users/openexp/orgs","repos_url":"https://api.github.com/users/openexp/repos","events_url":"https://api.github.com/users/openexp/events{/privacy}","received_events_url":"https://api.github.com/users/openexp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openexp/OpenEXP","description":"OpenEXP is an open-source browser-based web app for running experiments and collecting EEG data with OpenBCI.","fork":false,"url":"https://api.github.com/repos/openexp/OpenEXP","forks_url":"https://api.github.com/repos/openexp/OpenEXP/forks","keys_url":"https://api.github.com/repos/openexp/OpenEXP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openexp/OpenEXP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openexp/OpenEXP/teams","hooks_url":"https://api.github.com/repos/openexp/OpenEXP/hooks","issue_events_url":"https://api.github.com/repos/openexp/OpenEXP/issues/events{/number}","events_url":"https://api.github.com/repos/openexp/OpenEXP/events","assignees_url":"https://api.github.com/repos/openexp/OpenEXP/assignees{/user}","branches_url":"https://api.github.com/repos/openexp/OpenEXP/branches{/branch}","tags_url":"https://api.github.com/repos/openexp/OpenEXP/tags","blobs_url":"https://api.github.com/repos/openexp/OpenEXP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openexp/OpenEXP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openexp/OpenEXP/git/refs{/sha}","trees_url":"https://api.github.com/repos/openexp/OpenEXP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openexp/OpenEXP/statuses/{sha}","languages_url":"https://api.github.com/repos/openexp/OpenEXP/languages","stargazers_url":"https://api.github.com/repos/openexp/OpenEXP/stargazers","contributors_url":"https://api.github.com/repos/openexp/OpenEXP/contributors","subscribers_url":"https://api.github.com/repos/openexp/OpenEXP/subscribers","subscription_url":"https://api.github.com/repos/openexp/OpenEXP/subscription","commits_url":"https://api.github.com/repos/openexp/OpenEXP/commits{/sha}","git_commits_url":"https://api.github.com/repos/openexp/OpenEXP/git/commits{/sha}","comments_url":"https://api.github.com/repos/openexp/OpenEXP/comments{/number}","issue_comment_url":"https://api.github.com/repos/openexp/OpenEXP/issues/comments{/number}","contents_url":"https://api.github.com/repos/openexp/OpenEXP/contents/{+path}","compare_url":"https://api.github.com/repos/openexp/OpenEXP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openexp/OpenEXP/merges","archive_url":"https://api.github.com/repos/openexp/OpenEXP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openexp/OpenEXP/downloads","issues_url":"https://api.github.com/repos/openexp/OpenEXP/issues{/number}","pulls_url":"https://api.github.com/repos/openexp/OpenEXP/pulls{/number}","milestones_url":"https://api.github.com/repos/openexp/OpenEXP/milestones{/number}","notifications_url":"https://api.github.com/repos/openexp/OpenEXP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openexp/OpenEXP/labels{/name}","releases_url":"https://api.github.com/repos/openexp/OpenEXP/releases{/id}","deployments_url":"https://api.github.com/repos/openexp/OpenEXP/deployments","created_at":"2015-10-09T20:40:29Z","updated_at":"2016-02-04T21:01:19Z","pushed_at":"2016-02-14T05:32:53Z","git_url":"git://github.com/openexp/OpenEXP.git","ssh_url":"git@github.com:openexp/OpenEXP.git","clone_url":"https://github.com/openexp/OpenEXP.git","svn_url":"https://github.com/openexp/OpenEXP","homepage":null,"size":716,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":15,"forks":9,"open_issues":15,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openexp/OpenEXP/pulls/56"},"html":{"href":"https://github.com/openexp/OpenEXP/pull/56"},"issue":{"href":"https://api.github.com/repos/openexp/OpenEXP/issues/56"},"comments":{"href":"https://api.github.com/repos/openexp/OpenEXP/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/openexp/OpenEXP/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/openexp/OpenEXP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openexp/OpenEXP/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/openexp/OpenEXP/statuses/a7b7a6ddf6be436a13df3178e39a6c4589fa9489"}}}}