{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular.js/pulls/comments/107607423","pull_request_review_id":28588290,"id":107607423,"diff_hunk":"@@ -1566,6 +1572,107 @@ describe('ngRepeat animations', function() {\n       item = $animate.queue.shift();\n       expect(item.event).toBe('move');\n       expect(item.element.text()).toBe('3');\n+\n+      item = $animate.queue.shift();\n+      expect(item.event).toBe('move');\n+      expect(item.element.text()).toBe('1');\n+    })\n+  );\n+\n+  it('should fire off the move animation for filtered items',\n+    inject(function($compile, $rootScope, $animate) {\n+\n+      var item;\n+\n+      element = $compile(html(\n+        '<div>' +\n+          '<div ng-repeat=\"item in items | filter:search\">' +\n+            '{{ item }}' +\n+          '</div>' +\n+        '</div>'\n+      ))($rootScope);\n+\n+      $rootScope.items = ['1','2','3'];\n+      $rootScope.search = '';\n+      $rootScope.$digest();\n+\n+      item = $animate.queue.shift();\n+      expect(item.event).toBe('enter');\n+      expect(item.element.text()).toBe('1');\n+\n+      item = $animate.queue.shift();\n+      expect(item.event).toBe('enter');\n+      expect(item.element.text()).toBe('2');\n+\n+      item = $animate.queue.shift();\n+      expect(item.event).toBe('enter');\n+      expect(item.element.text()).toBe('3');\n+\n+      $rootScope.search = '3';\n+      $rootScope.$digest();\n+\n+      item = $animate.queue.shift();\n+      expect(item.event).toBe('move');\n+      expect(item.element.text()).toBe('3');\n+\n+      item = $animate.queue.shift();\n+      expect(item.event).toBe('leave');\n+      expect(item.element.text()).toBe('1');\n+\n+      item = $animate.queue.shift();\n+      expect(item.event).toBe('leave');\n+      expect(item.element.text()).toBe('2');\n+    })\n+  );","path":"test/ng/directive/ngRepeatSpec.js","position":70,"original_position":70,"commit_id":"c969ae23c48eab32989435d8ed4f9767e89c5ad4","original_commit_id":"c969ae23c48eab32989435d8ed4f9767e89c5ad4","user":{"login":"Narretz","id":1153097,"avatar_url":"https://avatars2.githubusercontent.com/u/1153097?v=3","gravatar_id":"","url":"https://api.github.com/users/Narretz","html_url":"https://github.com/Narretz","followers_url":"https://api.github.com/users/Narretz/followers","following_url":"https://api.github.com/users/Narretz/following{/other_user}","gists_url":"https://api.github.com/users/Narretz/gists{/gist_id}","starred_url":"https://api.github.com/users/Narretz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narretz/subscriptions","organizations_url":"https://api.github.com/users/Narretz/orgs","repos_url":"https://api.github.com/users/Narretz/repos","events_url":"https://api.github.com/users/Narretz/events{/privacy}","received_events_url":"https://api.github.com/users/Narretz/received_events","type":"User","site_admin":false},"body":"Please put a newline between the two `it`s","created_at":"2017-03-23T08:10:26Z","updated_at":"2017-03-23T08:12:15Z","html_url":"https://github.com/angular/angular.js/pull/15072#discussion_r107607423","pull_request_url":"https://api.github.com/repos/angular/angular.js/pulls/15072","_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments/107607423"},"html":{"href":"https://github.com/angular/angular.js/pull/15072#discussion_r107607423"},"pull_request":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15072"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/15072","id":83357850,"html_url":"https://github.com/angular/angular.js/pull/15072","diff_url":"https://github.com/angular/angular.js/pull/15072.diff","patch_url":"https://github.com/angular/angular.js/pull/15072.patch","issue_url":"https://api.github.com/repos/angular/angular.js/issues/15072","number":15072,"state":"open","locked":false,"title":"fix(ngRepeat): trigger move animation","user":{"login":"pondermatic","id":5377968,"avatar_url":"https://avatars2.githubusercontent.com/u/5377968?v=3","gravatar_id":"","url":"https://api.github.com/users/pondermatic","html_url":"https://github.com/pondermatic","followers_url":"https://api.github.com/users/pondermatic/followers","following_url":"https://api.github.com/users/pondermatic/following{/other_user}","gists_url":"https://api.github.com/users/pondermatic/gists{/gist_id}","starred_url":"https://api.github.com/users/pondermatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pondermatic/subscriptions","organizations_url":"https://api.github.com/users/pondermatic/orgs","repos_url":"https://api.github.com/users/pondermatic/repos","events_url":"https://api.github.com/users/pondermatic/events{/privacy}","received_events_url":"https://api.github.com/users/pondermatic/received_events","type":"User","site_admin":false},"body":"**What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)**\nbug fix\n\n**What is the current behavior? (You can also link to an open issue here)**\n#15068\n","created_at":"2016-08-30T22:19:23Z","updated_at":"2017-03-23T08:12:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e815a385fb3a46e64836a6d3edaa6c8b2c094bfd","assignee":{"login":"Narretz","id":1153097,"avatar_url":"https://avatars2.githubusercontent.com/u/1153097?v=3","gravatar_id":"","url":"https://api.github.com/users/Narretz","html_url":"https://github.com/Narretz","followers_url":"https://api.github.com/users/Narretz/followers","following_url":"https://api.github.com/users/Narretz/following{/other_user}","gists_url":"https://api.github.com/users/Narretz/gists{/gist_id}","starred_url":"https://api.github.com/users/Narretz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narretz/subscriptions","organizations_url":"https://api.github.com/users/Narretz/orgs","repos_url":"https://api.github.com/users/Narretz/repos","events_url":"https://api.github.com/users/Narretz/events{/privacy}","received_events_url":"https://api.github.com/users/Narretz/received_events","type":"User","site_admin":false},"assignees":[{"login":"Narretz","id":1153097,"avatar_url":"https://avatars2.githubusercontent.com/u/1153097?v=3","gravatar_id":"","url":"https://api.github.com/users/Narretz","html_url":"https://github.com/Narretz","followers_url":"https://api.github.com/users/Narretz/followers","following_url":"https://api.github.com/users/Narretz/following{/other_user}","gists_url":"https://api.github.com/users/Narretz/gists{/gist_id}","starred_url":"https://api.github.com/users/Narretz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narretz/subscriptions","organizations_url":"https://api.github.com/users/Narretz/orgs","repos_url":"https://api.github.com/users/Narretz/repos","events_url":"https://api.github.com/users/Narretz/events{/privacy}","received_events_url":"https://api.github.com/users/Narretz/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/137","html_url":"https://github.com/angular/angular.js/milestone/137","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/137/labels","id":2371952,"number":137,"title":"1.6.4","description":"","creator":{"login":"Narretz","id":1153097,"avatar_url":"https://avatars2.githubusercontent.com/u/1153097?v=3","gravatar_id":"","url":"https://api.github.com/users/Narretz","html_url":"https://github.com/Narretz","followers_url":"https://api.github.com/users/Narretz/followers","following_url":"https://api.github.com/users/Narretz/following{/other_user}","gists_url":"https://api.github.com/users/Narretz/gists{/gist_id}","starred_url":"https://api.github.com/users/Narretz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Narretz/subscriptions","organizations_url":"https://api.github.com/users/Narretz/orgs","repos_url":"https://api.github.com/users/Narretz/repos","events_url":"https://api.github.com/users/Narretz/events{/privacy}","received_events_url":"https://api.github.com/users/Narretz/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2017-03-08T14:36:57Z","updated_at":"2017-03-22T11:16:53Z","due_on":"2017-03-23T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/angular/angular.js/pulls/15072/commits","review_comments_url":"https://api.github.com/repos/angular/angular.js/pulls/15072/comments","review_comment_url":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/15072/comments","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/c969ae23c48eab32989435d8ed4f9767e89c5ad4","head":{"label":"pondermatic:ngRepeat-animations","ref":"ngRepeat-animations","sha":"c969ae23c48eab32989435d8ed4f9767e89c5ad4","user":{"login":"pondermatic","id":5377968,"avatar_url":"https://avatars2.githubusercontent.com/u/5377968?v=3","gravatar_id":"","url":"https://api.github.com/users/pondermatic","html_url":"https://github.com/pondermatic","followers_url":"https://api.github.com/users/pondermatic/followers","following_url":"https://api.github.com/users/pondermatic/following{/other_user}","gists_url":"https://api.github.com/users/pondermatic/gists{/gist_id}","starred_url":"https://api.github.com/users/pondermatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pondermatic/subscriptions","organizations_url":"https://api.github.com/users/pondermatic/orgs","repos_url":"https://api.github.com/users/pondermatic/repos","events_url":"https://api.github.com/users/pondermatic/events{/privacy}","received_events_url":"https://api.github.com/users/pondermatic/received_events","type":"User","site_admin":false},"repo":{"id":66472009,"name":"angular.js","full_name":"pondermatic/angular.js","owner":{"login":"pondermatic","id":5377968,"avatar_url":"https://avatars2.githubusercontent.com/u/5377968?v=3","gravatar_id":"","url":"https://api.github.com/users/pondermatic","html_url":"https://github.com/pondermatic","followers_url":"https://api.github.com/users/pondermatic/followers","following_url":"https://api.github.com/users/pondermatic/following{/other_user}","gists_url":"https://api.github.com/users/pondermatic/gists{/gist_id}","starred_url":"https://api.github.com/users/pondermatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pondermatic/subscriptions","organizations_url":"https://api.github.com/users/pondermatic/orgs","repos_url":"https://api.github.com/users/pondermatic/repos","events_url":"https://api.github.com/users/pondermatic/events{/privacy}","received_events_url":"https://api.github.com/users/pondermatic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pondermatic/angular.js","description":"HTML enhanced for web apps","fork":true,"url":"https://api.github.com/repos/pondermatic/angular.js","forks_url":"https://api.github.com/repos/pondermatic/angular.js/forks","keys_url":"https://api.github.com/repos/pondermatic/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pondermatic/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pondermatic/angular.js/teams","hooks_url":"https://api.github.com/repos/pondermatic/angular.js/hooks","issue_events_url":"https://api.github.com/repos/pondermatic/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/pondermatic/angular.js/events","assignees_url":"https://api.github.com/repos/pondermatic/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/pondermatic/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/pondermatic/angular.js/tags","blobs_url":"https://api.github.com/repos/pondermatic/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pondermatic/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pondermatic/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/pondermatic/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pondermatic/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/pondermatic/angular.js/languages","stargazers_url":"https://api.github.com/repos/pondermatic/angular.js/stargazers","contributors_url":"https://api.github.com/repos/pondermatic/angular.js/contributors","subscribers_url":"https://api.github.com/repos/pondermatic/angular.js/subscribers","subscription_url":"https://api.github.com/repos/pondermatic/angular.js/subscription","commits_url":"https://api.github.com/repos/pondermatic/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/pondermatic/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/pondermatic/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/pondermatic/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/pondermatic/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/pondermatic/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pondermatic/angular.js/merges","archive_url":"https://api.github.com/repos/pondermatic/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pondermatic/angular.js/downloads","issues_url":"https://api.github.com/repos/pondermatic/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/pondermatic/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/pondermatic/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/pondermatic/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pondermatic/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/pondermatic/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/pondermatic/angular.js/deployments","created_at":"2016-08-24T14:39:28Z","updated_at":"2016-08-24T14:40:02Z","pushed_at":"2017-03-21T17:12:34Z","git_url":"git://github.com/pondermatic/angular.js.git","ssh_url":"git@github.com:pondermatic/angular.js.git","clone_url":"https://github.com/pondermatic/angular.js.git","svn_url":"https://github.com/pondermatic/angular.js","homepage":"http://angularjs.org","size":86586,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"d96e58fdc87572225846c181e45e700ec2b55c40","user":{"login":"angular","id":139426,"avatar_url":"https://avatars0.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":460078,"name":"angular.js","full_name":"angular/angular.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars0.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular.js","description":"AngularJS - HTML enhanced for web apps!","fork":false,"url":"https://api.github.com/repos/angular/angular.js","forks_url":"https://api.github.com/repos/angular/angular.js/forks","keys_url":"https://api.github.com/repos/angular/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.js/teams","hooks_url":"https://api.github.com/repos/angular/angular.js/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.js/events","assignees_url":"https://api.github.com/repos/angular/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.js/tags","blobs_url":"https://api.github.com/repos/angular/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.js/languages","stargazers_url":"https://api.github.com/repos/angular/angular.js/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.js/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.js/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.js/subscription","commits_url":"https://api.github.com/repos/angular/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.js/merges","archive_url":"https://api.github.com/repos/angular/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.js/downloads","issues_url":"https://api.github.com/repos/angular/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular.js/deployments","created_at":"2010-01-06T00:34:37Z","updated_at":"2017-03-23T07:26:19Z","pushed_at":"2017-03-23T07:11:06Z","git_url":"git://github.com/angular/angular.js.git","ssh_url":"git@github.com:angular/angular.js.git","clone_url":"https://github.com/angular/angular.js.git","svn_url":"https://github.com/angular/angular.js","homepage":"https://angularjs.org","size":86880,"stargazers_count":55156,"watchers_count":55156,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27527,"mirror_url":null,"open_issues_count":788,"forks":27527,"open_issues":788,"watchers":55156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15072"},"html":{"href":"https://github.com/angular/angular.js/pull/15072"},"issue":{"href":"https://api.github.com/repos/angular/angular.js/issues/15072"},"comments":{"href":"https://api.github.com/repos/angular/angular.js/issues/15072/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15072/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.js/pulls/15072/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.js/statuses/c969ae23c48eab32989435d8ed4f9767e89c5ad4"}}}}
{"actor":{"display_login":"Narretz"}}