{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/12277","labels_url":"https://api.github.com/repos/angular/angular.js/issues/12277/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/12277/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/12277/events","html_url":"https://github.com/angular/angular.js/pull/12277","id":93305304,"number":12277,"title":"Fix for #12266 : Fixed skipping/cleaning of elements pending animations.","user":{"login":"sreeramu","id":438259,"avatar_url":"https://avatars.githubusercontent.com/u/438259?v=3","gravatar_id":"","url":"https://api.github.com/users/sreeramu","html_url":"https://github.com/sreeramu","followers_url":"https://api.github.com/users/sreeramu/followers","following_url":"https://api.github.com/users/sreeramu/following{/other_user}","gists_url":"https://api.github.com/users/sreeramu/gists{/gist_id}","starred_url":"https://api.github.com/users/sreeramu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreeramu/subscriptions","organizations_url":"https://api.github.com/users/sreeramu/orgs","repos_url":"https://api.github.com/users/sreeramu/repos","events_url":"https://api.github.com/users/sreeramu/events{/privacy}","received_events_url":"https://api.github.com/users/sreeramu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20ngAnimate","name":"component: ngAnimate","color":"bfdadc"},{"url":"https://api.github.com/repos/angular/angular.js/labels/needs:%20test","name":"needs: test","color":"e11d21"},{"url":"https://api.github.com/repos/angular/angular.js/labels/type:%20bug","name":"type: bug","color":"000000"}],"state":"open","locked":false,"assignee":{"login":"matsko","id":93018,"avatar_url":"https://avatars.githubusercontent.com/u/93018?v=3","gravatar_id":"","url":"https://api.github.com/users/matsko","html_url":"https://github.com/matsko","followers_url":"https://api.github.com/users/matsko/followers","following_url":"https://api.github.com/users/matsko/following{/other_user}","gists_url":"https://api.github.com/users/matsko/gists{/gist_id}","starred_url":"https://api.github.com/users/matsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsko/subscriptions","organizations_url":"https://api.github.com/users/matsko/orgs","repos_url":"https://api.github.com/users/matsko/repos","events_url":"https://api.github.com/users/matsko/events{/privacy}","received_events_url":"https://api.github.com/users/matsko/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/80","html_url":"https://github.com/angular/angular.js/milestones/1.4.x","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/80/labels","id":901585,"number":80,"title":"1.4.x","description":"","creator":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"open_issues":66,"closed_issues":73,"state":"open","created_at":"2014-12-12T10:36:27Z","updated_at":"2015-07-17T03:05:39Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-06T15:22:20Z","updated_at":"2015-07-17T13:40:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/12277","html_url":"https://github.com/angular/angular.js/pull/12277","diff_url":"https://github.com/angular/angular.js/pull/12277.diff","patch_url":"https://github.com/angular/angular.js/pull/12277.patch"},"body":"Instead of merging existing animation option to new animation options we can merge in reverse and utilize old animation runner.\r\n\r\nThis PR will fix #12266,#12007 issue.\r\n\r\nExample to test:\r\n\r\n```\r\nvar app = angular.module(\"app\", ['ngAnimate']);\r\n\r\napp.directive('iholder', ['$animate','$timeout', function($animate,$timeout) {\r\n    return {\r\n        restrict: 'EA',\r\n        scope: {},\r\n        template: '<div ng-click=\"clickHandler()\" style=\"width:100%;height:10em;background-color:red;\"></div>',\r\n        replace: true,\r\n        link: function($scope, element, attrs) {\r\n            $scope.clickHandler = function() {\r\n                $animate.addClass(element,'test1');\r\n                $animate.removeClass(element,'test1');\r\n                $animate.addClass(element,'test1');\r\n                $animate.removeClass(element,'test1');\r\n            }\r\n        }\r\n    }\r\n}]);\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/122277164","html_url":"https://github.com/angular/angular.js/pull/12277#issuecomment-122277164","issue_url":"https://api.github.com/repos/angular/angular.js/issues/12277","id":122277164,"user":{"login":"sreeramu","id":438259,"avatar_url":"https://avatars.githubusercontent.com/u/438259?v=3","gravatar_id":"","url":"https://api.github.com/users/sreeramu","html_url":"https://github.com/sreeramu","followers_url":"https://api.github.com/users/sreeramu/followers","following_url":"https://api.github.com/users/sreeramu/following{/other_user}","gists_url":"https://api.github.com/users/sreeramu/gists{/gist_id}","starred_url":"https://api.github.com/users/sreeramu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreeramu/subscriptions","organizations_url":"https://api.github.com/users/sreeramu/orgs","repos_url":"https://api.github.com/users/sreeramu/repos","events_url":"https://api.github.com/users/sreeramu/events{/privacy}","received_events_url":"https://api.github.com/users/sreeramu/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T13:40:53Z","updated_at":"2015-07-17T13:40:53Z","body":"@matsko Thank You, i had squash my commits."}}