{"action":"created","comment":{"url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/comments/37253453","id":37253453,"diff_hunk":"@@ -61,6 +61,9 @@ function DaemonManager() {\n \t\t});\n \t}\n \n+\t/**\n+\t * Checks if there is an update available","path":"app/js/daemonManager.js","position":5,"original_position":5,"commit_id":"b6a46b9ceb7e8f40b3c833500e316d3174604a80","original_commit_id":"b6a46b9ceb7e8f40b3c833500e316d3174604a80","user":{"login":"DavidVorick","id":2316841,"avatar_url":"https://avatars.githubusercontent.com/u/2316841?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidVorick","html_url":"https://github.com/DavidVorick","followers_url":"https://api.github.com/users/DavidVorick/followers","following_url":"https://api.github.com/users/DavidVorick/following{/other_user}","gists_url":"https://api.github.com/users/DavidVorick/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidVorick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidVorick/subscriptions","organizations_url":"https://api.github.com/users/DavidVorick/orgs","repos_url":"https://api.github.com/users/DavidVorick/repos","events_url":"https://api.github.com/users/DavidVorick/events{/privacy}","received_events_url":"https://api.github.com/users/DavidVorick/received_events","type":"User","site_admin":false},"body":"I like the go strategy of including the function name in the function docstring\r\n\r\nupdatePrompt checks if there is an update available\r\n\r\nsometimes it helps when grepping","created_at":"2015-08-18T00:32:30Z","updated_at":"2015-08-18T00:32:30Z","html_url":"https://github.com/NebulousLabs/New-Sia-UI/pull/52#discussion_r37253453","pull_request_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/comments/37253453"},"html":{"href":"https://github.com/NebulousLabs/New-Sia-UI/pull/52#discussion_r37253453"},"pull_request":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52","id":42554177,"html_url":"https://github.com/NebulousLabs/New-Sia-UI/pull/52","diff_url":"https://github.com/NebulousLabs/New-Sia-UI/pull/52.diff","patch_url":"https://github.com/NebulousLabs/New-Sia-UI/pull/52.patch","issue_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/issues/52","number":52,"state":"open","locked":false,"title":"Wallet locking/unlocking","user":{"login":"Mingling94","id":4606838,"avatar_url":"https://avatars.githubusercontent.com/u/4606838?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingling94","html_url":"https://github.com/Mingling94","followers_url":"https://api.github.com/users/Mingling94/followers","following_url":"https://api.github.com/users/Mingling94/following{/other_user}","gists_url":"https://api.github.com/users/Mingling94/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingling94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingling94/subscriptions","organizations_url":"https://api.github.com/users/Mingling94/orgs","repos_url":"https://api.github.com/users/Mingling94/repos","events_url":"https://api.github.com/users/Mingling94/events{/privacy}","received_events_url":"https://api.github.com/users/Mingling94/received_events","type":"User","site_admin":false},"body":"Wallet locking/unlocking work\r\n\r\nTODO after PR, prettify notification symbols involved","created_at":"2015-08-17T04:53:24Z","updated_at":"2015-08-18T00:32:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93e679262654d50f863eca3319631ab0710ab451","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52/commits","review_comments_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52/comments","review_comment_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/issues/52/comments","statuses_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/statuses/b6a46b9ceb7e8f40b3c833500e316d3174604a80","head":{"label":"Mingling94:apichanges","ref":"apichanges","sha":"b6a46b9ceb7e8f40b3c833500e316d3174604a80","user":{"login":"Mingling94","id":4606838,"avatar_url":"https://avatars.githubusercontent.com/u/4606838?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingling94","html_url":"https://github.com/Mingling94","followers_url":"https://api.github.com/users/Mingling94/followers","following_url":"https://api.github.com/users/Mingling94/following{/other_user}","gists_url":"https://api.github.com/users/Mingling94/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingling94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingling94/subscriptions","organizations_url":"https://api.github.com/users/Mingling94/orgs","repos_url":"https://api.github.com/users/Mingling94/repos","events_url":"https://api.github.com/users/Mingling94/events{/privacy}","received_events_url":"https://api.github.com/users/Mingling94/received_events","type":"User","site_admin":false},"repo":{"id":39596342,"name":"New-Sia-UI","full_name":"Mingling94/New-Sia-UI","owner":{"login":"Mingling94","id":4606838,"avatar_url":"https://avatars.githubusercontent.com/u/4606838?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingling94","html_url":"https://github.com/Mingling94","followers_url":"https://api.github.com/users/Mingling94/followers","following_url":"https://api.github.com/users/Mingling94/following{/other_user}","gists_url":"https://api.github.com/users/Mingling94/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingling94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingling94/subscriptions","organizations_url":"https://api.github.com/users/Mingling94/orgs","repos_url":"https://api.github.com/users/Mingling94/repos","events_url":"https://api.github.com/users/Mingling94/events{/privacy}","received_events_url":"https://api.github.com/users/Mingling94/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mingling94/New-Sia-UI","description":"Sia-UI rewritten to be plugin friendly.","fork":true,"url":"https://api.github.com/repos/Mingling94/New-Sia-UI","forks_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/forks","keys_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/teams","hooks_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/hooks","issue_events_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/issues/events{/number}","events_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/events","assignees_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/assignees{/user}","branches_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/branches{/branch}","tags_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/tags","blobs_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/statuses/{sha}","languages_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/languages","stargazers_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/stargazers","contributors_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/contributors","subscribers_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/subscribers","subscription_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/subscription","commits_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/contents/{+path}","compare_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/merges","archive_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/downloads","issues_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/issues{/number}","pulls_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/pulls{/number}","milestones_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/milestones{/number}","notifications_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/labels{/name}","releases_url":"https://api.github.com/repos/Mingling94/New-Sia-UI/releases{/id}","created_at":"2015-07-23T22:15:41Z","updated_at":"2015-07-23T22:31:27Z","pushed_at":"2015-08-17T23:39:25Z","git_url":"git://github.com/Mingling94/New-Sia-UI.git","ssh_url":"git@github.com:Mingling94/New-Sia-UI.git","clone_url":"https://github.com/Mingling94/New-Sia-UI.git","svn_url":"https://github.com/Mingling94/New-Sia-UI","homepage":"","size":7141,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"NebulousLabs:master","ref":"master","sha":"16541a572e69c800afb72be92cbfa82b2dd1c5d3","user":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":35702241,"name":"New-Sia-UI","full_name":"NebulousLabs/New-Sia-UI","owner":{"login":"NebulousLabs","id":7471422,"avatar_url":"https://avatars.githubusercontent.com/u/7471422?v=3","gravatar_id":"","url":"https://api.github.com/users/NebulousLabs","html_url":"https://github.com/NebulousLabs","followers_url":"https://api.github.com/users/NebulousLabs/followers","following_url":"https://api.github.com/users/NebulousLabs/following{/other_user}","gists_url":"https://api.github.com/users/NebulousLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/NebulousLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NebulousLabs/subscriptions","organizations_url":"https://api.github.com/users/NebulousLabs/orgs","repos_url":"https://api.github.com/users/NebulousLabs/repos","events_url":"https://api.github.com/users/NebulousLabs/events{/privacy}","received_events_url":"https://api.github.com/users/NebulousLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NebulousLabs/New-Sia-UI","description":"Sia-UI rewritten to be plugin friendly.","fork":false,"url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI","forks_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/forks","keys_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/teams","hooks_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/hooks","issue_events_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/issues/events{/number}","events_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/events","assignees_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/assignees{/user}","branches_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/branches{/branch}","tags_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/tags","blobs_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/git/refs{/sha}","trees_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/statuses/{sha}","languages_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/languages","stargazers_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/stargazers","contributors_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/contributors","subscribers_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/subscribers","subscription_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/subscription","commits_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/commits{/sha}","git_commits_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/git/commits{/sha}","comments_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/comments{/number}","issue_comment_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/issues/comments{/number}","contents_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/contents/{+path}","compare_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/merges","archive_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/downloads","issues_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/issues{/number}","pulls_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls{/number}","milestones_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/milestones{/number}","notifications_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/labels{/name}","releases_url":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/releases{/id}","created_at":"2015-05-15T23:48:43Z","updated_at":"2015-08-12T00:32:33Z","pushed_at":"2015-08-17T23:39:25Z","git_url":"git://github.com/NebulousLabs/New-Sia-UI.git","ssh_url":"git@github.com:NebulousLabs/New-Sia-UI.git","clone_url":"https://github.com/NebulousLabs/New-Sia-UI.git","svn_url":"https://github.com/NebulousLabs/New-Sia-UI","homepage":"","size":7358,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52"},"html":{"href":"https://github.com/NebulousLabs/New-Sia-UI/pull/52"},"issue":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/issues/52"},"comments":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/NebulousLabs/New-Sia-UI/statuses/b6a46b9ceb7e8f40b3c833500e316d3174604a80"}}}}