{"action":"opened","number":548,"pull_request":{"url":"https://api.github.com/repos/mozilla/brackets/pulls/548","id":65684127,"html_url":"https://github.com/mozilla/brackets/pull/548","diff_url":"https://github.com/mozilla/brackets/pull/548.diff","patch_url":"https://github.com/mozilla/brackets/pull/548.patch","issue_url":"https://api.github.com/repos/mozilla/brackets/issues/548","number":548,"state":"open","locked":false,"title":"Backend pieces of auto-update enable/disable","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 updates Brackets for the API changes necessary for https://github.com/mozilla/thimble.mozilla.org/issues/1417.\r\n\r\nThere are 2 types of \"reloads\" that we do.  The first is a full reload for cases where the DOM needs to be altered in a way that can't be done easily, which is like refreshing the browser tab.  The second is a dynamic injection of content that doesn't warrant a full reload.  For example, updating the text in a paragraph tag.\r\n\r\nThis patch makes it possible to stop the first kind of reload, which is what I think we want.  If we decide that we also want to stop the second type, it's going to be hacky.  I would need to inspect messages going over the LiveDev transport, and look for things like `\"_LD.applyDOMEdits([{\"type\":\"textReplace\"...` deep inside the string of a `Runtime.evaluate` message.  I could do this, but if I don't have to, I'd rather not.\r\n\r\ncc @flukeout \r\nr? @gideonthomas  ","created_at":"2016-04-07T19:18:07Z","updated_at":"2016-04-07T19:18:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/brackets/pulls/548/commits","review_comments_url":"https://api.github.com/repos/mozilla/brackets/pulls/548/comments","review_comment_url":"https://api.github.com/repos/mozilla/brackets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/brackets/issues/548/comments","statuses_url":"https://api.github.com/repos/mozilla/brackets/statuses/01494023b8ca9f9ecf43bf8bce8cf488121188c7","head":{"label":"humphd:thimble-issue1417","ref":"thimble-issue1417","sha":"01494023b8ca9f9ecf43bf8bce8cf488121188c7","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":52285320,"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}","deployments_url":"https://api.github.com/repos/humphd/brackets/deployments","created_at":"2016-02-22T15:59:11Z","updated_at":"2016-03-17T12:37:29Z","pushed_at":"2016-04-07T19:13:32Z","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":79682,"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":"mozilla:master","ref":"master","sha":"559dbc5f50d30ba47671cb200018be8ce1ff14eb","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":13729434,"name":"brackets","full_name":"mozilla/brackets","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/brackets","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":true,"url":"https://api.github.com/repos/mozilla/brackets","forks_url":"https://api.github.com/repos/mozilla/brackets/forks","keys_url":"https://api.github.com/repos/mozilla/brackets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/brackets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/brackets/teams","hooks_url":"https://api.github.com/repos/mozilla/brackets/hooks","issue_events_url":"https://api.github.com/repos/mozilla/brackets/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/brackets/events","assignees_url":"https://api.github.com/repos/mozilla/brackets/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/brackets/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/brackets/tags","blobs_url":"https://api.github.com/repos/mozilla/brackets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/brackets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/brackets/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/brackets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/brackets/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/brackets/languages","stargazers_url":"https://api.github.com/repos/mozilla/brackets/stargazers","contributors_url":"https://api.github.com/repos/mozilla/brackets/contributors","subscribers_url":"https://api.github.com/repos/mozilla/brackets/subscribers","subscription_url":"https://api.github.com/repos/mozilla/brackets/subscription","commits_url":"https://api.github.com/repos/mozilla/brackets/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/brackets/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/brackets/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/brackets/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/brackets/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/brackets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/brackets/merges","archive_url":"https://api.github.com/repos/mozilla/brackets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/brackets/downloads","issues_url":"https://api.github.com/repos/mozilla/brackets/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/brackets/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/brackets/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/brackets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/brackets/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/brackets/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/brackets/deployments","created_at":"2013-10-21T00:12:49Z","updated_at":"2016-03-11T14:07:03Z","pushed_at":"2016-04-06T15:41:33Z","git_url":"git://github.com/mozilla/brackets.git","ssh_url":"git@github.com:mozilla/brackets.git","clone_url":"https://github.com/mozilla/brackets.git","svn_url":"https://github.com/mozilla/brackets","homepage":"http://brackets.io","size":85114,"stargazers_count":46,"watchers_count":46,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":57,"mirror_url":null,"open_issues_count":47,"forks":57,"open_issues":47,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/brackets/pulls/548"},"html":{"href":"https://github.com/mozilla/brackets/pull/548"},"issue":{"href":"https://api.github.com/repos/mozilla/brackets/issues/548"},"comments":{"href":"https://api.github.com/repos/mozilla/brackets/issues/548/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/brackets/pulls/548/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/brackets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/brackets/pulls/548/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/brackets/statuses/01494023b8ca9f9ecf43bf8bce8cf488121188c7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":40,"deletions":2,"changed_files":4}}