{"action":"created","comment":{"url":"https://api.github.com/repos/angular/material/pulls/comments/57031179","id":57031179,"diff_hunk":"@@ -179,11 +202,23 @@\n     this.ngModelCtrl = null;\n \n     /** @type {HTMLInputElement} */\n-    this.inputElement = $element[0].querySelector('input');\n+    this.inputElement = $element[0].querySelector('input.begin');","path":"src/components/datepicker/datePicker.js","position":99,"original_position":99,"commit_id":"ef1e96f7e1f746382bf35dcb31a47ac15eca6f78","original_commit_id":"ef1e96f7e1f746382bf35dcb31a47ac15eca6f78","user":{"login":"jelbourn","id":838736,"avatar_url":"https://avatars.githubusercontent.com/u/838736?v=3","gravatar_id":"","url":"https://api.github.com/users/jelbourn","html_url":"https://github.com/jelbourn","followers_url":"https://api.github.com/users/jelbourn/followers","following_url":"https://api.github.com/users/jelbourn/following{/other_user}","gists_url":"https://api.github.com/users/jelbourn/gists{/gist_id}","starred_url":"https://api.github.com/users/jelbourn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelbourn/subscriptions","organizations_url":"https://api.github.com/users/jelbourn/orgs","repos_url":"https://api.github.com/users/jelbourn/repos","events_url":"https://api.github.com/users/jelbourn/events{/privacy}","received_events_url":"https://api.github.com/users/jelbourn/received_events","type":"User","site_admin":false},"body":"When you change the CSS class, this can just be `querySelector('.md-datepicker-start-date');`","created_at":"2016-03-22T17:30:46Z","updated_at":"2016-03-22T17:30:46Z","html_url":"https://github.com/angular/material/pull/7625#discussion_r57031179","pull_request_url":"https://api.github.com/repos/angular/material/pulls/7625","_links":{"self":{"href":"https://api.github.com/repos/angular/material/pulls/comments/57031179"},"html":{"href":"https://github.com/angular/material/pull/7625#discussion_r57031179"},"pull_request":{"href":"https://api.github.com/repos/angular/material/pulls/7625"}}},"pull_request":{"url":"https://api.github.com/repos/angular/material/pulls/7625","id":63296098,"html_url":"https://github.com/angular/material/pull/7625","diff_url":"https://github.com/angular/material/pull/7625.diff","patch_url":"https://github.com/angular/material/pull/7625.patch","issue_url":"https://api.github.com/repos/angular/material/issues/7625","number":7625,"state":"open","locked":false,"title":"feat(datepicker): add date-range attributes to md-datepicker directive","user":{"login":"hsueing3","id":462567,"avatar_url":"https://avatars.githubusercontent.com/u/462567?v=3","gravatar_id":"","url":"https://api.github.com/users/hsueing3","html_url":"https://github.com/hsueing3","followers_url":"https://api.github.com/users/hsueing3/followers","following_url":"https://api.github.com/users/hsueing3/following{/other_user}","gists_url":"https://api.github.com/users/hsueing3/gists{/gist_id}","starred_url":"https://api.github.com/users/hsueing3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsueing3/subscriptions","organizations_url":"https://api.github.com/users/hsueing3/orgs","repos_url":"https://api.github.com/users/hsueing3/repos","events_url":"https://api.github.com/users/hsueing3/events{/privacy}","received_events_url":"https://api.github.com/users/hsueing3/received_events","type":"User","site_admin":false},"body":"Initial refactoring work to add md-datepicker support for both the ngModel and md-begin-date/md-end-date use-case in preparation for date-range picker functionality.\r\n\r\n@jelbourn \r\n\r\nNote: This change will not result in begin/end date selection functionality via the md-calendar.","created_at":"2016-03-17T21:31:54Z","updated_at":"2016-03-22T17:30:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"daf09a62e40838f54bb6884fe82b8c412ac68683","assignee":{"login":"jelbourn","id":838736,"avatar_url":"https://avatars.githubusercontent.com/u/838736?v=3","gravatar_id":"","url":"https://api.github.com/users/jelbourn","html_url":"https://github.com/jelbourn","followers_url":"https://api.github.com/users/jelbourn/followers","following_url":"https://api.github.com/users/jelbourn/following{/other_user}","gists_url":"https://api.github.com/users/jelbourn/gists{/gist_id}","starred_url":"https://api.github.com/users/jelbourn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelbourn/subscriptions","organizations_url":"https://api.github.com/users/jelbourn/orgs","repos_url":"https://api.github.com/users/jelbourn/repos","events_url":"https://api.github.com/users/jelbourn/events{/privacy}","received_events_url":"https://api.github.com/users/jelbourn/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angular/material/pulls/7625/commits","review_comments_url":"https://api.github.com/repos/angular/material/pulls/7625/comments","review_comment_url":"https://api.github.com/repos/angular/material/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/material/issues/7625/comments","statuses_url":"https://api.github.com/repos/angular/material/statuses/ef1e96f7e1f746382bf35dcb31a47ac15eca6f78","head":{"label":"hsueing3:master","ref":"master","sha":"ef1e96f7e1f746382bf35dcb31a47ac15eca6f78","user":{"login":"hsueing3","id":462567,"avatar_url":"https://avatars.githubusercontent.com/u/462567?v=3","gravatar_id":"","url":"https://api.github.com/users/hsueing3","html_url":"https://github.com/hsueing3","followers_url":"https://api.github.com/users/hsueing3/followers","following_url":"https://api.github.com/users/hsueing3/following{/other_user}","gists_url":"https://api.github.com/users/hsueing3/gists{/gist_id}","starred_url":"https://api.github.com/users/hsueing3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsueing3/subscriptions","organizations_url":"https://api.github.com/users/hsueing3/orgs","repos_url":"https://api.github.com/users/hsueing3/repos","events_url":"https://api.github.com/users/hsueing3/events{/privacy}","received_events_url":"https://api.github.com/users/hsueing3/received_events","type":"User","site_admin":false},"repo":{"id":54148163,"name":"material","full_name":"hsueing3/material","owner":{"login":"hsueing3","id":462567,"avatar_url":"https://avatars.githubusercontent.com/u/462567?v=3","gravatar_id":"","url":"https://api.github.com/users/hsueing3","html_url":"https://github.com/hsueing3","followers_url":"https://api.github.com/users/hsueing3/followers","following_url":"https://api.github.com/users/hsueing3/following{/other_user}","gists_url":"https://api.github.com/users/hsueing3/gists{/gist_id}","starred_url":"https://api.github.com/users/hsueing3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsueing3/subscriptions","organizations_url":"https://api.github.com/users/hsueing3/orgs","repos_url":"https://api.github.com/users/hsueing3/repos","events_url":"https://api.github.com/users/hsueing3/events{/privacy}","received_events_url":"https://api.github.com/users/hsueing3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hsueing3/material","description":"Material design for Angular","fork":true,"url":"https://api.github.com/repos/hsueing3/material","forks_url":"https://api.github.com/repos/hsueing3/material/forks","keys_url":"https://api.github.com/repos/hsueing3/material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hsueing3/material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hsueing3/material/teams","hooks_url":"https://api.github.com/repos/hsueing3/material/hooks","issue_events_url":"https://api.github.com/repos/hsueing3/material/issues/events{/number}","events_url":"https://api.github.com/repos/hsueing3/material/events","assignees_url":"https://api.github.com/repos/hsueing3/material/assignees{/user}","branches_url":"https://api.github.com/repos/hsueing3/material/branches{/branch}","tags_url":"https://api.github.com/repos/hsueing3/material/tags","blobs_url":"https://api.github.com/repos/hsueing3/material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hsueing3/material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hsueing3/material/git/refs{/sha}","trees_url":"https://api.github.com/repos/hsueing3/material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hsueing3/material/statuses/{sha}","languages_url":"https://api.github.com/repos/hsueing3/material/languages","stargazers_url":"https://api.github.com/repos/hsueing3/material/stargazers","contributors_url":"https://api.github.com/repos/hsueing3/material/contributors","subscribers_url":"https://api.github.com/repos/hsueing3/material/subscribers","subscription_url":"https://api.github.com/repos/hsueing3/material/subscription","commits_url":"https://api.github.com/repos/hsueing3/material/commits{/sha}","git_commits_url":"https://api.github.com/repos/hsueing3/material/git/commits{/sha}","comments_url":"https://api.github.com/repos/hsueing3/material/comments{/number}","issue_comment_url":"https://api.github.com/repos/hsueing3/material/issues/comments{/number}","contents_url":"https://api.github.com/repos/hsueing3/material/contents/{+path}","compare_url":"https://api.github.com/repos/hsueing3/material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hsueing3/material/merges","archive_url":"https://api.github.com/repos/hsueing3/material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hsueing3/material/downloads","issues_url":"https://api.github.com/repos/hsueing3/material/issues{/number}","pulls_url":"https://api.github.com/repos/hsueing3/material/pulls{/number}","milestones_url":"https://api.github.com/repos/hsueing3/material/milestones{/number}","notifications_url":"https://api.github.com/repos/hsueing3/material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hsueing3/material/labels{/name}","releases_url":"https://api.github.com/repos/hsueing3/material/releases{/id}","deployments_url":"https://api.github.com/repos/hsueing3/material/deployments","created_at":"2016-03-17T20:10:05Z","updated_at":"2016-03-17T20:10:09Z","pushed_at":"2016-03-17T21:14:58Z","git_url":"git://github.com/hsueing3/material.git","ssh_url":"git@github.com:hsueing3/material.git","clone_url":"https://github.com/hsueing3/material.git","svn_url":"https://github.com/hsueing3/material","homepage":"https://material.angularjs.org/","size":41601,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:wip/datepicker-range","ref":"wip/datepicker-range","sha":"bebd07c505fd78e01335916d603f0afebc82e61d","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":21399598,"name":"material","full_name":"angular/material","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/material","description":"Material design for Angular","fork":false,"url":"https://api.github.com/repos/angular/material","forks_url":"https://api.github.com/repos/angular/material/forks","keys_url":"https://api.github.com/repos/angular/material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/material/teams","hooks_url":"https://api.github.com/repos/angular/material/hooks","issue_events_url":"https://api.github.com/repos/angular/material/issues/events{/number}","events_url":"https://api.github.com/repos/angular/material/events","assignees_url":"https://api.github.com/repos/angular/material/assignees{/user}","branches_url":"https://api.github.com/repos/angular/material/branches{/branch}","tags_url":"https://api.github.com/repos/angular/material/tags","blobs_url":"https://api.github.com/repos/angular/material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/material/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/material/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/material/languages","stargazers_url":"https://api.github.com/repos/angular/material/stargazers","contributors_url":"https://api.github.com/repos/angular/material/contributors","subscribers_url":"https://api.github.com/repos/angular/material/subscribers","subscription_url":"https://api.github.com/repos/angular/material/subscription","commits_url":"https://api.github.com/repos/angular/material/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/material/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/material/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/material/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/material/contents/{+path}","compare_url":"https://api.github.com/repos/angular/material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/material/merges","archive_url":"https://api.github.com/repos/angular/material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/material/downloads","issues_url":"https://api.github.com/repos/angular/material/issues{/number}","pulls_url":"https://api.github.com/repos/angular/material/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/material/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/material/labels{/name}","releases_url":"https://api.github.com/repos/angular/material/releases{/id}","deployments_url":"https://api.github.com/repos/angular/material/deployments","created_at":"2014-07-01T19:20:06Z","updated_at":"2016-03-22T17:28:26Z","pushed_at":"2016-03-22T15:22:25Z","git_url":"git://github.com/angular/material.git","ssh_url":"git@github.com:angular/material.git","clone_url":"https://github.com/angular/material.git","svn_url":"https://github.com/angular/material","homepage":"https://material.angularjs.org/","size":78500,"stargazers_count":12977,"watchers_count":12977,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2558,"mirror_url":null,"open_issues_count":1674,"forks":2558,"open_issues":1674,"watchers":12977,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/material/pulls/7625"},"html":{"href":"https://github.com/angular/material/pull/7625"},"issue":{"href":"https://api.github.com/repos/angular/material/issues/7625"},"comments":{"href":"https://api.github.com/repos/angular/material/issues/7625/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/material/pulls/7625/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/material/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/material/pulls/7625/commits"},"statuses":{"href":"https://api.github.com/repos/angular/material/statuses/ef1e96f7e1f746382bf35dcb31a47ac15eca6f78"}}}}