{"action":"created","comment":{"url":"https://api.github.com/repos/Teleopti/styleguide/pulls/comments/39382783","id":39382783,"diff_hunk":"@@ -9,7 +9,14 @@\n   \"author\": \"Teleopti\",\n   \"license\": \"ISC\",\n   \"dependencies\": {\n-    \"bootstrap\": \"3.3.4\"\n+    \"angular\": \"~1.3.2\",\n+    \"angular-animate\": \"~1.3.2\",\n+    \"angular-aria\": \"~1.3.2\",\n+    \"angular-material\": \"~0.8.3\",\n+    \"angular-moment\": \"^0.10.3\",\n+    \"angular-route\": \"^1.3.2\",\n+    \"bootstrap\": \"3.3.4\",","path":"package.json","position":11,"original_position":11,"commit_id":"13fc46508b4c0c94ad6829c7cdf99824a89a1eba","original_commit_id":"13fc46508b4c0c94ad6829c7cdf99824a89a1eba","user":{"login":"blandine","id":1214949,"avatar_url":"https://avatars.githubusercontent.com/u/1214949?v=3","gravatar_id":"","url":"https://api.github.com/users/blandine","html_url":"https://github.com/blandine","followers_url":"https://api.github.com/users/blandine/followers","following_url":"https://api.github.com/users/blandine/following{/other_user}","gists_url":"https://api.github.com/users/blandine/gists{/gist_id}","starred_url":"https://api.github.com/users/blandine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blandine/subscriptions","organizations_url":"https://api.github.com/users/blandine/orgs","repos_url":"https://api.github.com/users/blandine/repos","events_url":"https://api.github.com/users/blandine/events{/privacy}","received_events_url":"https://api.github.com/users/blandine/received_events","type":"User","site_admin":false},"body":"3.2.0","created_at":"2015-09-14T11:17:00Z","updated_at":"2015-09-14T11:17:00Z","html_url":"https://github.com/Teleopti/styleguide/pull/15#discussion_r39382783","pull_request_url":"https://api.github.com/repos/Teleopti/styleguide/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/Teleopti/styleguide/pulls/comments/39382783"},"html":{"href":"https://github.com/Teleopti/styleguide/pull/15#discussion_r39382783"},"pull_request":{"href":"https://api.github.com/repos/Teleopti/styleguide/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Teleopti/styleguide/pulls/15","id":44394510,"html_url":"https://github.com/Teleopti/styleguide/pull/15","diff_url":"https://github.com/Teleopti/styleguide/pull/15.diff","patch_url":"https://github.com/Teleopti/styleguide/pull/15.patch","issue_url":"https://api.github.com/repos/Teleopti/styleguide/issues/15","number":15,"state":"open","locked":false,"title":"Replace date-range-picker with a self-contained directive.","user":{"login":"stephenwan","id":2305991,"avatar_url":"https://avatars.githubusercontent.com/u/2305991?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenwan","html_url":"https://github.com/stephenwan","followers_url":"https://api.github.com/users/stephenwan/followers","following_url":"https://api.github.com/users/stephenwan/following{/other_user}","gists_url":"https://api.github.com/users/stephenwan/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenwan/subscriptions","organizations_url":"https://api.github.com/users/stephenwan/orgs","repos_url":"https://api.github.com/users/stephenwan/repos","events_url":"https://api.github.com/users/stephenwan/events{/privacy}","received_events_url":"https://api.github.com/users/stephenwan/received_events","type":"User","site_admin":false},"body":"As requested by Niclas, we have wrapped the date-range-picker into a directive with simple interface. \r\n\r\nIt has a slight dependency on `angularMoment` for formatting the date string in the date-picker-header, but could be removed upon request.\r\n\r\nThis directive handles two types of validation by itself. \r\n1. ng-invalid-order   :  the start date is greater than the end date.\r\n2. ng-invalid-empty  :  the start date or the end date is not set.\r\n\r\nError messages with translation will be provided automatically, but can be muted upon user's need. In the later case, the user can watch the `errors` from the binding to provide customized error messages by himself.","created_at":"2015-09-08T05:39:48Z","updated_at":"2015-09-14T11:17:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"063e5a1a549ccd665043c819d9b072c4a9ec0327","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Teleopti/styleguide/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Teleopti/styleguide/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Teleopti/styleguide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Teleopti/styleguide/issues/15/comments","statuses_url":"https://api.github.com/repos/Teleopti/styleguide/statuses/13fc46508b4c0c94ad6829c7cdf99824a89a1eba","head":{"label":"stephenwan:date-range-picker","ref":"date-range-picker","sha":"13fc46508b4c0c94ad6829c7cdf99824a89a1eba","user":{"login":"stephenwan","id":2305991,"avatar_url":"https://avatars.githubusercontent.com/u/2305991?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenwan","html_url":"https://github.com/stephenwan","followers_url":"https://api.github.com/users/stephenwan/followers","following_url":"https://api.github.com/users/stephenwan/following{/other_user}","gists_url":"https://api.github.com/users/stephenwan/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenwan/subscriptions","organizations_url":"https://api.github.com/users/stephenwan/orgs","repos_url":"https://api.github.com/users/stephenwan/repos","events_url":"https://api.github.com/users/stephenwan/events{/privacy}","received_events_url":"https://api.github.com/users/stephenwan/received_events","type":"User","site_admin":false},"repo":{"id":42087651,"name":"styleguide","full_name":"stephenwan/styleguide","owner":{"login":"stephenwan","id":2305991,"avatar_url":"https://avatars.githubusercontent.com/u/2305991?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenwan","html_url":"https://github.com/stephenwan","followers_url":"https://api.github.com/users/stephenwan/followers","following_url":"https://api.github.com/users/stephenwan/following{/other_user}","gists_url":"https://api.github.com/users/stephenwan/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenwan/subscriptions","organizations_url":"https://api.github.com/users/stephenwan/orgs","repos_url":"https://api.github.com/users/stephenwan/repos","events_url":"https://api.github.com/users/stephenwan/events{/privacy}","received_events_url":"https://api.github.com/users/stephenwan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephenwan/styleguide","description":"Teleopti styleguide","fork":true,"url":"https://api.github.com/repos/stephenwan/styleguide","forks_url":"https://api.github.com/repos/stephenwan/styleguide/forks","keys_url":"https://api.github.com/repos/stephenwan/styleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephenwan/styleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephenwan/styleguide/teams","hooks_url":"https://api.github.com/repos/stephenwan/styleguide/hooks","issue_events_url":"https://api.github.com/repos/stephenwan/styleguide/issues/events{/number}","events_url":"https://api.github.com/repos/stephenwan/styleguide/events","assignees_url":"https://api.github.com/repos/stephenwan/styleguide/assignees{/user}","branches_url":"https://api.github.com/repos/stephenwan/styleguide/branches{/branch}","tags_url":"https://api.github.com/repos/stephenwan/styleguide/tags","blobs_url":"https://api.github.com/repos/stephenwan/styleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephenwan/styleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephenwan/styleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephenwan/styleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephenwan/styleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/stephenwan/styleguide/languages","stargazers_url":"https://api.github.com/repos/stephenwan/styleguide/stargazers","contributors_url":"https://api.github.com/repos/stephenwan/styleguide/contributors","subscribers_url":"https://api.github.com/repos/stephenwan/styleguide/subscribers","subscription_url":"https://api.github.com/repos/stephenwan/styleguide/subscription","commits_url":"https://api.github.com/repos/stephenwan/styleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephenwan/styleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephenwan/styleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephenwan/styleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephenwan/styleguide/contents/{+path}","compare_url":"https://api.github.com/repos/stephenwan/styleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephenwan/styleguide/merges","archive_url":"https://api.github.com/repos/stephenwan/styleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephenwan/styleguide/downloads","issues_url":"https://api.github.com/repos/stephenwan/styleguide/issues{/number}","pulls_url":"https://api.github.com/repos/stephenwan/styleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/stephenwan/styleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/stephenwan/styleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephenwan/styleguide/labels{/name}","releases_url":"https://api.github.com/repos/stephenwan/styleguide/releases{/id}","created_at":"2015-09-08T03:21:35Z","updated_at":"2015-09-08T03:21:35Z","pushed_at":"2015-09-10T01:41:39Z","git_url":"git://github.com/stephenwan/styleguide.git","ssh_url":"git@github.com:stephenwan/styleguide.git","clone_url":"https://github.com/stephenwan/styleguide.git","svn_url":"https://github.com/stephenwan/styleguide","homepage":null,"size":2220,"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":"Teleopti:master","ref":"master","sha":"06dc6ad56cadd20e614cddf1ccb1f28b7822b6e5","user":{"login":"Teleopti","id":2786210,"avatar_url":"https://avatars.githubusercontent.com/u/2786210?v=3","gravatar_id":"","url":"https://api.github.com/users/Teleopti","html_url":"https://github.com/Teleopti","followers_url":"https://api.github.com/users/Teleopti/followers","following_url":"https://api.github.com/users/Teleopti/following{/other_user}","gists_url":"https://api.github.com/users/Teleopti/gists{/gist_id}","starred_url":"https://api.github.com/users/Teleopti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teleopti/subscriptions","organizations_url":"https://api.github.com/users/Teleopti/orgs","repos_url":"https://api.github.com/users/Teleopti/repos","events_url":"https://api.github.com/users/Teleopti/events{/privacy}","received_events_url":"https://api.github.com/users/Teleopti/received_events","type":"Organization","site_admin":false},"repo":{"id":31259653,"name":"styleguide","full_name":"Teleopti/styleguide","owner":{"login":"Teleopti","id":2786210,"avatar_url":"https://avatars.githubusercontent.com/u/2786210?v=3","gravatar_id":"","url":"https://api.github.com/users/Teleopti","html_url":"https://github.com/Teleopti","followers_url":"https://api.github.com/users/Teleopti/followers","following_url":"https://api.github.com/users/Teleopti/following{/other_user}","gists_url":"https://api.github.com/users/Teleopti/gists{/gist_id}","starred_url":"https://api.github.com/users/Teleopti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teleopti/subscriptions","organizations_url":"https://api.github.com/users/Teleopti/orgs","repos_url":"https://api.github.com/users/Teleopti/repos","events_url":"https://api.github.com/users/Teleopti/events{/privacy}","received_events_url":"https://api.github.com/users/Teleopti/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Teleopti/styleguide","description":"Teleopti styleguide","fork":false,"url":"https://api.github.com/repos/Teleopti/styleguide","forks_url":"https://api.github.com/repos/Teleopti/styleguide/forks","keys_url":"https://api.github.com/repos/Teleopti/styleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Teleopti/styleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Teleopti/styleguide/teams","hooks_url":"https://api.github.com/repos/Teleopti/styleguide/hooks","issue_events_url":"https://api.github.com/repos/Teleopti/styleguide/issues/events{/number}","events_url":"https://api.github.com/repos/Teleopti/styleguide/events","assignees_url":"https://api.github.com/repos/Teleopti/styleguide/assignees{/user}","branches_url":"https://api.github.com/repos/Teleopti/styleguide/branches{/branch}","tags_url":"https://api.github.com/repos/Teleopti/styleguide/tags","blobs_url":"https://api.github.com/repos/Teleopti/styleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Teleopti/styleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Teleopti/styleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/Teleopti/styleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Teleopti/styleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/Teleopti/styleguide/languages","stargazers_url":"https://api.github.com/repos/Teleopti/styleguide/stargazers","contributors_url":"https://api.github.com/repos/Teleopti/styleguide/contributors","subscribers_url":"https://api.github.com/repos/Teleopti/styleguide/subscribers","subscription_url":"https://api.github.com/repos/Teleopti/styleguide/subscription","commits_url":"https://api.github.com/repos/Teleopti/styleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/Teleopti/styleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/Teleopti/styleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/Teleopti/styleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/Teleopti/styleguide/contents/{+path}","compare_url":"https://api.github.com/repos/Teleopti/styleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Teleopti/styleguide/merges","archive_url":"https://api.github.com/repos/Teleopti/styleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Teleopti/styleguide/downloads","issues_url":"https://api.github.com/repos/Teleopti/styleguide/issues{/number}","pulls_url":"https://api.github.com/repos/Teleopti/styleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/Teleopti/styleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/Teleopti/styleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Teleopti/styleguide/labels{/name}","releases_url":"https://api.github.com/repos/Teleopti/styleguide/releases{/id}","created_at":"2015-02-24T12:47:37Z","updated_at":"2015-05-05T12:20:51Z","pushed_at":"2015-09-11T03:15:51Z","git_url":"git://github.com/Teleopti/styleguide.git","ssh_url":"git@github.com:Teleopti/styleguide.git","clone_url":"https://github.com/Teleopti/styleguide.git","svn_url":"https://github.com/Teleopti/styleguide","homepage":null,"size":3017,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Teleopti/styleguide/pulls/15"},"html":{"href":"https://github.com/Teleopti/styleguide/pull/15"},"issue":{"href":"https://api.github.com/repos/Teleopti/styleguide/issues/15"},"comments":{"href":"https://api.github.com/repos/Teleopti/styleguide/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Teleopti/styleguide/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Teleopti/styleguide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Teleopti/styleguide/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Teleopti/styleguide/statuses/13fc46508b4c0c94ad6829c7cdf99824a89a1eba"}}}}