{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/tiste/angular-loading-button/pulls/2","id":49548787,"html_url":"https://github.com/tiste/angular-loading-button/pull/2","diff_url":"https://github.com/tiste/angular-loading-button/pull/2.diff","patch_url":"https://github.com/tiste/angular-loading-button/pull/2.patch","issue_url":"https://api.github.com/repos/tiste/angular-loading-button/issues/2","number":2,"state":"open","locked":false,"title":"Add attributes to configure state change delays","user":{"login":"tcrammond","id":6432028,"avatar_url":"https://avatars.githubusercontent.com/u/6432028?v=3","gravatar_id":"","url":"https://api.github.com/users/tcrammond","html_url":"https://github.com/tcrammond","followers_url":"https://api.github.com/users/tcrammond/followers","following_url":"https://api.github.com/users/tcrammond/following{/other_user}","gists_url":"https://api.github.com/users/tcrammond/gists{/gist_id}","starred_url":"https://api.github.com/users/tcrammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcrammond/subscriptions","organizations_url":"https://api.github.com/users/tcrammond/orgs","repos_url":"https://api.github.com/users/tcrammond/repos","events_url":"https://api.github.com/users/tcrammond/events{/privacy}","received_events_url":"https://api.github.com/users/tcrammond/received_events","type":"User","site_admin":false},"body":"Hi\r\n\r\nI've added two attributes - `lb-completed-delay` and `lb-reset-delay`. These are used to change the delays used in $timeouts when the state changes from loading to success/error and then resets. If the attributes aren't provided it will default to 400 and 3000, respectively.\r\n\r\n**Question**: Could/should these $timeouts be staggered? i.e. the state changes from `loading` to `success/error` after `completedDelay` ms, and then resets `resetDelay` ms after that? I think this would make more sense.","created_at":"2015-11-03T12:20:44Z","updated_at":"2015-11-03T12:20:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tiste/angular-loading-button/pulls/2/commits","review_comments_url":"https://api.github.com/repos/tiste/angular-loading-button/pulls/2/comments","review_comment_url":"https://api.github.com/repos/tiste/angular-loading-button/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tiste/angular-loading-button/issues/2/comments","statuses_url":"https://api.github.com/repos/tiste/angular-loading-button/statuses/c6ddfff99cc01ff99f07ba9ae009bc77618074c4","head":{"label":"tcrammond:delay-attributes","ref":"delay-attributes","sha":"c6ddfff99cc01ff99f07ba9ae009bc77618074c4","user":{"login":"tcrammond","id":6432028,"avatar_url":"https://avatars.githubusercontent.com/u/6432028?v=3","gravatar_id":"","url":"https://api.github.com/users/tcrammond","html_url":"https://github.com/tcrammond","followers_url":"https://api.github.com/users/tcrammond/followers","following_url":"https://api.github.com/users/tcrammond/following{/other_user}","gists_url":"https://api.github.com/users/tcrammond/gists{/gist_id}","starred_url":"https://api.github.com/users/tcrammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcrammond/subscriptions","organizations_url":"https://api.github.com/users/tcrammond/orgs","repos_url":"https://api.github.com/users/tcrammond/repos","events_url":"https://api.github.com/users/tcrammond/events{/privacy}","received_events_url":"https://api.github.com/users/tcrammond/received_events","type":"User","site_admin":false},"repo":{"id":45460236,"name":"angular-loading-button","full_name":"tcrammond/angular-loading-button","owner":{"login":"tcrammond","id":6432028,"avatar_url":"https://avatars.githubusercontent.com/u/6432028?v=3","gravatar_id":"","url":"https://api.github.com/users/tcrammond","html_url":"https://github.com/tcrammond","followers_url":"https://api.github.com/users/tcrammond/followers","following_url":"https://api.github.com/users/tcrammond/following{/other_user}","gists_url":"https://api.github.com/users/tcrammond/gists{/gist_id}","starred_url":"https://api.github.com/users/tcrammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcrammond/subscriptions","organizations_url":"https://api.github.com/users/tcrammond/orgs","repos_url":"https://api.github.com/users/tcrammond/repos","events_url":"https://api.github.com/users/tcrammond/events{/privacy}","received_events_url":"https://api.github.com/users/tcrammond/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tcrammond/angular-loading-button","description":"Loading button directive for AngularJS","fork":true,"url":"https://api.github.com/repos/tcrammond/angular-loading-button","forks_url":"https://api.github.com/repos/tcrammond/angular-loading-button/forks","keys_url":"https://api.github.com/repos/tcrammond/angular-loading-button/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tcrammond/angular-loading-button/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tcrammond/angular-loading-button/teams","hooks_url":"https://api.github.com/repos/tcrammond/angular-loading-button/hooks","issue_events_url":"https://api.github.com/repos/tcrammond/angular-loading-button/issues/events{/number}","events_url":"https://api.github.com/repos/tcrammond/angular-loading-button/events","assignees_url":"https://api.github.com/repos/tcrammond/angular-loading-button/assignees{/user}","branches_url":"https://api.github.com/repos/tcrammond/angular-loading-button/branches{/branch}","tags_url":"https://api.github.com/repos/tcrammond/angular-loading-button/tags","blobs_url":"https://api.github.com/repos/tcrammond/angular-loading-button/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tcrammond/angular-loading-button/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tcrammond/angular-loading-button/git/refs{/sha}","trees_url":"https://api.github.com/repos/tcrammond/angular-loading-button/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tcrammond/angular-loading-button/statuses/{sha}","languages_url":"https://api.github.com/repos/tcrammond/angular-loading-button/languages","stargazers_url":"https://api.github.com/repos/tcrammond/angular-loading-button/stargazers","contributors_url":"https://api.github.com/repos/tcrammond/angular-loading-button/contributors","subscribers_url":"https://api.github.com/repos/tcrammond/angular-loading-button/subscribers","subscription_url":"https://api.github.com/repos/tcrammond/angular-loading-button/subscription","commits_url":"https://api.github.com/repos/tcrammond/angular-loading-button/commits{/sha}","git_commits_url":"https://api.github.com/repos/tcrammond/angular-loading-button/git/commits{/sha}","comments_url":"https://api.github.com/repos/tcrammond/angular-loading-button/comments{/number}","issue_comment_url":"https://api.github.com/repos/tcrammond/angular-loading-button/issues/comments{/number}","contents_url":"https://api.github.com/repos/tcrammond/angular-loading-button/contents/{+path}","compare_url":"https://api.github.com/repos/tcrammond/angular-loading-button/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tcrammond/angular-loading-button/merges","archive_url":"https://api.github.com/repos/tcrammond/angular-loading-button/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tcrammond/angular-loading-button/downloads","issues_url":"https://api.github.com/repos/tcrammond/angular-loading-button/issues{/number}","pulls_url":"https://api.github.com/repos/tcrammond/angular-loading-button/pulls{/number}","milestones_url":"https://api.github.com/repos/tcrammond/angular-loading-button/milestones{/number}","notifications_url":"https://api.github.com/repos/tcrammond/angular-loading-button/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tcrammond/angular-loading-button/labels{/name}","releases_url":"https://api.github.com/repos/tcrammond/angular-loading-button/releases{/id}","created_at":"2015-11-03T10:50:57Z","updated_at":"2015-11-03T10:50:57Z","pushed_at":"2015-11-03T12:15:42Z","git_url":"git://github.com/tcrammond/angular-loading-button.git","ssh_url":"git@github.com:tcrammond/angular-loading-button.git","clone_url":"https://github.com/tcrammond/angular-loading-button.git","svn_url":"https://github.com/tcrammond/angular-loading-button","homepage":"http://angular-loading-button.tiste.io","size":99,"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":"tiste:master","ref":"master","sha":"1650a6c601662b5fc397dc67e01a97ee4acfdc23","user":{"login":"tiste","id":3153249,"avatar_url":"https://avatars.githubusercontent.com/u/3153249?v=3","gravatar_id":"","url":"https://api.github.com/users/tiste","html_url":"https://github.com/tiste","followers_url":"https://api.github.com/users/tiste/followers","following_url":"https://api.github.com/users/tiste/following{/other_user}","gists_url":"https://api.github.com/users/tiste/gists{/gist_id}","starred_url":"https://api.github.com/users/tiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiste/subscriptions","organizations_url":"https://api.github.com/users/tiste/orgs","repos_url":"https://api.github.com/users/tiste/repos","events_url":"https://api.github.com/users/tiste/events{/privacy}","received_events_url":"https://api.github.com/users/tiste/received_events","type":"User","site_admin":false},"repo":{"id":22735783,"name":"angular-loading-button","full_name":"tiste/angular-loading-button","owner":{"login":"tiste","id":3153249,"avatar_url":"https://avatars.githubusercontent.com/u/3153249?v=3","gravatar_id":"","url":"https://api.github.com/users/tiste","html_url":"https://github.com/tiste","followers_url":"https://api.github.com/users/tiste/followers","following_url":"https://api.github.com/users/tiste/following{/other_user}","gists_url":"https://api.github.com/users/tiste/gists{/gist_id}","starred_url":"https://api.github.com/users/tiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiste/subscriptions","organizations_url":"https://api.github.com/users/tiste/orgs","repos_url":"https://api.github.com/users/tiste/repos","events_url":"https://api.github.com/users/tiste/events{/privacy}","received_events_url":"https://api.github.com/users/tiste/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tiste/angular-loading-button","description":"Loading button directive for AngularJS","fork":false,"url":"https://api.github.com/repos/tiste/angular-loading-button","forks_url":"https://api.github.com/repos/tiste/angular-loading-button/forks","keys_url":"https://api.github.com/repos/tiste/angular-loading-button/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiste/angular-loading-button/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiste/angular-loading-button/teams","hooks_url":"https://api.github.com/repos/tiste/angular-loading-button/hooks","issue_events_url":"https://api.github.com/repos/tiste/angular-loading-button/issues/events{/number}","events_url":"https://api.github.com/repos/tiste/angular-loading-button/events","assignees_url":"https://api.github.com/repos/tiste/angular-loading-button/assignees{/user}","branches_url":"https://api.github.com/repos/tiste/angular-loading-button/branches{/branch}","tags_url":"https://api.github.com/repos/tiste/angular-loading-button/tags","blobs_url":"https://api.github.com/repos/tiste/angular-loading-button/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiste/angular-loading-button/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiste/angular-loading-button/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiste/angular-loading-button/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiste/angular-loading-button/statuses/{sha}","languages_url":"https://api.github.com/repos/tiste/angular-loading-button/languages","stargazers_url":"https://api.github.com/repos/tiste/angular-loading-button/stargazers","contributors_url":"https://api.github.com/repos/tiste/angular-loading-button/contributors","subscribers_url":"https://api.github.com/repos/tiste/angular-loading-button/subscribers","subscription_url":"https://api.github.com/repos/tiste/angular-loading-button/subscription","commits_url":"https://api.github.com/repos/tiste/angular-loading-button/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiste/angular-loading-button/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiste/angular-loading-button/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiste/angular-loading-button/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiste/angular-loading-button/contents/{+path}","compare_url":"https://api.github.com/repos/tiste/angular-loading-button/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiste/angular-loading-button/merges","archive_url":"https://api.github.com/repos/tiste/angular-loading-button/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiste/angular-loading-button/downloads","issues_url":"https://api.github.com/repos/tiste/angular-loading-button/issues{/number}","pulls_url":"https://api.github.com/repos/tiste/angular-loading-button/pulls{/number}","milestones_url":"https://api.github.com/repos/tiste/angular-loading-button/milestones{/number}","notifications_url":"https://api.github.com/repos/tiste/angular-loading-button/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiste/angular-loading-button/labels{/name}","releases_url":"https://api.github.com/repos/tiste/angular-loading-button/releases{/id}","created_at":"2014-08-07T20:38:49Z","updated_at":"2015-11-03T10:50:49Z","pushed_at":"2014-09-22T14:34:26Z","git_url":"git://github.com/tiste/angular-loading-button.git","ssh_url":"git@github.com:tiste/angular-loading-button.git","clone_url":"https://github.com/tiste/angular-loading-button.git","svn_url":"https://github.com/tiste/angular-loading-button","homepage":"http://angular-loading-button.tiste.io","size":334,"stargazers_count":18,"watchers_count":18,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tiste/angular-loading-button/pulls/2"},"html":{"href":"https://github.com/tiste/angular-loading-button/pull/2"},"issue":{"href":"https://api.github.com/repos/tiste/angular-loading-button/issues/2"},"comments":{"href":"https://api.github.com/repos/tiste/angular-loading-button/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/tiste/angular-loading-button/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/tiste/angular-loading-button/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tiste/angular-loading-button/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/tiste/angular-loading-button/statuses/c6ddfff99cc01ff99f07ba9ae009bc77618074c4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":16,"deletions":4,"changed_files":4}}