{"action":"closed","number":33,"pull_request":{"url":"https://api.github.com/repos/rangle/batarangle/pulls/33","id":48110227,"html_url":"https://github.com/rangle/batarangle/pull/33","diff_url":"https://github.com/rangle/batarangle/pull/33.diff","patch_url":"https://github.com/rangle/batarangle/pull/33.patch","issue_url":"https://api.github.com/repos/rangle/batarangle/issues/33","number":33,"state":"closed","locked":false,"title":"fix(adapters/controllers): track changes to views","user":{"login":"bertrandk","id":1062690,"avatar_url":"https://avatars.githubusercontent.com/u/1062690?v=3","gravatar_id":"","url":"https://api.github.com/users/bertrandk","html_url":"https://github.com/bertrandk","followers_url":"https://api.github.com/users/bertrandk/followers","following_url":"https://api.github.com/users/bertrandk/following{/other_user}","gists_url":"https://api.github.com/users/bertrandk/gists{/gist_id}","starred_url":"https://api.github.com/users/bertrandk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertrandk/subscriptions","organizations_url":"https://api.github.com/users/bertrandk/orgs","repos_url":"https://api.github.com/users/bertrandk/repos","events_url":"https://api.github.com/users/bertrandk/events{/privacy}","received_events_url":"https://api.github.com/users/bertrandk/received_events","type":"User","site_admin":false},"body":"We're adding a new adapter event here: 'clear'. For the time being, rather\r\nthan attempt to keep track of internal views at the DOM layer, we'll be\r\nclearing and rebuilding the tree model whenever a change is observed.\r\n\r\nThis reduces a lot of the complexity involved in reconciling the view\r\nlistener's world and that of the resultant DOM.\r\n\r\nI've also done some code cleanup.","created_at":"2015-10-19T18:48:35Z","updated_at":"2015-10-19T23:17:04Z","closed_at":"2015-10-19T23:17:04Z","merged_at":"2015-10-19T23:17:04Z","merge_commit_sha":"c4e4eaf8dd893e0f6bfddf3e9b97c251c5fed4bd","assignee":{"login":"igor-ka","id":12536242,"avatar_url":"https://avatars.githubusercontent.com/u/12536242?v=3","gravatar_id":"","url":"https://api.github.com/users/igor-ka","html_url":"https://github.com/igor-ka","followers_url":"https://api.github.com/users/igor-ka/followers","following_url":"https://api.github.com/users/igor-ka/following{/other_user}","gists_url":"https://api.github.com/users/igor-ka/gists{/gist_id}","starred_url":"https://api.github.com/users/igor-ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igor-ka/subscriptions","organizations_url":"https://api.github.com/users/igor-ka/orgs","repos_url":"https://api.github.com/users/igor-ka/repos","events_url":"https://api.github.com/users/igor-ka/events{/privacy}","received_events_url":"https://api.github.com/users/igor-ka/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rangle/batarangle/pulls/33/commits","review_comments_url":"https://api.github.com/repos/rangle/batarangle/pulls/33/comments","review_comment_url":"https://api.github.com/repos/rangle/batarangle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rangle/batarangle/issues/33/comments","statuses_url":"https://api.github.com/repos/rangle/batarangle/statuses/6299af2a45875d1d5478145be1f30a40f68f693b","head":{"label":"bertrandk:fix/tree-update","ref":"fix/tree-update","sha":"6299af2a45875d1d5478145be1f30a40f68f693b","user":{"login":"bertrandk","id":1062690,"avatar_url":"https://avatars.githubusercontent.com/u/1062690?v=3","gravatar_id":"","url":"https://api.github.com/users/bertrandk","html_url":"https://github.com/bertrandk","followers_url":"https://api.github.com/users/bertrandk/followers","following_url":"https://api.github.com/users/bertrandk/following{/other_user}","gists_url":"https://api.github.com/users/bertrandk/gists{/gist_id}","starred_url":"https://api.github.com/users/bertrandk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertrandk/subscriptions","organizations_url":"https://api.github.com/users/bertrandk/orgs","repos_url":"https://api.github.com/users/bertrandk/repos","events_url":"https://api.github.com/users/bertrandk/events{/privacy}","received_events_url":"https://api.github.com/users/bertrandk/received_events","type":"User","site_admin":false},"repo":{"id":43116880,"name":"batarangle","full_name":"bertrandk/batarangle","owner":{"login":"bertrandk","id":1062690,"avatar_url":"https://avatars.githubusercontent.com/u/1062690?v=3","gravatar_id":"","url":"https://api.github.com/users/bertrandk","html_url":"https://github.com/bertrandk","followers_url":"https://api.github.com/users/bertrandk/followers","following_url":"https://api.github.com/users/bertrandk/following{/other_user}","gists_url":"https://api.github.com/users/bertrandk/gists{/gist_id}","starred_url":"https://api.github.com/users/bertrandk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bertrandk/subscriptions","organizations_url":"https://api.github.com/users/bertrandk/orgs","repos_url":"https://api.github.com/users/bertrandk/repos","events_url":"https://api.github.com/users/bertrandk/events{/privacy}","received_events_url":"https://api.github.com/users/bertrandk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bertrandk/batarangle","description":"","fork":true,"url":"https://api.github.com/repos/bertrandk/batarangle","forks_url":"https://api.github.com/repos/bertrandk/batarangle/forks","keys_url":"https://api.github.com/repos/bertrandk/batarangle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bertrandk/batarangle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bertrandk/batarangle/teams","hooks_url":"https://api.github.com/repos/bertrandk/batarangle/hooks","issue_events_url":"https://api.github.com/repos/bertrandk/batarangle/issues/events{/number}","events_url":"https://api.github.com/repos/bertrandk/batarangle/events","assignees_url":"https://api.github.com/repos/bertrandk/batarangle/assignees{/user}","branches_url":"https://api.github.com/repos/bertrandk/batarangle/branches{/branch}","tags_url":"https://api.github.com/repos/bertrandk/batarangle/tags","blobs_url":"https://api.github.com/repos/bertrandk/batarangle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bertrandk/batarangle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bertrandk/batarangle/git/refs{/sha}","trees_url":"https://api.github.com/repos/bertrandk/batarangle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bertrandk/batarangle/statuses/{sha}","languages_url":"https://api.github.com/repos/bertrandk/batarangle/languages","stargazers_url":"https://api.github.com/repos/bertrandk/batarangle/stargazers","contributors_url":"https://api.github.com/repos/bertrandk/batarangle/contributors","subscribers_url":"https://api.github.com/repos/bertrandk/batarangle/subscribers","subscription_url":"https://api.github.com/repos/bertrandk/batarangle/subscription","commits_url":"https://api.github.com/repos/bertrandk/batarangle/commits{/sha}","git_commits_url":"https://api.github.com/repos/bertrandk/batarangle/git/commits{/sha}","comments_url":"https://api.github.com/repos/bertrandk/batarangle/comments{/number}","issue_comment_url":"https://api.github.com/repos/bertrandk/batarangle/issues/comments{/number}","contents_url":"https://api.github.com/repos/bertrandk/batarangle/contents/{+path}","compare_url":"https://api.github.com/repos/bertrandk/batarangle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bertrandk/batarangle/merges","archive_url":"https://api.github.com/repos/bertrandk/batarangle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bertrandk/batarangle/downloads","issues_url":"https://api.github.com/repos/bertrandk/batarangle/issues{/number}","pulls_url":"https://api.github.com/repos/bertrandk/batarangle/pulls{/number}","milestones_url":"https://api.github.com/repos/bertrandk/batarangle/milestones{/number}","notifications_url":"https://api.github.com/repos/bertrandk/batarangle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bertrandk/batarangle/labels{/name}","releases_url":"https://api.github.com/repos/bertrandk/batarangle/releases{/id}","created_at":"2015-09-25T07:41:47Z","updated_at":"2015-09-25T07:41:48Z","pushed_at":"2015-10-19T18:47:42Z","git_url":"git://github.com/bertrandk/batarangle.git","ssh_url":"git@github.com:bertrandk/batarangle.git","clone_url":"https://github.com/bertrandk/batarangle.git","svn_url":"https://github.com/bertrandk/batarangle","homepage":null,"size":414,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"rangle:master","ref":"master","sha":"1189d8183006da4b153780d60a21475db955e96a","user":{"login":"rangle","id":4304982,"avatar_url":"https://avatars.githubusercontent.com/u/4304982?v=3","gravatar_id":"","url":"https://api.github.com/users/rangle","html_url":"https://github.com/rangle","followers_url":"https://api.github.com/users/rangle/followers","following_url":"https://api.github.com/users/rangle/following{/other_user}","gists_url":"https://api.github.com/users/rangle/gists{/gist_id}","starred_url":"https://api.github.com/users/rangle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangle/subscriptions","organizations_url":"https://api.github.com/users/rangle/orgs","repos_url":"https://api.github.com/users/rangle/repos","events_url":"https://api.github.com/users/rangle/events{/privacy}","received_events_url":"https://api.github.com/users/rangle/received_events","type":"Organization","site_admin":false},"repo":{"id":41743300,"name":"batarangle","full_name":"rangle/batarangle","owner":{"login":"rangle","id":4304982,"avatar_url":"https://avatars.githubusercontent.com/u/4304982?v=3","gravatar_id":"","url":"https://api.github.com/users/rangle","html_url":"https://github.com/rangle","followers_url":"https://api.github.com/users/rangle/followers","following_url":"https://api.github.com/users/rangle/following{/other_user}","gists_url":"https://api.github.com/users/rangle/gists{/gist_id}","starred_url":"https://api.github.com/users/rangle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangle/subscriptions","organizations_url":"https://api.github.com/users/rangle/orgs","repos_url":"https://api.github.com/users/rangle/repos","events_url":"https://api.github.com/users/rangle/events{/privacy}","received_events_url":"https://api.github.com/users/rangle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rangle/batarangle","description":"","fork":false,"url":"https://api.github.com/repos/rangle/batarangle","forks_url":"https://api.github.com/repos/rangle/batarangle/forks","keys_url":"https://api.github.com/repos/rangle/batarangle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rangle/batarangle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rangle/batarangle/teams","hooks_url":"https://api.github.com/repos/rangle/batarangle/hooks","issue_events_url":"https://api.github.com/repos/rangle/batarangle/issues/events{/number}","events_url":"https://api.github.com/repos/rangle/batarangle/events","assignees_url":"https://api.github.com/repos/rangle/batarangle/assignees{/user}","branches_url":"https://api.github.com/repos/rangle/batarangle/branches{/branch}","tags_url":"https://api.github.com/repos/rangle/batarangle/tags","blobs_url":"https://api.github.com/repos/rangle/batarangle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rangle/batarangle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rangle/batarangle/git/refs{/sha}","trees_url":"https://api.github.com/repos/rangle/batarangle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rangle/batarangle/statuses/{sha}","languages_url":"https://api.github.com/repos/rangle/batarangle/languages","stargazers_url":"https://api.github.com/repos/rangle/batarangle/stargazers","contributors_url":"https://api.github.com/repos/rangle/batarangle/contributors","subscribers_url":"https://api.github.com/repos/rangle/batarangle/subscribers","subscription_url":"https://api.github.com/repos/rangle/batarangle/subscription","commits_url":"https://api.github.com/repos/rangle/batarangle/commits{/sha}","git_commits_url":"https://api.github.com/repos/rangle/batarangle/git/commits{/sha}","comments_url":"https://api.github.com/repos/rangle/batarangle/comments{/number}","issue_comment_url":"https://api.github.com/repos/rangle/batarangle/issues/comments{/number}","contents_url":"https://api.github.com/repos/rangle/batarangle/contents/{+path}","compare_url":"https://api.github.com/repos/rangle/batarangle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rangle/batarangle/merges","archive_url":"https://api.github.com/repos/rangle/batarangle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rangle/batarangle/downloads","issues_url":"https://api.github.com/repos/rangle/batarangle/issues{/number}","pulls_url":"https://api.github.com/repos/rangle/batarangle/pulls{/number}","milestones_url":"https://api.github.com/repos/rangle/batarangle/milestones{/number}","notifications_url":"https://api.github.com/repos/rangle/batarangle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rangle/batarangle/labels{/name}","releases_url":"https://api.github.com/repos/rangle/batarangle/releases{/id}","created_at":"2015-09-01T14:25:50Z","updated_at":"2015-10-16T20:07:29Z","pushed_at":"2015-10-19T23:17:04Z","git_url":"git://github.com/rangle/batarangle.git","ssh_url":"git@github.com:rangle/batarangle.git","clone_url":"https://github.com/rangle/batarangle.git","svn_url":"https://github.com/rangle/batarangle","homepage":null,"size":1719,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":9,"forks":6,"open_issues":9,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rangle/batarangle/pulls/33"},"html":{"href":"https://github.com/rangle/batarangle/pull/33"},"issue":{"href":"https://api.github.com/repos/rangle/batarangle/issues/33"},"comments":{"href":"https://api.github.com/repos/rangle/batarangle/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/rangle/batarangle/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/rangle/batarangle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rangle/batarangle/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/rangle/batarangle/statuses/6299af2a45875d1d5478145be1f30a40f68f693b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"igor-ka","id":12536242,"avatar_url":"https://avatars.githubusercontent.com/u/12536242?v=3","gravatar_id":"","url":"https://api.github.com/users/igor-ka","html_url":"https://github.com/igor-ka","followers_url":"https://api.github.com/users/igor-ka/followers","following_url":"https://api.github.com/users/igor-ka/following{/other_user}","gists_url":"https://api.github.com/users/igor-ka/gists{/gist_id}","starred_url":"https://api.github.com/users/igor-ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igor-ka/subscriptions","organizations_url":"https://api.github.com/users/igor-ka/orgs","repos_url":"https://api.github.com/users/igor-ka/repos","events_url":"https://api.github.com/users/igor-ka/events{/privacy}","received_events_url":"https://api.github.com/users/igor-ka/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":63,"deletions":126,"changed_files":4}}