{"action":"created","comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments/37148924","id":37148924,"diff_hunk":"@@ -143,6 +143,9 @@ angular.module('ui.bootstrap.timepicker', [])\n   }\n \n   function pad(value) {\n+    if (value === null) {","path":"src/timepicker/timepicker.js","position":4,"original_position":4,"commit_id":"8cd457bd6cd314655c394a0efcd7d3d39fdd725c","original_commit_id":"8cd457bd6cd314655c394a0efcd7d3d39fdd725c","user":{"login":"wesleycho","id":1703387,"avatar_url":"https://avatars.githubusercontent.com/u/1703387?v=3","gravatar_id":"","url":"https://api.github.com/users/wesleycho","html_url":"https://github.com/wesleycho","followers_url":"https://api.github.com/users/wesleycho/followers","following_url":"https://api.github.com/users/wesleycho/following{/other_user}","gists_url":"https://api.github.com/users/wesleycho/gists{/gist_id}","starred_url":"https://api.github.com/users/wesleycho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesleycho/subscriptions","organizations_url":"https://api.github.com/users/wesleycho/orgs","repos_url":"https://api.github.com/users/wesleycho/repos","events_url":"https://api.github.com/users/wesleycho/events{/privacy}","received_events_url":"https://api.github.com/users/wesleycho/received_events","type":"User","site_admin":false},"body":"`if (!value) {` may be a better check here.","created_at":"2015-08-16T19:09:41Z","updated_at":"2015-08-16T19:09:41Z","html_url":"https://github.com/angular-ui/bootstrap/pull/4203#discussion_r37148924","pull_request_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203","_links":{"self":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments/37148924"},"html":{"href":"https://github.com/angular-ui/bootstrap/pull/4203#discussion_r37148924"},"pull_request":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203"}}},"pull_request":{"url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203","id":42391457,"html_url":"https://github.com/angular-ui/bootstrap/pull/4203","diff_url":"https://github.com/angular-ui/bootstrap/pull/4203.diff","patch_url":"https://github.com/angular-ui/bootstrap/pull/4203.patch","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4203","number":4203,"state":"open","locked":false,"title":"Added ability to handle empty model in timepicker","user":{"login":"fmccown","id":1423663,"avatar_url":"https://avatars.githubusercontent.com/u/1423663?v=3","gravatar_id":"","url":"https://api.github.com/users/fmccown","html_url":"https://github.com/fmccown","followers_url":"https://api.github.com/users/fmccown/followers","following_url":"https://api.github.com/users/fmccown/following{/other_user}","gists_url":"https://api.github.com/users/fmccown/gists{/gist_id}","starred_url":"https://api.github.com/users/fmccown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmccown/subscriptions","organizations_url":"https://api.github.com/users/fmccown/orgs","repos_url":"https://api.github.com/users/fmccown/repos","events_url":"https://api.github.com/users/fmccown/events{/privacy}","received_events_url":"https://api.github.com/users/fmccown/received_events","type":"User","site_admin":false},"body":"Model can be empty so user must type values into the hour and minute\r\ntext boxes. This closes #1114.","created_at":"2015-08-13T19:52:16Z","updated_at":"2015-08-16T19:09:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5439a025da11ad6519f012af8b6976ad7babf02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203/commits","review_comments_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203/comments","review_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/4203/comments","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/8cd457bd6cd314655c394a0efcd7d3d39fdd725c","head":{"label":"fmccown:master","ref":"master","sha":"8cd457bd6cd314655c394a0efcd7d3d39fdd725c","user":{"login":"fmccown","id":1423663,"avatar_url":"https://avatars.githubusercontent.com/u/1423663?v=3","gravatar_id":"","url":"https://api.github.com/users/fmccown","html_url":"https://github.com/fmccown","followers_url":"https://api.github.com/users/fmccown/followers","following_url":"https://api.github.com/users/fmccown/following{/other_user}","gists_url":"https://api.github.com/users/fmccown/gists{/gist_id}","starred_url":"https://api.github.com/users/fmccown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmccown/subscriptions","organizations_url":"https://api.github.com/users/fmccown/orgs","repos_url":"https://api.github.com/users/fmccown/repos","events_url":"https://api.github.com/users/fmccown/events{/privacy}","received_events_url":"https://api.github.com/users/fmccown/received_events","type":"User","site_admin":false},"repo":{"id":40668234,"name":"bootstrap","full_name":"fmccown/bootstrap","owner":{"login":"fmccown","id":1423663,"avatar_url":"https://avatars.githubusercontent.com/u/1423663?v=3","gravatar_id":"","url":"https://api.github.com/users/fmccown","html_url":"https://github.com/fmccown","followers_url":"https://api.github.com/users/fmccown/followers","following_url":"https://api.github.com/users/fmccown/following{/other_user}","gists_url":"https://api.github.com/users/fmccown/gists{/gist_id}","starred_url":"https://api.github.com/users/fmccown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmccown/subscriptions","organizations_url":"https://api.github.com/users/fmccown/orgs","repos_url":"https://api.github.com/users/fmccown/repos","events_url":"https://api.github.com/users/fmccown/events{/privacy}","received_events_url":"https://api.github.com/users/fmccown/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fmccown/bootstrap","description":"Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!","fork":true,"url":"https://api.github.com/repos/fmccown/bootstrap","forks_url":"https://api.github.com/repos/fmccown/bootstrap/forks","keys_url":"https://api.github.com/repos/fmccown/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmccown/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmccown/bootstrap/teams","hooks_url":"https://api.github.com/repos/fmccown/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/fmccown/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/fmccown/bootstrap/events","assignees_url":"https://api.github.com/repos/fmccown/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/fmccown/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/fmccown/bootstrap/tags","blobs_url":"https://api.github.com/repos/fmccown/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmccown/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmccown/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmccown/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmccown/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/fmccown/bootstrap/languages","stargazers_url":"https://api.github.com/repos/fmccown/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/fmccown/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/fmccown/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/fmccown/bootstrap/subscription","commits_url":"https://api.github.com/repos/fmccown/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmccown/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmccown/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmccown/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/fmccown/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/fmccown/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmccown/bootstrap/merges","archive_url":"https://api.github.com/repos/fmccown/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmccown/bootstrap/downloads","issues_url":"https://api.github.com/repos/fmccown/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/fmccown/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/fmccown/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/fmccown/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmccown/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/fmccown/bootstrap/releases{/id}","created_at":"2015-08-13T16:03:45Z","updated_at":"2015-08-13T16:03:46Z","pushed_at":"2015-08-13T19:46:51Z","git_url":"git://github.com/fmccown/bootstrap.git","ssh_url":"git@github.com:fmccown/bootstrap.git","clone_url":"https://github.com/fmccown/bootstrap.git","svn_url":"https://github.com/fmccown/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":5721,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"angular-ui:master","ref":"master","sha":"575eb8593ac79fd533dcc2c5bb0f7b0fbc2c726f","user":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":6094683,"name":"bootstrap","full_name":"angular-ui/bootstrap","owner":{"login":"angular-ui","id":1530011,"avatar_url":"https://avatars.githubusercontent.com/u/1530011?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-ui","html_url":"https://github.com/angular-ui","followers_url":"https://api.github.com/users/angular-ui/followers","following_url":"https://api.github.com/users/angular-ui/following{/other_user}","gists_url":"https://api.github.com/users/angular-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-ui/subscriptions","organizations_url":"https://api.github.com/users/angular-ui/orgs","repos_url":"https://api.github.com/users/angular-ui/repos","events_url":"https://api.github.com/users/angular-ui/events{/privacy}","received_events_url":"https://api.github.com/users/angular-ui/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular-ui/bootstrap","description":"Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!","fork":false,"url":"https://api.github.com/repos/angular-ui/bootstrap","forks_url":"https://api.github.com/repos/angular-ui/bootstrap/forks","keys_url":"https://api.github.com/repos/angular-ui/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular-ui/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular-ui/bootstrap/teams","hooks_url":"https://api.github.com/repos/angular-ui/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/angular-ui/bootstrap/events","assignees_url":"https://api.github.com/repos/angular-ui/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/angular-ui/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/angular-ui/bootstrap/tags","blobs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular-ui/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular-ui/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular-ui/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular-ui/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/angular-ui/bootstrap/languages","stargazers_url":"https://api.github.com/repos/angular-ui/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/angular-ui/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/angular-ui/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/angular-ui/bootstrap/subscription","commits_url":"https://api.github.com/repos/angular-ui/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular-ui/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular-ui/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/angular-ui/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular-ui/bootstrap/merges","archive_url":"https://api.github.com/repos/angular-ui/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular-ui/bootstrap/downloads","issues_url":"https://api.github.com/repos/angular-ui/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/angular-ui/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/angular-ui/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/angular-ui/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/angular-ui/bootstrap/releases{/id}","created_at":"2012-10-05T18:27:01Z","updated_at":"2015-08-16T19:00:38Z","pushed_at":"2015-08-16T19:08:16Z","git_url":"git://github.com/angular-ui/bootstrap.git","ssh_url":"git@github.com:angular-ui/bootstrap.git","clone_url":"https://github.com/angular-ui/bootstrap.git","svn_url":"https://github.com/angular-ui/bootstrap","homepage":"http://angular-ui.github.io/bootstrap/","size":22220,"stargazers_count":9832,"watchers_count":9832,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5135,"mirror_url":null,"open_issues_count":379,"forks":5135,"open_issues":379,"watchers":9832,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203"},"html":{"href":"https://github.com/angular-ui/bootstrap/pull/4203"},"issue":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/4203"},"comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/issues/4203/comments"},"review_comments":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203/comments"},"review_comment":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular-ui/bootstrap/pulls/4203/commits"},"statuses":{"href":"https://api.github.com/repos/angular-ui/bootstrap/statuses/8cd457bd6cd314655c394a0efcd7d3d39fdd725c"}}}}