{"action":"created","comment":{"url":"https://api.github.com/repos/humphd/brackets/pulls/comments/33151508","id":33151508,"diff_hunk":"@@ -35,6 +35,10 @@ define(function (require, exports, module) {\n                 return;\n             }\n             browser.update(urlOrHTML);\n+\n+            if(typeof callback === \"function\") {","path":"src/extensions/default/bramble/lib/launcher.js","position":14,"original_position":14,"commit_id":"263d4f224fc80a16f6f6409b6f68b5e27306b258","original_commit_id":"263d4f224fc80a16f6f6409b6f68b5e27306b258","user":{"login":"sedge","id":1616860,"avatar_url":"https://avatars.githubusercontent.com/u/1616860?v=3","gravatar_id":"","url":"https://api.github.com/users/sedge","html_url":"https://github.com/sedge","followers_url":"https://api.github.com/users/sedge/followers","following_url":"https://api.github.com/users/sedge/following{/other_user}","gists_url":"https://api.github.com/users/sedge/gists{/gist_id}","starred_url":"https://api.github.com/users/sedge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedge/subscriptions","organizations_url":"https://api.github.com/users/sedge/orgs","repos_url":"https://api.github.com/users/sedge/repos","events_url":"https://api.github.com/users/sedge/events{/privacy}","received_events_url":"https://api.github.com/users/sedge/received_events","type":"User","site_admin":false},"body":"Okay, makes sense.","created_at":"2015-06-24T14:19:17Z","updated_at":"2015-06-24T14:19:17Z","html_url":"https://github.com/humphd/brackets/pull/359#discussion_r33151508","pull_request_url":"https://api.github.com/repos/humphd/brackets/pulls/359","_links":{"self":{"href":"https://api.github.com/repos/humphd/brackets/pulls/comments/33151508"},"html":{"href":"https://github.com/humphd/brackets/pull/359#discussion_r33151508"},"pull_request":{"href":"https://api.github.com/repos/humphd/brackets/pulls/359"}}},"pull_request":{"url":"https://api.github.com/repos/humphd/brackets/pulls/359","id":38263263,"html_url":"https://github.com/humphd/brackets/pull/359","diff_url":"https://github.com/humphd/brackets/pull/359.diff","patch_url":"https://github.com/humphd/brackets/pull/359.patch","issue_url":"https://api.github.com/repos/humphd/brackets/issues/359","number":359,"state":"open","locked":false,"title":"Fix #357: Reload preview when files are deleted and renamed","user":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"body":"This was harder to fix than I thought, because the obvious ways of fixing it caused infinite reload loops.  I've added code to guard against re-entrant reloads for the same URL.","created_at":"2015-06-22T18:49:46Z","updated_at":"2015-06-24T14:19:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ebc735bbef0100c9da4109dc797048076f449ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/humphd/brackets/pulls/359/commits","review_comments_url":"https://api.github.com/repos/humphd/brackets/pulls/359/comments","review_comment_url":"https://api.github.com/repos/humphd/brackets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/humphd/brackets/issues/359/comments","statuses_url":"https://api.github.com/repos/humphd/brackets/statuses/263d4f224fc80a16f6f6409b6f68b5e27306b258","head":{"label":"humphd:issue357","ref":"issue357","sha":"263d4f224fc80a16f6f6409b6f68b5e27306b258","user":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"repo":{"id":13729434,"name":"brackets","full_name":"humphd/brackets","owner":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/humphd/brackets","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":true,"url":"https://api.github.com/repos/humphd/brackets","forks_url":"https://api.github.com/repos/humphd/brackets/forks","keys_url":"https://api.github.com/repos/humphd/brackets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/humphd/brackets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/humphd/brackets/teams","hooks_url":"https://api.github.com/repos/humphd/brackets/hooks","issue_events_url":"https://api.github.com/repos/humphd/brackets/issues/events{/number}","events_url":"https://api.github.com/repos/humphd/brackets/events","assignees_url":"https://api.github.com/repos/humphd/brackets/assignees{/user}","branches_url":"https://api.github.com/repos/humphd/brackets/branches{/branch}","tags_url":"https://api.github.com/repos/humphd/brackets/tags","blobs_url":"https://api.github.com/repos/humphd/brackets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/humphd/brackets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/humphd/brackets/git/refs{/sha}","trees_url":"https://api.github.com/repos/humphd/brackets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/humphd/brackets/statuses/{sha}","languages_url":"https://api.github.com/repos/humphd/brackets/languages","stargazers_url":"https://api.github.com/repos/humphd/brackets/stargazers","contributors_url":"https://api.github.com/repos/humphd/brackets/contributors","subscribers_url":"https://api.github.com/repos/humphd/brackets/subscribers","subscription_url":"https://api.github.com/repos/humphd/brackets/subscription","commits_url":"https://api.github.com/repos/humphd/brackets/commits{/sha}","git_commits_url":"https://api.github.com/repos/humphd/brackets/git/commits{/sha}","comments_url":"https://api.github.com/repos/humphd/brackets/comments{/number}","issue_comment_url":"https://api.github.com/repos/humphd/brackets/issues/comments{/number}","contents_url":"https://api.github.com/repos/humphd/brackets/contents/{+path}","compare_url":"https://api.github.com/repos/humphd/brackets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/humphd/brackets/merges","archive_url":"https://api.github.com/repos/humphd/brackets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/humphd/brackets/downloads","issues_url":"https://api.github.com/repos/humphd/brackets/issues{/number}","pulls_url":"https://api.github.com/repos/humphd/brackets/pulls{/number}","milestones_url":"https://api.github.com/repos/humphd/brackets/milestones{/number}","notifications_url":"https://api.github.com/repos/humphd/brackets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/humphd/brackets/labels{/name}","releases_url":"https://api.github.com/repos/humphd/brackets/releases{/id}","created_at":"2013-10-21T00:12:49Z","updated_at":"2015-06-24T05:17:27Z","pushed_at":"2015-06-24T14:17:39Z","git_url":"git://github.com/humphd/brackets.git","ssh_url":"git@github.com:humphd/brackets.git","clone_url":"https://github.com/humphd/brackets.git","svn_url":"https://github.com/humphd/brackets","homepage":"http://brackets.io","size":85559,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":35,"forks":14,"open_issues":35,"watchers":13,"default_branch":"bramble"}},"base":{"label":"humphd:bramble","ref":"bramble","sha":"2638fef6d710da25fc1277ca07c58cd8e63419ad","user":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"repo":{"id":13729434,"name":"brackets","full_name":"humphd/brackets","owner":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/humphd/brackets","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":true,"url":"https://api.github.com/repos/humphd/brackets","forks_url":"https://api.github.com/repos/humphd/brackets/forks","keys_url":"https://api.github.com/repos/humphd/brackets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/humphd/brackets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/humphd/brackets/teams","hooks_url":"https://api.github.com/repos/humphd/brackets/hooks","issue_events_url":"https://api.github.com/repos/humphd/brackets/issues/events{/number}","events_url":"https://api.github.com/repos/humphd/brackets/events","assignees_url":"https://api.github.com/repos/humphd/brackets/assignees{/user}","branches_url":"https://api.github.com/repos/humphd/brackets/branches{/branch}","tags_url":"https://api.github.com/repos/humphd/brackets/tags","blobs_url":"https://api.github.com/repos/humphd/brackets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/humphd/brackets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/humphd/brackets/git/refs{/sha}","trees_url":"https://api.github.com/repos/humphd/brackets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/humphd/brackets/statuses/{sha}","languages_url":"https://api.github.com/repos/humphd/brackets/languages","stargazers_url":"https://api.github.com/repos/humphd/brackets/stargazers","contributors_url":"https://api.github.com/repos/humphd/brackets/contributors","subscribers_url":"https://api.github.com/repos/humphd/brackets/subscribers","subscription_url":"https://api.github.com/repos/humphd/brackets/subscription","commits_url":"https://api.github.com/repos/humphd/brackets/commits{/sha}","git_commits_url":"https://api.github.com/repos/humphd/brackets/git/commits{/sha}","comments_url":"https://api.github.com/repos/humphd/brackets/comments{/number}","issue_comment_url":"https://api.github.com/repos/humphd/brackets/issues/comments{/number}","contents_url":"https://api.github.com/repos/humphd/brackets/contents/{+path}","compare_url":"https://api.github.com/repos/humphd/brackets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/humphd/brackets/merges","archive_url":"https://api.github.com/repos/humphd/brackets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/humphd/brackets/downloads","issues_url":"https://api.github.com/repos/humphd/brackets/issues{/number}","pulls_url":"https://api.github.com/repos/humphd/brackets/pulls{/number}","milestones_url":"https://api.github.com/repos/humphd/brackets/milestones{/number}","notifications_url":"https://api.github.com/repos/humphd/brackets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/humphd/brackets/labels{/name}","releases_url":"https://api.github.com/repos/humphd/brackets/releases{/id}","created_at":"2013-10-21T00:12:49Z","updated_at":"2015-06-24T05:17:27Z","pushed_at":"2015-06-24T14:17:39Z","git_url":"git://github.com/humphd/brackets.git","ssh_url":"git@github.com:humphd/brackets.git","clone_url":"https://github.com/humphd/brackets.git","svn_url":"https://github.com/humphd/brackets","homepage":"http://brackets.io","size":85559,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":35,"forks":14,"open_issues":35,"watchers":13,"default_branch":"bramble"}},"_links":{"self":{"href":"https://api.github.com/repos/humphd/brackets/pulls/359"},"html":{"href":"https://github.com/humphd/brackets/pull/359"},"issue":{"href":"https://api.github.com/repos/humphd/brackets/issues/359"},"comments":{"href":"https://api.github.com/repos/humphd/brackets/issues/359/comments"},"review_comments":{"href":"https://api.github.com/repos/humphd/brackets/pulls/359/comments"},"review_comment":{"href":"https://api.github.com/repos/humphd/brackets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/humphd/brackets/pulls/359/commits"},"statuses":{"href":"https://api.github.com/repos/humphd/brackets/statuses/263d4f224fc80a16f6f6409b6f68b5e27306b258"}}}}