{"action":"opened","number":3351,"pull_request":{"url":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/3351","id":85787235,"html_url":"https://github.com/fullcalendar/fullcalendar/pull/3351","diff_url":"https://github.com/fullcalendar/fullcalendar/pull/3351.diff","patch_url":"https://github.com/fullcalendar/fullcalendar/pull/3351.patch","issue_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3351","number":3351,"state":"open","locked":false,"title":"Add batchRenderEvent","user":{"login":"MartijnWelker","id":6674662,"avatar_url":"https://avatars.githubusercontent.com/u/6674662?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnWelker","html_url":"https://github.com/MartijnWelker","followers_url":"https://api.github.com/users/MartijnWelker/followers","following_url":"https://api.github.com/users/MartijnWelker/following{/other_user}","gists_url":"https://api.github.com/users/MartijnWelker/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnWelker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnWelker/subscriptions","organizations_url":"https://api.github.com/users/MartijnWelker/orgs","repos_url":"https://api.github.com/users/MartijnWelker/repos","events_url":"https://api.github.com/users/MartijnWelker/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnWelker/received_events","type":"User","site_admin":false},"body":"`batchRenderEvent` will be a substitute for `renderEvent` when you have more then one event to render.\r\n\r\nInput: `arrayOfEvents, stick`\r\nOutput: `arrayOfRenderedEvents`\r\n\r\n`renderEvent` will call `reportEvents` every call, so calling it in a loop is very expensive. I have created `batchRenderEvent` to overcome this.\r\n\r\nSpeed comparison: http://jsbin.com/gugowemivu/edit?js,console,output\r\n\r\nI didn't make an automated test because `renderEvent` also doesn't have one.","created_at":"2016-09-19T12:51:24Z","updated_at":"2016-09-19T12:51:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/3351/commits","review_comments_url":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/3351/comments","review_comment_url":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3351/comments","statuses_url":"https://api.github.com/repos/fullcalendar/fullcalendar/statuses/f845f197cc021ffce016399b49b563085c3440f3","head":{"label":"MartijnWelker:master","ref":"master","sha":"f845f197cc021ffce016399b49b563085c3440f3","user":{"login":"MartijnWelker","id":6674662,"avatar_url":"https://avatars.githubusercontent.com/u/6674662?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnWelker","html_url":"https://github.com/MartijnWelker","followers_url":"https://api.github.com/users/MartijnWelker/followers","following_url":"https://api.github.com/users/MartijnWelker/following{/other_user}","gists_url":"https://api.github.com/users/MartijnWelker/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnWelker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnWelker/subscriptions","organizations_url":"https://api.github.com/users/MartijnWelker/orgs","repos_url":"https://api.github.com/users/MartijnWelker/repos","events_url":"https://api.github.com/users/MartijnWelker/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnWelker/received_events","type":"User","site_admin":false},"repo":{"id":68603440,"name":"fullcalendar","full_name":"MartijnWelker/fullcalendar","owner":{"login":"MartijnWelker","id":6674662,"avatar_url":"https://avatars.githubusercontent.com/u/6674662?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnWelker","html_url":"https://github.com/MartijnWelker","followers_url":"https://api.github.com/users/MartijnWelker/followers","following_url":"https://api.github.com/users/MartijnWelker/following{/other_user}","gists_url":"https://api.github.com/users/MartijnWelker/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnWelker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnWelker/subscriptions","organizations_url":"https://api.github.com/users/MartijnWelker/orgs","repos_url":"https://api.github.com/users/MartijnWelker/repos","events_url":"https://api.github.com/users/MartijnWelker/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnWelker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MartijnWelker/fullcalendar","description":"Full-sized drag & drop event calendar (jQuery plugin)","fork":true,"url":"https://api.github.com/repos/MartijnWelker/fullcalendar","forks_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/forks","keys_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/teams","hooks_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/hooks","issue_events_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/issues/events{/number}","events_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/events","assignees_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/assignees{/user}","branches_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/branches{/branch}","tags_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/tags","blobs_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/statuses/{sha}","languages_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/languages","stargazers_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/stargazers","contributors_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/contributors","subscribers_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/subscribers","subscription_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/subscription","commits_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/contents/{+path}","compare_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/merges","archive_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/downloads","issues_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/issues{/number}","pulls_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/pulls{/number}","milestones_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/milestones{/number}","notifications_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/labels{/name}","releases_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/releases{/id}","deployments_url":"https://api.github.com/repos/MartijnWelker/fullcalendar/deployments","created_at":"2016-09-19T12:26:27Z","updated_at":"2016-09-19T12:26:30Z","pushed_at":"2016-09-19T12:29:30Z","git_url":"git://github.com/MartijnWelker/fullcalendar.git","ssh_url":"git@github.com:MartijnWelker/fullcalendar.git","clone_url":"https://github.com/MartijnWelker/fullcalendar.git","svn_url":"https://github.com/MartijnWelker/fullcalendar","homepage":"http://fullcalendar.io","size":20910,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"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":"fullcalendar:master","ref":"master","sha":"bd33776890c93e7aca75a3272881e26f576a5c27","user":{"login":"fullcalendar","id":13825204,"avatar_url":"https://avatars.githubusercontent.com/u/13825204?v=3","gravatar_id":"","url":"https://api.github.com/users/fullcalendar","html_url":"https://github.com/fullcalendar","followers_url":"https://api.github.com/users/fullcalendar/followers","following_url":"https://api.github.com/users/fullcalendar/following{/other_user}","gists_url":"https://api.github.com/users/fullcalendar/gists{/gist_id}","starred_url":"https://api.github.com/users/fullcalendar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullcalendar/subscriptions","organizations_url":"https://api.github.com/users/fullcalendar/orgs","repos_url":"https://api.github.com/users/fullcalendar/repos","events_url":"https://api.github.com/users/fullcalendar/events{/privacy}","received_events_url":"https://api.github.com/users/fullcalendar/received_events","type":"Organization","site_admin":false},"repo":{"id":381979,"name":"fullcalendar","full_name":"fullcalendar/fullcalendar","owner":{"login":"fullcalendar","id":13825204,"avatar_url":"https://avatars.githubusercontent.com/u/13825204?v=3","gravatar_id":"","url":"https://api.github.com/users/fullcalendar","html_url":"https://github.com/fullcalendar","followers_url":"https://api.github.com/users/fullcalendar/followers","following_url":"https://api.github.com/users/fullcalendar/following{/other_user}","gists_url":"https://api.github.com/users/fullcalendar/gists{/gist_id}","starred_url":"https://api.github.com/users/fullcalendar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullcalendar/subscriptions","organizations_url":"https://api.github.com/users/fullcalendar/orgs","repos_url":"https://api.github.com/users/fullcalendar/repos","events_url":"https://api.github.com/users/fullcalendar/events{/privacy}","received_events_url":"https://api.github.com/users/fullcalendar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fullcalendar/fullcalendar","description":"Full-sized drag & drop event calendar (jQuery plugin)","fork":false,"url":"https://api.github.com/repos/fullcalendar/fullcalendar","forks_url":"https://api.github.com/repos/fullcalendar/fullcalendar/forks","keys_url":"https://api.github.com/repos/fullcalendar/fullcalendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fullcalendar/fullcalendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fullcalendar/fullcalendar/teams","hooks_url":"https://api.github.com/repos/fullcalendar/fullcalendar/hooks","issue_events_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/events{/number}","events_url":"https://api.github.com/repos/fullcalendar/fullcalendar/events","assignees_url":"https://api.github.com/repos/fullcalendar/fullcalendar/assignees{/user}","branches_url":"https://api.github.com/repos/fullcalendar/fullcalendar/branches{/branch}","tags_url":"https://api.github.com/repos/fullcalendar/fullcalendar/tags","blobs_url":"https://api.github.com/repos/fullcalendar/fullcalendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fullcalendar/fullcalendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fullcalendar/fullcalendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/fullcalendar/fullcalendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fullcalendar/fullcalendar/statuses/{sha}","languages_url":"https://api.github.com/repos/fullcalendar/fullcalendar/languages","stargazers_url":"https://api.github.com/repos/fullcalendar/fullcalendar/stargazers","contributors_url":"https://api.github.com/repos/fullcalendar/fullcalendar/contributors","subscribers_url":"https://api.github.com/repos/fullcalendar/fullcalendar/subscribers","subscription_url":"https://api.github.com/repos/fullcalendar/fullcalendar/subscription","commits_url":"https://api.github.com/repos/fullcalendar/fullcalendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/fullcalendar/fullcalendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/fullcalendar/fullcalendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/fullcalendar/fullcalendar/contents/{+path}","compare_url":"https://api.github.com/repos/fullcalendar/fullcalendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fullcalendar/fullcalendar/merges","archive_url":"https://api.github.com/repos/fullcalendar/fullcalendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fullcalendar/fullcalendar/downloads","issues_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues{/number}","pulls_url":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls{/number}","milestones_url":"https://api.github.com/repos/fullcalendar/fullcalendar/milestones{/number}","notifications_url":"https://api.github.com/repos/fullcalendar/fullcalendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fullcalendar/fullcalendar/labels{/name}","releases_url":"https://api.github.com/repos/fullcalendar/fullcalendar/releases{/id}","deployments_url":"https://api.github.com/repos/fullcalendar/fullcalendar/deployments","created_at":"2009-11-22T23:16:51Z","updated_at":"2016-09-18T01:07:38Z","pushed_at":"2016-09-19T12:51:25Z","git_url":"git://github.com/fullcalendar/fullcalendar.git","ssh_url":"git@github.com:fullcalendar/fullcalendar.git","clone_url":"https://github.com/fullcalendar/fullcalendar.git","svn_url":"https://github.com/fullcalendar/fullcalendar","homepage":"http://fullcalendar.io","size":20910,"stargazers_count":5940,"watchers_count":5940,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1968,"mirror_url":null,"open_issues_count":275,"forks":1968,"open_issues":275,"watchers":5940,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/3351"},"html":{"href":"https://github.com/fullcalendar/fullcalendar/pull/3351"},"issue":{"href":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3351"},"comments":{"href":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/3351/comments"},"review_comments":{"href":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/3351/comments"},"review_comment":{"href":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fullcalendar/fullcalendar/pulls/3351/commits"},"statuses":{"href":"https://api.github.com/repos/fullcalendar/fullcalendar/statuses/f845f197cc021ffce016399b49b563085c3440f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":61,"deletions":25,"changed_files":1}}
{"actor":{"display_login":"MartijnWelker"}}