{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/evangilo/datepicker/pulls/10","id":84174083,"html_url":"https://github.com/evangilo/datepicker/pull/10","diff_url":"https://github.com/evangilo/datepicker/pull/10.diff","patch_url":"https://github.com/evangilo/datepicker/pull/10.patch","issue_url":"https://api.github.com/repos/evangilo/datepicker/issues/10","number":10,"state":"open","locked":false,"title":"Improves","user":{"login":"leonascimento","id":3650251,"avatar_url":"https://avatars.githubusercontent.com/u/3650251?v=3","gravatar_id":"","url":"https://api.github.com/users/leonascimento","html_url":"https://github.com/leonascimento","followers_url":"https://api.github.com/users/leonascimento/followers","following_url":"https://api.github.com/users/leonascimento/following{/other_user}","gists_url":"https://api.github.com/users/leonascimento/gists{/gist_id}","starred_url":"https://api.github.com/users/leonascimento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonascimento/subscriptions","organizations_url":"https://api.github.com/users/leonascimento/orgs","repos_url":"https://api.github.com/users/leonascimento/repos","events_url":"https://api.github.com/users/leonascimento/events{/privacy}","received_events_url":"https://api.github.com/users/leonascimento/received_events","type":"User","site_admin":false},"body":"`index.js`\r\n\r\n* Replace var to const.\r\n* Using arrow function sintax\r\n\r\n-----------------\r\n\r\n`src/scripts/calendar`\r\n\r\n* Create const MAXIMUM_NUMBER_OF_DAYS\r\n* Create method render to separate of constructor\r\n* Replace for in loop to forEach\r\n* Using createDocumentFragment because not cause page reflow\r\n* Replace this loop `this.nodes.some` to `this.forEach` because this loop\r\nis better for this context. Some is used just we need to test if some elements\r\nin array passes the test implemented by the provided function.\r\n\r\n-----------------\r\n\r\n`src/scripts/datepicker.js`\r\n* Minimize the access on document object\r\n* Created local variables `let options` because it is accessed twice\r\n\r\n* Added inline style on element using cssText this is better to apply once\r\n\r\n* Created local variable `let options = this.options;`\r\n\r\n* Move class DatePickerRange to other file datepickerRange.js using camel case\r\nname. Is advisable that always exists just one class per file.\r\n\r\n------------------\r\n\r\n`src/scripts/index.js`\r\n\r\n* Import and define like puclk the module DatePickerRange.\r\n\r\n:bowtie: :sunglasses: :metal:","created_at":"2016-09-06T18:39:17Z","updated_at":"2016-09-06T18:39:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/evangilo/datepicker/pulls/10/commits","review_comments_url":"https://api.github.com/repos/evangilo/datepicker/pulls/10/comments","review_comment_url":"https://api.github.com/repos/evangilo/datepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evangilo/datepicker/issues/10/comments","statuses_url":"https://api.github.com/repos/evangilo/datepicker/statuses/4790a09b2f9086cfbaf0c64af0a7256bc1d149db","head":{"label":"leonascimento:master","ref":"master","sha":"4790a09b2f9086cfbaf0c64af0a7256bc1d149db","user":{"login":"leonascimento","id":3650251,"avatar_url":"https://avatars.githubusercontent.com/u/3650251?v=3","gravatar_id":"","url":"https://api.github.com/users/leonascimento","html_url":"https://github.com/leonascimento","followers_url":"https://api.github.com/users/leonascimento/followers","following_url":"https://api.github.com/users/leonascimento/following{/other_user}","gists_url":"https://api.github.com/users/leonascimento/gists{/gist_id}","starred_url":"https://api.github.com/users/leonascimento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonascimento/subscriptions","organizations_url":"https://api.github.com/users/leonascimento/orgs","repos_url":"https://api.github.com/users/leonascimento/repos","events_url":"https://api.github.com/users/leonascimento/events{/privacy}","received_events_url":"https://api.github.com/users/leonascimento/received_events","type":"User","site_admin":false},"repo":{"id":67450643,"name":"datepicker","full_name":"leonascimento/datepicker","owner":{"login":"leonascimento","id":3650251,"avatar_url":"https://avatars.githubusercontent.com/u/3650251?v=3","gravatar_id":"","url":"https://api.github.com/users/leonascimento","html_url":"https://github.com/leonascimento","followers_url":"https://api.github.com/users/leonascimento/followers","following_url":"https://api.github.com/users/leonascimento/following{/other_user}","gists_url":"https://api.github.com/users/leonascimento/gists{/gist_id}","starred_url":"https://api.github.com/users/leonascimento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonascimento/subscriptions","organizations_url":"https://api.github.com/users/leonascimento/orgs","repos_url":"https://api.github.com/users/leonascimento/repos","events_url":"https://api.github.com/users/leonascimento/events{/privacy}","received_events_url":"https://api.github.com/users/leonascimento/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leonascimento/datepicker","description":null,"fork":true,"url":"https://api.github.com/repos/leonascimento/datepicker","forks_url":"https://api.github.com/repos/leonascimento/datepicker/forks","keys_url":"https://api.github.com/repos/leonascimento/datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leonascimento/datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leonascimento/datepicker/teams","hooks_url":"https://api.github.com/repos/leonascimento/datepicker/hooks","issue_events_url":"https://api.github.com/repos/leonascimento/datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/leonascimento/datepicker/events","assignees_url":"https://api.github.com/repos/leonascimento/datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/leonascimento/datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/leonascimento/datepicker/tags","blobs_url":"https://api.github.com/repos/leonascimento/datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leonascimento/datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leonascimento/datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/leonascimento/datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leonascimento/datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/leonascimento/datepicker/languages","stargazers_url":"https://api.github.com/repos/leonascimento/datepicker/stargazers","contributors_url":"https://api.github.com/repos/leonascimento/datepicker/contributors","subscribers_url":"https://api.github.com/repos/leonascimento/datepicker/subscribers","subscription_url":"https://api.github.com/repos/leonascimento/datepicker/subscription","commits_url":"https://api.github.com/repos/leonascimento/datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/leonascimento/datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/leonascimento/datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/leonascimento/datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/leonascimento/datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/leonascimento/datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leonascimento/datepicker/merges","archive_url":"https://api.github.com/repos/leonascimento/datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leonascimento/datepicker/downloads","issues_url":"https://api.github.com/repos/leonascimento/datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/leonascimento/datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/leonascimento/datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/leonascimento/datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leonascimento/datepicker/labels{/name}","releases_url":"https://api.github.com/repos/leonascimento/datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/leonascimento/datepicker/deployments","created_at":"2016-09-05T21:00:23Z","updated_at":"2016-09-05T21:00:24Z","pushed_at":"2016-09-06T18:37:25Z","git_url":"git://github.com/leonascimento/datepicker.git","ssh_url":"git@github.com:leonascimento/datepicker.git","clone_url":"https://github.com/leonascimento/datepicker.git","svn_url":"https://github.com/leonascimento/datepicker","homepage":null,"size":53,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"evangilo:master","ref":"master","sha":"a9dca0f04e0765ee8bfe43da5bccb8e499d31809","user":{"login":"evangilo","id":3819494,"avatar_url":"https://avatars.githubusercontent.com/u/3819494?v=3","gravatar_id":"","url":"https://api.github.com/users/evangilo","html_url":"https://github.com/evangilo","followers_url":"https://api.github.com/users/evangilo/followers","following_url":"https://api.github.com/users/evangilo/following{/other_user}","gists_url":"https://api.github.com/users/evangilo/gists{/gist_id}","starred_url":"https://api.github.com/users/evangilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evangilo/subscriptions","organizations_url":"https://api.github.com/users/evangilo/orgs","repos_url":"https://api.github.com/users/evangilo/repos","events_url":"https://api.github.com/users/evangilo/events{/privacy}","received_events_url":"https://api.github.com/users/evangilo/received_events","type":"User","site_admin":false},"repo":{"id":67151723,"name":"datepicker","full_name":"evangilo/datepicker","owner":{"login":"evangilo","id":3819494,"avatar_url":"https://avatars.githubusercontent.com/u/3819494?v=3","gravatar_id":"","url":"https://api.github.com/users/evangilo","html_url":"https://github.com/evangilo","followers_url":"https://api.github.com/users/evangilo/followers","following_url":"https://api.github.com/users/evangilo/following{/other_user}","gists_url":"https://api.github.com/users/evangilo/gists{/gist_id}","starred_url":"https://api.github.com/users/evangilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evangilo/subscriptions","organizations_url":"https://api.github.com/users/evangilo/orgs","repos_url":"https://api.github.com/users/evangilo/repos","events_url":"https://api.github.com/users/evangilo/events{/privacy}","received_events_url":"https://api.github.com/users/evangilo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evangilo/datepicker","description":null,"fork":false,"url":"https://api.github.com/repos/evangilo/datepicker","forks_url":"https://api.github.com/repos/evangilo/datepicker/forks","keys_url":"https://api.github.com/repos/evangilo/datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evangilo/datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evangilo/datepicker/teams","hooks_url":"https://api.github.com/repos/evangilo/datepicker/hooks","issue_events_url":"https://api.github.com/repos/evangilo/datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/evangilo/datepicker/events","assignees_url":"https://api.github.com/repos/evangilo/datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/evangilo/datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/evangilo/datepicker/tags","blobs_url":"https://api.github.com/repos/evangilo/datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evangilo/datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evangilo/datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/evangilo/datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evangilo/datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/evangilo/datepicker/languages","stargazers_url":"https://api.github.com/repos/evangilo/datepicker/stargazers","contributors_url":"https://api.github.com/repos/evangilo/datepicker/contributors","subscribers_url":"https://api.github.com/repos/evangilo/datepicker/subscribers","subscription_url":"https://api.github.com/repos/evangilo/datepicker/subscription","commits_url":"https://api.github.com/repos/evangilo/datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/evangilo/datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/evangilo/datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/evangilo/datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/evangilo/datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/evangilo/datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evangilo/datepicker/merges","archive_url":"https://api.github.com/repos/evangilo/datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evangilo/datepicker/downloads","issues_url":"https://api.github.com/repos/evangilo/datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/evangilo/datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/evangilo/datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/evangilo/datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evangilo/datepicker/labels{/name}","releases_url":"https://api.github.com/repos/evangilo/datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/evangilo/datepicker/deployments","created_at":"2016-09-01T17:21:40Z","updated_at":"2016-09-05T22:42:54Z","pushed_at":"2016-09-06T18:39:17Z","git_url":"git://github.com/evangilo/datepicker.git","ssh_url":"git@github.com:evangilo/datepicker.git","clone_url":"https://github.com/evangilo/datepicker.git","svn_url":"https://github.com/evangilo/datepicker","homepage":null,"size":33,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evangilo/datepicker/pulls/10"},"html":{"href":"https://github.com/evangilo/datepicker/pull/10"},"issue":{"href":"https://api.github.com/repos/evangilo/datepicker/issues/10"},"comments":{"href":"https://api.github.com/repos/evangilo/datepicker/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/evangilo/datepicker/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/evangilo/datepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evangilo/datepicker/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/evangilo/datepicker/statuses/4790a09b2f9086cfbaf0c64af0a7256bc1d149db"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":210,"deletions":90,"changed_files":8}}
{"actor":{"display_login":"leonascimento"}}