{"action":"closed","number":45,"pull_request":{"url":"https://api.github.com/repos/cgross/angular-busy/pulls/45","id":22091399,"html_url":"https://github.com/cgross/angular-busy/pull/45","diff_url":"https://github.com/cgross/angular-busy/pull/45.diff","patch_url":"https://github.com/cgross/angular-busy/pull/45.patch","issue_url":"https://api.github.com/repos/cgross/angular-busy/issues/45","number":45,"state":"closed","locked":false,"title":"Fix for delay+minDuration always showing busy","user":{"login":"InflectionPixel","id":8670483,"avatar_url":"https://avatars.githubusercontent.com/u/8670483?v=3","gravatar_id":"","url":"https://api.github.com/users/InflectionPixel","html_url":"https://github.com/InflectionPixel","followers_url":"https://api.github.com/users/InflectionPixel/followers","following_url":"https://api.github.com/users/InflectionPixel/following{/other_user}","gists_url":"https://api.github.com/users/InflectionPixel/gists{/gist_id}","starred_url":"https://api.github.com/users/InflectionPixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InflectionPixel/subscriptions","organizations_url":"https://api.github.com/users/InflectionPixel/orgs","repos_url":"https://api.github.com/users/InflectionPixel/repos","events_url":"https://api.github.com/users/InflectionPixel/events{/privacy}","received_events_url":"https://api.github.com/users/InflectionPixel/received_events","type":"User","site_admin":false},"body":"I was having issues using these settings together.  When I set a promise, after the delay time, the busy screen would show for minDuration regardless of how fast the promise resolved..  For example, setting a delay of 5000 and a minDuration of 5000 meant that after 5 seconds, the busy screen would show for 5 seconds.","created_at":"2014-10-01T18:00:06Z","updated_at":"2015-04-12T19:09:59Z","closed_at":"2015-04-12T19:09:59Z","merged_at":null,"merge_commit_sha":"e553ebbec2bfc5887630644092c166ec48321ea6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cgross/angular-busy/pulls/45/commits","review_comments_url":"https://api.github.com/repos/cgross/angular-busy/pulls/45/comments","review_comment_url":"https://api.github.com/repos/cgross/angular-busy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cgross/angular-busy/issues/45/comments","statuses_url":"https://api.github.com/repos/cgross/angular-busy/statuses/30733b4666235660dbfed710d1aa4de03001849b","head":{"label":"InflectionPixel:master","ref":"master","sha":"30733b4666235660dbfed710d1aa4de03001849b","user":{"login":"InflectionPixel","id":8670483,"avatar_url":"https://avatars.githubusercontent.com/u/8670483?v=3","gravatar_id":"","url":"https://api.github.com/users/InflectionPixel","html_url":"https://github.com/InflectionPixel","followers_url":"https://api.github.com/users/InflectionPixel/followers","following_url":"https://api.github.com/users/InflectionPixel/following{/other_user}","gists_url":"https://api.github.com/users/InflectionPixel/gists{/gist_id}","starred_url":"https://api.github.com/users/InflectionPixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InflectionPixel/subscriptions","organizations_url":"https://api.github.com/users/InflectionPixel/orgs","repos_url":"https://api.github.com/users/InflectionPixel/repos","events_url":"https://api.github.com/users/InflectionPixel/events{/privacy}","received_events_url":"https://api.github.com/users/InflectionPixel/received_events","type":"User","site_admin":false},"repo":{"id":24687068,"name":"angular-busy","full_name":"InflectionPixel/angular-busy","owner":{"login":"InflectionPixel","id":8670483,"avatar_url":"https://avatars.githubusercontent.com/u/8670483?v=3","gravatar_id":"","url":"https://api.github.com/users/InflectionPixel","html_url":"https://github.com/InflectionPixel","followers_url":"https://api.github.com/users/InflectionPixel/followers","following_url":"https://api.github.com/users/InflectionPixel/following{/other_user}","gists_url":"https://api.github.com/users/InflectionPixel/gists{/gist_id}","starred_url":"https://api.github.com/users/InflectionPixel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/InflectionPixel/subscriptions","organizations_url":"https://api.github.com/users/InflectionPixel/orgs","repos_url":"https://api.github.com/users/InflectionPixel/repos","events_url":"https://api.github.com/users/InflectionPixel/events{/privacy}","received_events_url":"https://api.github.com/users/InflectionPixel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/InflectionPixel/angular-busy","description":"Show busy/loading indicators on any element during $http requests (or any promise).","fork":true,"url":"https://api.github.com/repos/InflectionPixel/angular-busy","forks_url":"https://api.github.com/repos/InflectionPixel/angular-busy/forks","keys_url":"https://api.github.com/repos/InflectionPixel/angular-busy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/InflectionPixel/angular-busy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/InflectionPixel/angular-busy/teams","hooks_url":"https://api.github.com/repos/InflectionPixel/angular-busy/hooks","issue_events_url":"https://api.github.com/repos/InflectionPixel/angular-busy/issues/events{/number}","events_url":"https://api.github.com/repos/InflectionPixel/angular-busy/events","assignees_url":"https://api.github.com/repos/InflectionPixel/angular-busy/assignees{/user}","branches_url":"https://api.github.com/repos/InflectionPixel/angular-busy/branches{/branch}","tags_url":"https://api.github.com/repos/InflectionPixel/angular-busy/tags","blobs_url":"https://api.github.com/repos/InflectionPixel/angular-busy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/InflectionPixel/angular-busy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/InflectionPixel/angular-busy/git/refs{/sha}","trees_url":"https://api.github.com/repos/InflectionPixel/angular-busy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/InflectionPixel/angular-busy/statuses/{sha}","languages_url":"https://api.github.com/repos/InflectionPixel/angular-busy/languages","stargazers_url":"https://api.github.com/repos/InflectionPixel/angular-busy/stargazers","contributors_url":"https://api.github.com/repos/InflectionPixel/angular-busy/contributors","subscribers_url":"https://api.github.com/repos/InflectionPixel/angular-busy/subscribers","subscription_url":"https://api.github.com/repos/InflectionPixel/angular-busy/subscription","commits_url":"https://api.github.com/repos/InflectionPixel/angular-busy/commits{/sha}","git_commits_url":"https://api.github.com/repos/InflectionPixel/angular-busy/git/commits{/sha}","comments_url":"https://api.github.com/repos/InflectionPixel/angular-busy/comments{/number}","issue_comment_url":"https://api.github.com/repos/InflectionPixel/angular-busy/issues/comments{/number}","contents_url":"https://api.github.com/repos/InflectionPixel/angular-busy/contents/{+path}","compare_url":"https://api.github.com/repos/InflectionPixel/angular-busy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/InflectionPixel/angular-busy/merges","archive_url":"https://api.github.com/repos/InflectionPixel/angular-busy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/InflectionPixel/angular-busy/downloads","issues_url":"https://api.github.com/repos/InflectionPixel/angular-busy/issues{/number}","pulls_url":"https://api.github.com/repos/InflectionPixel/angular-busy/pulls{/number}","milestones_url":"https://api.github.com/repos/InflectionPixel/angular-busy/milestones{/number}","notifications_url":"https://api.github.com/repos/InflectionPixel/angular-busy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/InflectionPixel/angular-busy/labels{/name}","releases_url":"https://api.github.com/repos/InflectionPixel/angular-busy/releases{/id}","created_at":"2014-10-01T17:05:12Z","updated_at":"2015-03-12T20:37:14Z","pushed_at":"2015-03-12T20:37:14Z","git_url":"git://github.com/InflectionPixel/angular-busy.git","ssh_url":"git@github.com:InflectionPixel/angular-busy.git","clone_url":"https://github.com/InflectionPixel/angular-busy.git","svn_url":"https://github.com/InflectionPixel/angular-busy","homepage":"http://cgross.github.io/angular-busy/demo","size":1135,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cgross:master","ref":"master","sha":"fe72f9aa16698a28fc889312535ffea11174a228","user":{"login":"cgross","id":132874,"avatar_url":"https://avatars.githubusercontent.com/u/132874?v=3","gravatar_id":"","url":"https://api.github.com/users/cgross","html_url":"https://github.com/cgross","followers_url":"https://api.github.com/users/cgross/followers","following_url":"https://api.github.com/users/cgross/following{/other_user}","gists_url":"https://api.github.com/users/cgross/gists{/gist_id}","starred_url":"https://api.github.com/users/cgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgross/subscriptions","organizations_url":"https://api.github.com/users/cgross/orgs","repos_url":"https://api.github.com/users/cgross/repos","events_url":"https://api.github.com/users/cgross/events{/privacy}","received_events_url":"https://api.github.com/users/cgross/received_events","type":"User","site_admin":false},"repo":{"id":9656661,"name":"angular-busy","full_name":"cgross/angular-busy","owner":{"login":"cgross","id":132874,"avatar_url":"https://avatars.githubusercontent.com/u/132874?v=3","gravatar_id":"","url":"https://api.github.com/users/cgross","html_url":"https://github.com/cgross","followers_url":"https://api.github.com/users/cgross/followers","following_url":"https://api.github.com/users/cgross/following{/other_user}","gists_url":"https://api.github.com/users/cgross/gists{/gist_id}","starred_url":"https://api.github.com/users/cgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgross/subscriptions","organizations_url":"https://api.github.com/users/cgross/orgs","repos_url":"https://api.github.com/users/cgross/repos","events_url":"https://api.github.com/users/cgross/events{/privacy}","received_events_url":"https://api.github.com/users/cgross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cgross/angular-busy","description":"Show busy/loading indicators on any element during $http requests (or any promise).","fork":false,"url":"https://api.github.com/repos/cgross/angular-busy","forks_url":"https://api.github.com/repos/cgross/angular-busy/forks","keys_url":"https://api.github.com/repos/cgross/angular-busy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgross/angular-busy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgross/angular-busy/teams","hooks_url":"https://api.github.com/repos/cgross/angular-busy/hooks","issue_events_url":"https://api.github.com/repos/cgross/angular-busy/issues/events{/number}","events_url":"https://api.github.com/repos/cgross/angular-busy/events","assignees_url":"https://api.github.com/repos/cgross/angular-busy/assignees{/user}","branches_url":"https://api.github.com/repos/cgross/angular-busy/branches{/branch}","tags_url":"https://api.github.com/repos/cgross/angular-busy/tags","blobs_url":"https://api.github.com/repos/cgross/angular-busy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgross/angular-busy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgross/angular-busy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgross/angular-busy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgross/angular-busy/statuses/{sha}","languages_url":"https://api.github.com/repos/cgross/angular-busy/languages","stargazers_url":"https://api.github.com/repos/cgross/angular-busy/stargazers","contributors_url":"https://api.github.com/repos/cgross/angular-busy/contributors","subscribers_url":"https://api.github.com/repos/cgross/angular-busy/subscribers","subscription_url":"https://api.github.com/repos/cgross/angular-busy/subscription","commits_url":"https://api.github.com/repos/cgross/angular-busy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgross/angular-busy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgross/angular-busy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgross/angular-busy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgross/angular-busy/contents/{+path}","compare_url":"https://api.github.com/repos/cgross/angular-busy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgross/angular-busy/merges","archive_url":"https://api.github.com/repos/cgross/angular-busy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgross/angular-busy/downloads","issues_url":"https://api.github.com/repos/cgross/angular-busy/issues{/number}","pulls_url":"https://api.github.com/repos/cgross/angular-busy/pulls{/number}","milestones_url":"https://api.github.com/repos/cgross/angular-busy/milestones{/number}","notifications_url":"https://api.github.com/repos/cgross/angular-busy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgross/angular-busy/labels{/name}","releases_url":"https://api.github.com/repos/cgross/angular-busy/releases{/id}","created_at":"2013-04-24T20:08:25Z","updated_at":"2015-04-12T19:09:58Z","pushed_at":"2015-04-12T19:09:58Z","git_url":"git://github.com/cgross/angular-busy.git","ssh_url":"git@github.com:cgross/angular-busy.git","clone_url":"https://github.com/cgross/angular-busy.git","svn_url":"https://github.com/cgross/angular-busy","homepage":"http://cgross.github.io/angular-busy/demo","size":1787,"stargazers_count":666,"watchers_count":666,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":100,"mirror_url":null,"open_issues_count":16,"forks":100,"open_issues":16,"watchers":666,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cgross/angular-busy/pulls/45"},"html":{"href":"https://github.com/cgross/angular-busy/pull/45"},"issue":{"href":"https://api.github.com/repos/cgross/angular-busy/issues/45"},"comments":{"href":"https://api.github.com/repos/cgross/angular-busy/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/cgross/angular-busy/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/cgross/angular-busy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cgross/angular-busy/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/cgross/angular-busy/statuses/30733b4666235660dbfed710d1aa4de03001849b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"commits":2,"additions":103,"deletions":35,"changed_files":5}}